Deleting Master Data
You can use the functions that follow for deleting master data for the following objects:
Cost centers
You can delete cost centers individually or with collective processing.
Business processes
Activity types
Note
You cannot delete cost elements.
You can only delete each object in the current controlling area once the following has been done:
Object | Prerequisites |
|---|---|
Cost center | There is no transaction data for the cost elements in the planning or commitments data in the affected fiscal years: No statistical key figures have been planned. |
Activity type | There is no transaction data for the activity types in the planning or commitments data in the affected fiscal years. No statistical key figures have been planned. |
Business processes | There is no transaction data for the business processes in the planning or actual data in the affected fiscal years. No statistical key figures have been planned. |
The corresponding checks are executed by the system.
To delete individual objects, choose the Master Data
option for the relevant application from the SAP Easy Access Menu, and then .
To delete a single object, enter it in the initial screen.
To delete more than one object, enter the selection criteria for the objects in the initial screen. The following selection criteria are available for activity types:
<Object> or <Object>interval
<Object> group
All <objects> in a controlling area
You save selection criteria for the object selection in the selection variant. You can use the selection variant to select all objects with the same entries in one or more master data fields.
You can create, change or display the selection variant at this point.
Select one of the criteria and enter the appropriate selection parameters.
Enter a time period in which the selected objects are valid.
Note
Objects that you want to delete must be in the selected time period. However, it is sufficient for the validity period of the object to overlap with the selected time period.
Deleting Objects Online
Before deleting objects, you should execute a test run to see whether dependent data exists that prevents deletion of any of the selected objects.
To start a test run, accept the default values for the Test run
and choose Execute
.
The system carries out comprehensive checks on dependent data.
The system displays a list of all the objects that you can delete.
The system then displays a list of all the selected objects that you cannot delete. For each object, the system displays the dependent data that prevents deletion.
The list display uses the ABAP list viewer.
Go back to the initial screen and correct the entries, if required.
To delete the objects, deselect Test run
and choose Execute
. Answer the confirmation prompt with Yes.
The system lists the objects that were deleted.
It also lists the objects that were not deleted. The dependent data that prevented the deletion is shown.
The list display uses the ABAP list viewer.
Deleting Objects in the Background
If you want to delete a large number of objects, the checks for dependent data require a long runtime. You should therefore carry out the deletion in the background at times of low system usage.
Choose . Answer the confirmation prompt with Yes.
Enter a job name in the dialog box.
Enter a date and time for the planned start, or select Immediate start
.
You can also define from which date and from which time no more starts should occur.
Leave the dialog box by choosing Confirm
.
In the next dialog box, choose Save
.
The objects are deleted at the specified time.
To check the current status of the job, choose .