Ansicht
Dokumentation

BAPI_BMUOM_SAVEREPLICAMULTIPLE - Replicate batch-specific material quantity units

BAPI_BMUOM_SAVEREPLICAMULTIPLE - Replicate batch-specific material quantity units

ABAP Short Reference   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You use this method to replicate batch-specific material units of measure to the target system.

The method includes the following functions:

  • Batch-specific units of measure for a material
  • Change

  • Create

  • Delete

  • Change alternative units of measure to batch-specific units of measure
  • Change batch-specific units of measure to alternative units of measure

Only the attributes relevant for batch-specific units of measure are replicated with this method. You can find these attributes in the documentation on the table parameter Batch-Specific Units of Measure.
All other attributes of an alternative unit of measure, such as weight and volume information, must be supplied using material master functions.

The prerequisites for replicating batch-specific material units of measure are:

  • The material already exists in the target system
  • The class contains at least one characteristic to which a batch-specific material unit of measure can be assigned. The characteristic must meet certain format requirements and have the organizational area 'Batch-specific material units of measure'.

Before you execute this method, you must replicate the material master data and the material classification with the class type 'Batch'.

Example

Notes

Dependencies between parameters and functions

For the functions Change batch-specific units of measure, Create batch-specific units of measure and Change alternative units of measure to batch-specific units of measure, it is sufficient to maintain the import table Batch-Specific Units of Measure. The function that is executed for the unit of measure to be maintained depends on whether the unit of measure for the material:

  • Already exists as a batch-specific unit of measure
  • Does not exist yet
  • Is only defined as an alternative unit of measure until now

The functions Delete batch-specific units of measure and Change batch-specific units of measure to alternative units of measure are supported in two different ways. With these functions, you must note the dependencies between the following import parameters:

  • Complete replication (Complete Replication)
  • Batch-specific units of measure (Batch Specific UoMs)
  • Special functions (Special Functions)
  • Alternative units of measure (Alternative UoMs)

For more information, refer to the documentation on the import parameter Complete Replication.

Change-relevant attributes

You should note that you must select change-relevant attributes for all import parameters in the relevant update information.

Authorizations

To execute this method, you require the following authorizations:

Object description Object

Fields Description   Values

Material master: central data M_MATE_MAN

ACTVT Activity   02

Material master: material M_MATE_MAT

ACTVT Activity   02
BEGRU Authorization group   for material

Material master: material group M_MATE_WGR

ACTVT Activity   02
BEGRU Authorization group   for material group

Class types authorization C_TCLA_BKA

KLART Class type   022, 023

Classification authorization C_KLAH_BKL

ACTVT Activity   01
BGRKL Authorization group   for classification

Maintenance authorization for organizational area characteristics
  C_TCLS_MNT

ACTVT Activity   023
KLART Class types   022, 023
SICHT Organizational view indicator   S

Buffering

This method works with buffering. You cannot execute any other changing methods on the material processed in this method in the same Logical Unit of Work (LUW) That means that a database commit to update the data is necessary beforehand. For more information, see the transaction model for BAPI development in the BAPI Programming Guidelines in the SAP Library.

Dependencies on other methods

This method is called by the method Replicate. If you want to replicate batch-specific material units of measure from an SAP ERP system, you should use the method Replicate to trigger the replication. For more information on this method, refer to the method documentation.

Messages

Messages are returned in the Return parameter. The parameter documentation shows the return codes and their meanings.

Further information

For more information, see the SAP Library under:

  • CA - Cross Application Components: BAPI
  • BAPI User Guide

  • BAPI Programming Guidelines

  • LO - Logistics: Logistics - General: Batch Management




Parameters

ALTERNATIVEUOM
ALTERNATIVEUOMX
BATCHSPECIFICUOM
BATCHSPECIFICUOMX
COMPLETEREPLICATION
MATERIALDATA
MATERIALDATAX
MATERIALNUMBER
MATERIALNUMBER_EVG
MATERIALNUMBER_LONG
RETURN
SENDER
SPECIALFUNCTIONS
SPECIALFUNCTIONSX

Exceptions

Function Group

VBWU

General Data in Customer Master   General Material Data  
This documentation is copyright by SAP AG.

Length: 11277 Date: 20240523 Time: 094112     sap01-206 ( 94 ms )