SAP Delete CO Transaction Data
SAP Delete CO Transaction Data
SAP Delete CO Transaction Data
o o o o
If you implement the module CO later than other SAP modules, you can automatically copy the cost-accounting-related postings to CO.
The delete function is intended for test data only. For archiving productive transaction data, the SAP System offers the archiving function, found in the application menu for Cost Center Accounting under the menu option "Tools". In the IMG "Financial Accounting", you can find a program for resetting transaction data under "Financial Accounting Global Settings Delete Transaction Data". This program also deletes the transaction data for the CO module.
Warning If you start the program from the FI Implementation Guide, all plan data for Cost Center Accounting will also be deleted. The program also resets the document numbers. Recommendation If you use the reset program from FI and want to keep the CO plan data, start the program without the indicator "Delete CO data". Afterwards, selectively delete plan data and/or transaction data in the CO module. Activities 1. Check in which controlling area you wish to delete data. 2. Enter the desired controlling area. 3. Start the program.
If you wish to see an overview of the data records to be deleted, select "Test run" before you start the program. If "Test run" is not selected, all transaction data will be deleted.
If you select "Do not delete plan data" the system only resets actual postings. Cost center planning is then retained in all versions and is available for production operations.
Page 1 of 5
Page 2 of 5
Report: RKSCUS01
Description
This report deletes all CO transaction data in a controlling area. The following options exist: 1. Do not delete plan data: If you activate this parameter, plan data is not deleted. 2. Test run: If you activate this parameter, no records on the database are deleted. The records to be deleted are displayed only on the database. The number ranges are only reset to zero if both parameters are deactivated. If number ranges are reset, you cannot update any update records using the monitor function, unless no CO documents are created by doing this. Otherwise you must rerun the report with the same options to remove the records subsequently updated and to reset the number ranges to zero. If you do not do this, duplicate records will occur. The CO documents are deleted entirely; the other data (such as totals records) are deleted by transaction. The report is intended only for resetting test data. You should use the archiving or reorganization tools in productive systems.
Page 3 of 5
2. If it is not possible to select using the controlling area due to the data structure, the SAP System determines all CO objects belonging to the controlling area. A selection can then be made using the CO object number. The list below shows which object types are created by the report: AO Reconciliation object EK Product costing HP Process manufacturing hierarchy KL Cost center/activity type KS Cost center OR Order OV Order operation PR Work breakdown structure VB Sales document item VD Summarization object 3. The following tables are reset: a) Line items and header for CO documents: COEP COEPL COEPR COEPT COEPB COEJ COEJL COEJR COEJT COBK b) Open items: COOI c) Totals recs: COSP COSS COSR COSL COST COSPD COSSD COSPP COSSP COSB d) Plan control: COKP COKR
Page 4 of 5
o o Requirements
deleting master data with a user report that does not check whether dependent records exist transporting data from other systems or clients (for example, master data from client AAA and CO documents from client BBB).
Output
A list of the tables deleted or reset is displayed.
Page 5 of 5