Entering content frame

Function documentation Testing Reversals of Billing Documents Locate the document in its SAP Library structure

Use

With a report that you create using sample report IST_SAMPLE_CANCEL_BILLDOC as a template, you can test the reversal of billing documents in a test system.

Features

The sample report calls the BAPI BAPI_ISTBILLDOC_CANCEL and reverses a billing document without reference to a reversal document from an external system. Such a reversal would be an error in a productive system and would destroy the consistency of the external documents and the documents in the SAP system. Therefore, report IST_SAMPLE_CANCEL_BILLDOC terminates the run immediately.

Activities

...

       1.      If required, copy the report IST_SAMPLE_CANCEL_BILLDOC.

       2.      Remove the coding lines that call the termination.

       3.      Make sure that the report is only run in a test system.

Report IST_SAMPLE_CANCEL_BILLDOC uses a GUID for the reference document number of the reversal document (field REFDOCNO in structure FKKINVBILL_H).

 

Leaving content frame