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
| Parameter | Type | Description | Required |
|---|---|---|---|
| BFLUSHDATAGEN | BAPI_RM_DATGEN | General backflush data | Yes |
| BFLUSHDATAMTS | BAPI_RM_DATSTOCK | Make-to-stock backflush data | — |
| BFLUSHFLAGS | BAPI_RM_FLG | Backflush control flags | Yes |
Exporting parameters
| Parameter | Type | Description |
|---|---|---|
| CONFIRMATION | BAPI_RM_DATKEY-CONFIRMATION | Backflush document number |
| RETURN | BAPIRET2 | Return messages |
Tables parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| CHARACTERISTICS_BATCH | BAPI_CHAR_BATCH | Batch characteristics | — |
| GOODSMOVEMENTS | BAPI2017_GM_ITEM_CREATE | Goods movements | — |
| SERIALNR | BAPI_RM_DATSERIAL | Serial 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.