Parameter | Reference | Type | Length | Default | Optional | Text |
---|---|---|---|---|---|---|
READ_ARCHIVE | BAPI_READ_ARCHIVE | u | 1 | SPACE | X | Read Archived Documents |
REVERSAL_DOC | BAPI_EXT_REVERSAL_DOC | u | 30 | External Reversal Billing Doc. | ||
REVERSED_DOC | BAPI_EXT_REVERSED_DOC | u | 84 | External Billing Doc. to Be Reversed | ||
TESTRUN | BAPI_AUX_INV-TESTRUN | C | 1 | SPACE | X | Activate Simulation Mode |
Parameter | Reference | Type | Length | Text |
---|---|---|---|---|
NEW_REVERSALDOC | BAPI_NEW_REVERSALDOC | u | 12 | New Reversal Billing Doc. Number |
Parameter | Reference | Length | Optional | Text |
---|---|---|---|---|
EXTENSIONIN | BAPIPAREX | 990 | X | ExtensionIn |
EXTENSIONOUT | BAPIPAREX | 990 | X | ExtensionOut |
RETURN | BAPIRET2 | 548 | X | Returns |
You can use this method to reverse a billing document in the Billing documents that are already processed in FI-CAX can only bereversed but not deleted or deactivated. A reversal billing document is created during the reversal process. Actions,,Steps Viewing a reversed billing document number: ,,Choose REVERSEDDOC andthen choose the field REFDOCNO. Viewing a reversal billing document number:,,Choose REVERSALDOC and thenchoose the field REFDOCNO. Depending on whether the billing document to be reversed is alreadyinvoiced or not, billing reversal takes place in the following twoscenarios:
For those billing documents that have to be reversed, the system createsa new reversal billing document containing a document header. However,the system does not create any new invoicing order, as the billingdocuments which are not yet invoiced already contain invoicing orders The system next deletes the invoicing order of the reversed billingdocument. After deletion, the system cannot invoice reversed billingdocuments or reversal billing documents once again. For those billing documents that have to be reversed, the system createsa new reversal billing document containing a document header anddocument items. The system copies the document item values (amount andquantity) present in the reversed billing document and changes them tonegative values in the new reversal billing document. The system next deletes the invoicing order of the reversed billingdocument. After deletion, the system cannot invoice reversed billingdocuments or reversal billing documents once again. You can enhance this BAPI by implementing the following BAdIs withoutany modification: Performs direct updates in a successful case and does not use the updatetask Performs a COMMIT WORK for each call Does not perform any separate authorization checks Reverse simulated billing documents Reverse billing documents that have already been reversed again Reverse reversal billing documents Description Description Description Description Description Description Description Description |