|
|
|
|
Batch
Quantity of a certain material, representing a homogeneous unit that cannot be reproduced, and that has unique specifications.
Structure
The batch object contains the following key fields:
Material
Batch
Plant
The plant key field is only relevant if plant level is chosen as the batch level.
Integration
Batches can be used in all processes throughout the supply chain. Batches are
always assigned to a material
can only be created for materials that are to be handled in batches
|
|
|
|
11-Dec-2005
|
|
|
|
|
Available Methods
- Change : Change Batch [ BAPI_BATCH_CHANGE ]
- Create : Create batch [ BAPI_BATCH_CREATE ]
- GetDetail : Batch detailed information [ BAPI_BATCH_GET_DETAIL ]
- GetLevel : Determine batch level [ BAPI_BATCH_GET_LEVEL ]
- Replicate : Distribute batch [ BAPI_BATCH_REPLICATE ]
- SaveReplica : Replicate batch [ BAPI_BATCH_SAVE_REPLICA ]
|
|
|
|
11-Dec-2005
|
|
|
|
|
Change
You use this method to Change a batch master recordCreate and/or change classification of a batch in the background (object characteristics only)You use this method, for example, when distributing batches. The INPUT information contains
the batch key; parameters Material, Batch and Plantthe batch attributes; parameter BatchAttributescontrol parameters; parameter BatchControlFieldsNotes
The following authorization objects with activity 01 (create) are checked:
M_MATE_CHG Material master: Batches/PackagingM_MATE_WRK Material master: PlantBatch Level If the batch level (BatchControlFields) is on plant level, you must specify a plant in the Plant
parameter. Classification If the batch is to be classified, you must specify a class in the BatchControlFields parameter. Only single classification is possible. Confirmations Messages are returned in the parameter Return.
If the table contains messages of types E or A, an error has occurred. Further InformationYou will find further information in the R/3 library under Batch Management.
|
|
|
|
11-Dec-2005
|
|
|
|
|
Create
You use this method to Create a batch master recordCreate the classification of a batch in the background (object characteristics only)You use this method, for example, when distributing batches. The INPUT information contains
the batch key; parameters Material, Batch and Plantthe batch attributes; parameter BatchAttributescontrol parameters; parameter BatchControlFieldsthe storage location; parameter BatchStorageLocation
NotesThe following authorization objects with activity 01 (create) are checked:
M_MATE_CHG Material master: Batches/PackingM_MATE_WRK Material master: PlantBatch Level If the batch level (BatchControlFields) is on plant level, you must specify a plant in the Plant
parameter. Classification If the batch is to be classified, you must specify a class in the BatchControlFields parameter. Only single classification is possible. Confirmations Messages are returned in the parameter Return.
If the table contains messages of types E or A, an error has occurred. Further InformationYou will find further information in the R/3 library under Batch Management.
|
|
|
|
11-Dec-2005
|
|
|
|
|
GetDetail
This method transfers the detailled information for the batch from the batch master record. You use these methods, for example, when distributing batches. The INPUT information contains the batch key with the parameters Material, Batch and Plant
. NotesThe following authorization objects with the activity 01 (Create) are checked:
M_MATE_CHG Material master: Batches/PackingM_MATE_WRK Material master: PlantConfirmations
Messages are returned in the parameter Return. If the table contains messages of types E or A, an error has occurred. Further InformationYou will find further information in the R/3 library under Batch Management.
|
|
|
|
11-Dec-2005
|
|
|
|
|
GetLevel
This method transfers the batch level as set up in Customizing. You use this method when distributing batches, for example, to ensure a uniform batch level in the distributed systems. Further InformationFor further information, see the Batch Management section in the R/3 library.
|
|
|
|
11-Dec-2005
|
|
|
|
|
Replicate
This method transfers the detailed information for the batch from the batch master record. You use this method, for example: To distribute batches and batch specificationsIn connection with a decentralized warehouseWhen creating a batch in process confirmation
The INPUT information contains the batch key with the parameters Material, Batch and Plant. NotesThe method calls the function module VB_BATCH_GET_DETAIL. Confirmations Messages are returned in the parameter return. The parameter
documentation shows the return codes and their meanings. Further InformationYou will find further information in the R/3 library under Batch Management.
|
|
|
|
11-Dec-2005
|
|
|
|
|
SaveReplica
You use this method to replicate a batch in the target system. For example, you use this method To distribute batchesIn connection with a decentralized warehouseThe INPUT information contains The batch key; parameters Material, Batch and Plant
The batch attributes; parameter BatchAttributesThe control parameter; parameter BatchControlFieldsThe storage location; parameter BatchStorageLocationThe batch status; parameter BatchStatus
NotesThe following authorization objects with activity 01 (Create) are checked:
M_MATE_CHG Material master: Batches/PackageM_MATE_WRK Material master: PlantConfirmations Messages are returned in the parameter Return.
If the table contains messages of types E or A, an error has occurred. Further InformationYou will find further information in the R/3 library under Batch Management.
|
|
|
|
11-Dec-2005
|
|
|
|
|