Functionality With this Business Application Programming Interface> (BAPI) youcan reverse a billing document. This is advisable when billing documentsprocessed by invoicing and posted to Contract Accounts Receivable andPayable cannot be deleted or deactivated. With reversals, a so-called reversal billing document > isgenerated. You recognize a reversal billing document by the fact that itcontains the document number of the reversed billing document in thedocument header in field REVERSEDDOC>. Thereversed billing document contains the document number of thecorresponding reversal document in fieldREVERSALDOC>. The reversal of a billing document can take place in two ways > depending on whether the billing document to be reversed has alreadybeen invoiced or not:
- Reversing a Billing Document that Has Not Been Invoiced:>
The system creates a reversal billing document that only consists of adocument header. No invoicing order is created for the reversal billingdocument. The invoicing order of the reversed billing document isdeleted. As the invoicing orders were deleted, neither the reversed billingdocument nor > the reversal billing document are invoiced.
- Reversing a Billing Document That Has Already Been Billed:>
The system generates a reversal billing document with line items. Theposting-relevant line items of the reversal document contain the amountsand quatities of the reversed billing document with a minus sign. Aninvoicing order is created for the reversal document. When the reversal billing document is invoiced, the amounts andquantities are posted with the opposite sign. This compensates thepostings of billing document already reversed.Notes Note:
- The BAPI executes direct updates when successful and does not use the
update task.
|