Solution : https://service.sap.com/sap/support/notes/383001 (SAP Service marketplace login required)
Summary :
SAP Note addresses the issue with BAPI "BAPI_BILLINGDOC_CANCEL1", which inadvertently executes a COMMIT when cancelling a billing document. Such operations may need to exclude COMMIT commands, especially when changes affect closed posting periods without alternative billing dates. Solution involves upgrading to Release 5.0, modifying the BAPI interface in SE37 to include 'NO_COMMIT' and 'BILLINGDATE' parameters, and adjusting the source code accordingly. These enhancements will allow more flexibility and correctness in handling cancellations across varied billing requirements and configurations.
Key words :
reference type optional pass, additional key words cancelation, no_commit type bapi_ncomt, xbillingdate type bf_datm1eb, import parameters no_commit, alternative billing date, completed posting period, billing document transmits, cancelation document, posting period
Related Notes :
997939 | BAPI_BILLINGDOC_CANCEL1: SUCCESS table has errors |
850626 | BAPI_BILLINGDOC_CANCEL1: Error VF 001 |
717272 | Parameter BAPI_BILLINGDOC_CANCEL1 |
592355 | BAPI_BILLINGDOC_CANCEL1: SUCCESS table initial |
322803 |