Fonction SAP BAPI_ASSET_REVERSAL_CHECK - Check Asset Document Reversal

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ORIGINDOCREFERENCE BAPI6037_DOC_REF u 25 X Reference to Document in Accounting
ORIGINDOCUMENTKEY BAPI6037_DOC_KEY u 18 X Key of a Document in Accounting
REVERSALDATA BAPI6037_REV_DATA u 16 X Data on Document Reversal

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

Functionality
The Check method is used to simulate the reversal of an assetdocument including generating the FI document for posting.,,,,,,

Notes
The document to be reversed must be entered either in the importparameter ORIGINDOCREFERENCE (reference to a document inFincancial Accounting) or ORIGINDOCUMENTKEY (key to an accountingdocument). Exactly one of these parameters must be filled.
INCLUDE AMFA_BAPI_RETURN OBJECT DOKU ID TX
INCLUDE AMFA_BAPI_REV_ORIGDOCREF OBJECT DOKU ID TX
INCLUDE AMFA_BAPI_REV_ORIGDOCKEY OBJECT DOKU ID TX
INCLUDE AMFA_BAPI_REVERSALDATA OBJECT DOKU ID TX