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

ParameterTypeDescriptionRequired
CANC_PDCOLLNRBAPI_RM_DATGEN-PDC_NUMBERPDC number for the reversal—
CONFIRMATIONBAPI_RM_DATKEY-CONFIRMATIONBackflush document to reverseYes
POSTDATEBAPI_RM_DATGEN-POSTDATEPosting date—

Exporting parameters

ParameterTypeDescription
CANCCONFIRMATIONBAPI_RM_DATKEY-CANCCONFIRMATIONReversal document number
RETURNBAPIRET2Return 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.

Request a custom report