Ansicht
Dokumentation

RKODEL01 - Delete CO orders

RKODEL01 - Delete CO orders

Fill RESBD Structure from EBP Component Structure   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

Use

This program deletes internal orders and their dependent objects, such as long texts, change documents, cost segments, and so on.

The system does not check whether actual costs still exist on the order. The orders are deleted irretrievably and can not be recreated.

For this reason, SAP advises you not to use this function in production operation. It is intended solely for the deletion of test data. In production operation, you should use archiving for internal orders.

Observations for the paramaters

If you select the field "Only orders with deletion flag", the system selects those orders for which the deletion flag has been set.

If you select the field "Test run only", the system creates a list of orders to be deleted. The orders themselves are not yet deleted. If you leave this field empty, the system deletes the relevant orders and tells you only how many were deleted.

NOTE&

In the update run, that is, when the "Only test run" field is empty, the system writes an entry in the application log that contains the selections entered. You can evaluate these entries using transaction SLG1. Enter "CORS" as the object, and "ORDER" as the sub-object. Then choose a suitable time period. Choose "Execute" to get a list of the calls for the order deletion program. Double click on the desired row and then choose "Detail". Position your cursor on the message "Deletion program was started for orders" to list the selection criteria with which the deletion program was started.

Deletion of product cost collectors

You can also use this program to delete product cost collectors (order type 05). However, data incostistencies may occur due to the associated production and process orders. Therefore, you can only delete a product cost collector once the associated production and process orders have been archived or deleted, or at least until the deletion flag indicator was set.

To set the deletion indicator for production or process orders, you can use the preprocessing program for the relevant archiving object (PP_ORDER or PR_ORDER)






ROGBILLS - Synchronize billing plans   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 2261 Date: 20240520 Time: 065654     sap01-206 ( 55 ms )