Documentation View

We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!

/AFS/BAPI_BATCH_SAVE_REPLICA - Replicate batch

/AFS/BAPI_BATCH_SAVE_REPLICA - Replicate batch

General Material Data   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This method is for replicating a batch in the target system.

You can use this method, for example

  • To distribute batches
  • With a decentralized warehouse

The INPUT information contains

  • The batch key; parameters Material, Batch and Plant
  • The batch attributes; parameter BatchAttributes
  • Control parameters; parameter BatchControlFields
  • The storage location; parameter BatchStorageLocation
  • The batch status; parameter BatchStatus

Example

Notes

The following authorization objects are checked with activity 01 (create):

  • M_MATE_CHG,,Material master: batches/containers
  • M_MATE_WRK,,Material master: Plant

Confirmations

Further information

For further information, see the SAP Library under Batch Management.





Parameters

/AFS/COLLECTION
/AFS/SEASON
/AFS/SIZE
/AFS/STOCKCATEGORY
/AFS/THEME
BATCH
BATCHATTRIBUTES
BATCHATTRIBUTESX
BATCHCONTROLFIELDS
BATCHSTATUS
BATCHSTATUSX
BATCHSTORAGELOCATION
EXTENSION1
INTERNALNUMBERCOM
MATERIAL
PLANT
RETURN

Exceptions

Function Group

/SAPLDWMS_BAPIS

rdisp/max_wprun_time - Maximum work process run time   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 2871 Date: 20211201 Time: 192729     sap01-206 ( 25 ms )