SAP Function BAPI_ACC_DOCUMENT_REV_POST - Accounting: Post Reversal

Parameter Reference Type Length Default Optional Text
BUS_ACT BAPIACHE09-BUS_ACT C 4 Business Transaction
REVERSAL BAPIACREV u 85 Reference information for reversal in Accounting

Parameter Reference Type Length Text
OBJ_KEY BAPIACREV-OBJ_KEY C 20 Reference Key
OBJ_SYS BAPIACREV-OBJ_SYS C 10 Logical system of source document
OBJ_TYPE BAPIACREV-OBJ_TYPE C 5 Reference procedure

Parameter Reference Length Optional Text
RETURN BAPIRET2 548 Return Parameter

Functionality
Reversing an external document in Accounting. (negative posting)
The method "Reverse" can be used to reverse the relevant document inthe accounting components.
INCLUDE ACC_AWTYP_AWKEY_AWSYS OBJECT DOKU ID TX
INCLUDE ACC_AWTYP_AWKEY_AWSYS OBJECT DOKU ID TX
INCLUDE ACC_AWTYP_AWKEY_AWSYS OBJECT DOKU ID TX

Description
To reverse the document, the same business transactionmust be entered that was used for the posting.
INCLUDE ACC_BAPI_REVERSE OBJECT DOKU ID TX
INCLUDE ACC_BAPI_RETURN OBJECT DOKU ID TX

1415526Cancellation of FI Sales documents - /BGLOCS/VATREPORT07
1071105Reversal document from the wrong number range
1144749BAPI_ACC_DOCUMENT_REV_POST: wrong data with AWTYP BKPFF
1069413Reversing documents with AWTYP = 'BKPFF'
1005440Reversal of accounting documents with AWTYP='BKPFF'
544606Negative posting not possible due to PCA