You can use the functions (that follow) for deleting master data for the following objects:
Cost elements
Cost centers
Business processes
Activity types
You can either delete cost centers individually or in collective processing.
You can only delete each object in the current controlling area once the following has been done:
Object |
Prerequisites |
Cost element |
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. |
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
for relevant application from the SAP Easy Access Menu, and then
To delete individual objects, choose the
Master data
for relevant application from the SAP Easy Access Menu, and then
To delete one 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 object(s) are valid.
Objects that you want to delete, must be in the selected time period. However, it is sufficient for the validity period for the object to overlap with the selected time period.
Deleting Objects Online
Before you delete one or more cost objects, you should check in a
test
run
which of the selected objects may be deleted. To do so, 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 .
Return to the
initial screen
and correct the entries for the selection, if required.
To delete one or more objects, deselect
Test run
and choose
Execute
. Answer the confirmation prompt with
Yes.
The system lists all the selected objects that it deleted.
It also lists all the objects it did not delete. For each object, the system displays the dependent data that prevents deletion.
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 quite some time. You should therefore carry out the deletion in the background at times of minimal system usage. Choose
Background processing
and choose
Execute.
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 system deletes the objects at the time specified.
To check the current status of the job, choose