SAP® Documentation

Single view


ABAP Short Reference   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book


You use this report to delete the SD sales document data from the database. Normally, the order data remains in the database (it is not deleted as in liveCache).

In order to limit the data volume, you should schedule the report to delete the orders, if necessary, and it should be dependent on the lifetime of your orders.


For example, a sales order is completed in six weeks. Such a sales order would be archived in SAP R/3 but such an archiving concept does not exist in SAP APO. You use this report to remove the sales order from the database.


A location product or a location can only be deleted if SD sales documents for this location product no longer exist in the database (that is, if, for example, no more entries exist in the tables /SAPAPO/ORDADM_I or /SAPAPO/ORDPART).



A check is normally carried out before an order is deleted to see if this order still exists in liveCache. If this is the case, the order is not deleted.

You can also print out a list of the orders that cannot be deleted if you have set the relevant indicator.

In exceptional cases, you can deactivate this check and nevertheless still delete the selected orders.

If you have set the Delete all orders indicator, the order data from the database is completely deleted without any check. You should take great care when using this function.


Standard Variants




If you have deleted orders that are still being used for business purposes, you must start a new initial data supply or, if you know the orders, you must perform a further ATP check to transfer the data from SAP R/3 to SAP APO.

PERFORM Short Reference   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 2035 Date: 20200228 Time: 162137     sap01-206 ( 18 ms )

Our Service

Looking for Support? Questions?




Leave us your contact details and we will call you back. Panels marked with * are mandatory.