Fonction SAP BAPI_REPMANCONF_CANCEL - Reverse REM Backflush

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

Paramètre Reférence Type Long. Description
RETURN BAPIRET2 u 548 Return Parameter


The system reverses the PDC backflush number transferred using theparameter PLANTDATACOLLNR. This means that all documents in the R/3system created with this PDC number are reversed. This includesmaterial documents, activity documents, reporting point documents andpostprocessing documents.
If the reversal of the PDC number is not carried out successfully, thesystem issues an appropriate message via the exporting parameterRETURN. If the backflush is reversed successfully, the exportingparameter RETURN is filled with initial values.
In this module, no COMMIT WORK is executed.
Note that after accessing this BAPI, a COMMIT WORK is directlytransmitted. That is, it is not possible to use several recordingbackflush BAPIs in sequence and then only transmit one single COMMITWORK after the last BAPI. If this should happen, however, the secondBAPI will terminate as no such accessing chain is technicallysupported.
In case of error, the parameter RETURN contains a message which providesinformation on the error which has occurred. The error messages providesinformation on whether the error occurred as a result of missing datawhen accessing or whether the backflush cannot be reversed for otherreasons.
If the backflush number transferred in parameter PLANTDATACOLLNR couldbe successfully reversed in the SAP system, the parameter RETURNcontains initial values.

Description
The parameter must contain the PDC backflush number that identifies thereversal. The reversal backflush is the backflush that reverses thepostings of the backflush to be reversed.

Value range
The PDC backflush number is given by the external caller.

Description
The parameter must contain the PDC backflush number that is to bereversed. All the documents created for this PDC backflush number willbe reversed.

Value range
The PDC backflush number must already exist in the SAP system. That is,a backflush must already have been carried out for this PDC backflushnumber. This backflush must be reversible.

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 isused as the posting date.