Fonction SAP BAPI_BATCH_REPLICATE - Distribute Batch

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
BATCH BAPIBATCHKEY-BATCH C 10 Batch Number
MATERIAL BAPIBATCHKEY-MATERIAL C 18 Material Number
MATERIAL_EVG BAPIMGVMATNR u 82 X Long Material Number
ORG_SYS_OF_BATCH BAPIBATCHCTRL-ORG_SYS_OF_BATCH C 10 X Batch Distribution: Original System
PLANT BAPIBATCHKEY-PLANT C 4 X Plant

Paramètre Reférence Long. Facultatif Description
RECIPIENTS BAPI_RECEIVER 10 X Recipient
RETURN BAPIRET2 548 X Confirmations

Functionality
This method transfers the detailed information for the batch from thebatch master record.
You use this method, for example:

  • To distribute batches and batch specifications

  • In connection with a decentralized warehouse

  • When creating a batch in process confirmation

  • The INPUT information contains the batch key with the parametersMaterial, Batch and Plant.

    Example

    Notes
    The method calls the function module VB_BATCH_GET_DETAIL.
    Confirmations
    INCLUDE BAPI_RET

    Further information
    You will find further information in the SAP Library under BatchManagement.

    Description
    INCLUDE BAPI_KEYFIELD

    Default

    Description
    INCLUDE BAPI_KEYFIELD

    Description
    Parameter for the long material number
    This parameter can be used to transfer long material numbers. Thesenumbers can be up to 40 characters long.
    To be able to use this parameter you must activate the switch for thebusiness function LAMA (long material number) in the system.
    The business function LAMA is available as a component of the businessfunction set for DIMP.

    Value range
    None

    Default
    None

    Description
    INCLUDE BAPI_KEYFIELD
    Note
    If the batch level is set at material level or client level, you do nothave to specify a plant.
    If the batch level is set at plant level, you have to specify a plant.

    Description
    The table contains the name of the receiving system.
    INCLUDE BAPI_PARAM_RETURN