Ansicht
Dokumentation
BAPI_INCOMINGINVOICE_CANCEL - Invoice Verification: Reverse Invoice
ABAP Short Reference RFUMSV00 - Advance Return for Tax on Sales/PurchasesThis documentation is copyright by SAP AG.
Functionality
With this method, you can create a reversal document by entering the original document.
Example
Notes
The system checks the following authorization object with activity 01:
- M_RECH_WRK Plant Authorization for Entering Invoices
- M_RECH_BUK Company Code Authorization for Entering Invoices
Transfer
You have to pass on to the method the key fields of the invoice (InvoiceDocNumber and FiscalYear) and the reversal reason as import parameters. You have the option of entering the posting date for the reversal.
Return
The document number and the document year of the reversal document are returned in the export parameters InvoiceDocNumber and FiscalYear.
Return messages
Further information
The methods can only perform their function if no error messages are created in the Return table. This is the case if the system was able to process the header data and all items without any errors.
No transaction control is implemented. That means that the caller has to perform the 'Commit Work' itself after successfully invoking this method (that is, if no errors are reported to the caller in the Return parameter).
Parameters
FISCALYEARFISCALYEAR_REVERSAL
INVOICEDOCNUMBER
INVOICEDOCNUMBER_REVERSAL
POSTINGDATE
REASONREVERSAL
RETURN
Exceptions
Function Group
MRM_BAPIBAL_S_LOG - Application Log: Log header data General Material Data
This documentation is copyright by SAP AG.
Length: 2531 Date: 20240523 Time: 101558 sap01-206 ( 40 ms )