Fonction SAP BAPI_REPMANCONF1_CANCEL - Reverse REM Backflush

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CANC_PDCOLLNR BAPI_RM_DATGEN-PDC_NUMBER C 12 X PDC Number for Reversal Document
CONFIRMATION BAPI_RM_DATKEY-CONFIRMATION N 10 Backflushing Number to be Reversed
POSTDATE BAPI_RM_DATGEN-POSTDATE D 8 X Posting Date in the Document

Paramètre Reférence Type Long. Description
CANCCONFIRMATION BAPI_RM_DATKEY-CANCCONFIRMATION N 10 Backflushing Number for Reversal
RETURN BAPIRET2 u 548 Return Parameter


Using the parameter CONFIRMATION, the transferred backflush number arereversed. This means that all documents created with this backflushnumber will be reversed in the SAP System. This can include materialdocuments, activity documents and postprocessing documents.
If the reversal of the backflush number is not carried out successfully,the system issues a corresponding message via the exporting parameterRETURN. If the backflush is carried out successfully, the exportingparameter RETURN is filled with initial values.
No COMMIT WORK is carried out in this module.
Note that immediately after calling up this BAPI, a COMMIT WORK istransmitted. This means it is not possible to use several backflushBAPIs that store data on the database in sequence and then only transmitone single COMMIT WORK after the last BAPI. Should this happen however,the second BAPI will be terminated as the program does not allow such achain of calls.
Document-neutral reversal is carried out using the method CreateMTS.
________________________________________________________________________

Description
The field CANCCONFIRMATION contains the number of the reversingbackflush. This is the number of the backflush used to reverse thebackflush transferred via the parameter CONFIRMATION.
In the case of error, the RETURN parameter contains a message withinformation on the error. From the error message, you can determinewhether the error occurred as a result of missing data or whether thereversal cannot be carried out for other reasons.
If the backflush number transferred in the parameter CONFIRMATION couldbe reversed successfully in the SAP system the parameter RETURN containsinitial values.

Description
This parameter can contain a PDC backflush number. This number is savedwith the reversal backflush document created by the system.
The PDC backflush number is optional and is given by the caller.

Description
The field CONFIRMATION must contain the backflush number of thebackflush to be reversed. This is the number given by the system whencreating a backflush.

Description
The parameter can be filled with the posting date. The posting date isthe date on which the reversal document was created.

Value range
If no posting date is transferred, the local system date of the user isthen used as the posting date.