PP BAPI RFC Used the same way in S/4HANA

BAPI_REPMANCONF1_CREATE_MTS Post Repetitive Manufacturing Backflush (Make-to-Stock)

Posts a repetitive manufacturing backflush for make-to-stock production, like MFBF: goods receipt of the assembly, component backflush and activity posting in one step. It is used by line-side terminals and interfaces that report produced quantities per material and production version. Read the backflush number from CONFIRMATION, check RETURN and call BAPI_TRANSACTION_COMMIT.

Function group
2142
Remote-enabled (RFC)
Yes
Type
BAPI

Importing parameters

ParameterTypeDescriptionRequired
BFLUSHDATAGENBAPI_RM_DATGENGeneral backflush dataYes
BFLUSHDATAMTSBAPI_RM_DATSTOCKMake-to-stock backflush data—
BFLUSHFLAGSBAPI_RM_FLGBackflush control flagsYes

Exporting parameters

ParameterTypeDescription
CONFIRMATIONBAPI_RM_DATKEY-CONFIRMATIONBackflush document number
RETURNBAPIRET2Return messages

Tables parameters

ParameterTypeDescriptionRequired
CHARACTERISTICS_BATCHBAPI_CHAR_BATCHBatch characteristics—
GOODSMOVEMENTSBAPI2017_GM_ITEM_CREATEGoods movements—
SERIALNRBAPI_RM_DATSERIALSerial numbers—

Call template (ABAP)

A skeleton generated from the interface. It lists mandatory importing parameters, exporting parameters and tables; declare the variables with suitable types in your own program.

CALL FUNCTION 'BAPI_REPMANCONF1_CREATE_MTS'
  EXPORTING
    bflushdatagen = lv_bflushdatagen
    bflushflags = lv_bflushflags
  IMPORTING
    confirmation = lv_confirmation
    return = lv_return
  TABLES
    characteristics_batch = lt_characteristics_batch
    goodsmovements = lt_goodsmovements
    serialnr = lt_serialnr.

Related tables

Can't find the report you need?

We also build anything that is not in the catalog. Describe it briefly and we will suggest the right solution.

Request a custom report