Programme SAP IST_SAMPLE_CANCEL_BILLDOC - Reverse Billing Document

Purpose
This report is a sample solution and is intended to be used as a
copying template for a customer-specific solution. The reportterminates processing before billing documents are reversed.
Important:
A report that reverses billing documents for test purposes mustnever be used in a production system, since it generates posting-rel
evant documents for Contract Accounts Receivable and Payable (FI-CA)!

Integration
Billing documents are reversed when reversal document data istransferred from external systems. See the BAPI method
Cancel for the business object TelcoBillDoc or thedocumentation for the function module BAPI_ISTBILLDOC_CANCEL.

Prerequisites
In the following situations, it can be advisable to reverse billingdocuments using a customer-specific report:

  • You want to test invoicing in Contract Accounts Receivable and Payable
  • in a test system.
    • Transferring external reversal data using the BAPI referred to above has
    • not been implemented in the test system.

      Features
      You can use this report as a template for your own solution. Copy thereport and remove the section in the source text that triggerstermination of processing. Adjust the report to meet your requirementsaccordingly.