PP
BAPI
RFC
Used the same way in S/4HANA
BAPI_REPMANCONF1_CANCEL Reverse Repetitive Manufacturing Backflush
Reverses a repetitive manufacturing backflush document, including its goods movements and activities. It is used when a terminal or interface posted a wrong quantity and the posting has to be undone. Pass the backflush number in CONFIRMATION, take the reversal number from CANCCONFIRMATION and commit afterwards.
- Function group
- 2142
- Remote-enabled (RFC)
- Yes
- Type
- BAPI
Importing parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| CANC_PDCOLLNR | BAPI_RM_DATGEN-PDC_NUMBER | PDC number for the reversal | — |
| CONFIRMATION | BAPI_RM_DATKEY-CONFIRMATION | Backflush document to reverse | Yes |
| POSTDATE | BAPI_RM_DATGEN-POSTDATE | Posting date | — |
Exporting parameters
| Parameter | Type | Description |
|---|---|---|
| CANCCONFIRMATION | BAPI_RM_DATKEY-CANCCONFIRMATION | Reversal document number |
| RETURN | BAPIRET2 | Return messages |
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_CANCEL'
EXPORTING
confirmation = lv_confirmation
IMPORTING
cancconfirmation = lv_cancconfirmation
return = lv_return.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.