Entering content frameProcedure documentation Deleting Cost Elements

Prerequisites

You can delete cost elements either individually or in collective processing.

You can only delete cost elements in the current controlling area if no transaction data exists for the cost element in the plan, commitments or in the actual for the given fiscal year(s). You are also not allowed to plan any statistical key figures. The corresponding checks are executed by the system.

Procedure

  1. To delete individual cost elements, choose Accounting ® Controlling ® Cost Center Accounting (or Cost Element Accounting) ® Master data ® Cost element ® Individual processing ® Delete.
  2. To delete several cost elements simultaneously, choose Accounting ® Controlling ® Cost Center Accounting (or Cost Element Accounting) ® Master data ® Cost element ® Collective processing ® Delete.

  3. To delete one cost element, enter the cost element on the appropriate initial screen for individual processing.
  4. To delete more than one cost element, on the initial screen, enter the criteria by which you want to select the cost elements. The following selection criteria exist for cost elements:

    1. Cost element or cost element interval
    2. Cost element groups
    3. All cost elements in a controlling area
    4. Selection variant (see: Structure link Selection Variants)
      1. To create new selection variants, select Selection variant and choose Create selection variant.
      2. - In the list of cost element fields, enter the criteria to be used for cost element selection. For example, you can select all cost elements of a given cost element category.

        - Save your entries.

        - Enter a variant name and a description for your variant.

        - Save your entries.

      3. To change an existing selection variant, select Selection variant and then choose Change selection variant.
      4. To display existing selection variants, select Selection variant and then choose Display selection variant.
  5. Select one of the criteria and enter the appropriate selection parameters.
  6. Enter a time period in which the selected cost element(s) are valid.
  7. Cost elements for deletion must exist in the selected time period. However, you can make a selection even if the validity period for the cost elements overlaps with the selected time period.

    Deleting Cost Elements Online

  8. Before you delete one or more cost elements, you should check in a test run whether the selected cost elements may be deleted.
  9. 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 those cost elements that you are allowed to delete.

      The system displays a list of those cost elements that you are not allowed to delete. For each cost element, the system details the dependent data that prevents deletion.

      The lists are displayed using ABAP List Viewer (see: Structure link ABAP List Viewer).

    3. Return to the initial screen and correct the entries for the selection, if required.
  10. To delete one or more cost elements, deactivate Test run and choose Execute. Answer the confirmation prompt with Yes.
  11. The system lists those cost elements that it deleted.

    It also lists all those coste elements it did not delete. For each cost element, the system details the dependent data that prevents deletion.

    The lists are displayed using ABAP List Viewer (see: Structure link ABAP List Viewer).

    Deleting Cost Elements in the Background

  12. If you want to delete many cost elements, the checks for dependent data take some time. You should therefore carry out the deletion in the background at times of minimal system usage.
  13. To do so, choose Background processing.

  14. Choose Execute and answer the confirmation prompt with Yes.
  15. Enter a job name in the dialog box.
  16. Enter a date and time for the planned start or select Immediate start.
  17. You can also define from which date and from which time no more starts should occur.

  18. Choose Confirm to leave the dialog box. In the next dialog box, choose Save.
  19. The R/3 System deletes the cost elements at the date specified.

  20. Tto check the current status of the job, choose System ® Own jobs ® Job overview ® Execute.

 

 

 

Leaving content frame