Show TOC

 Deleting Master Data Locate this document in the navigation structure

Use

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.

Prerequisites

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.

Procedure

  1. To delete individual objects, choose the Master data for relevant application from the SAP Easy Access Menu, and then   <Object>   Individual processing   Delete.  

  2. To delete individual objects, choose the Master data for relevant application from the SAP Easy Access Menu, and then   <Object>   Individual processing   Delete.  

  3. To delete one object, enter it in the initial screen.

  4. 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:

    1. <Object> or <Object>interval

    2. <Object> group

    3. All <objects> in a controlling area

    4. Selection variant

    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.

  5. Enter a time period in which the selected object(s) are valid.

  6.  ( )

    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

  7. 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 .

    1. The system carries out comprehensive checks on dependent data.

    2. 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 .

    3. Return to the initial screen and correct the entries for the selection, if required.

  8. To delete one or more objects, deselect Test run and choose Execute . Answer the confirmation prompt with Yes.

  9. 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

  10. 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.

  11. Enter a job name in the dialog box.

  12. Enter a date and time for the planned start, or select Immediate start .

  13. You can also define from which date and from which time no more starts should occur.

  14. Leave the dialog box by choosing Confirm . In the next dialog box, choose Save .

  15. The system deletes the objects at the time specified.

  16. To check the current status of the job, choose   System   Own jobs   Job overview   Execute.