Application-Specific Features (CS-AG/PM-PRM-TL) 

Use

You can archive maintenance task lists (PM task lists) that you no longer need to access directly in the system using the archiving program. The data is written to the archive files and then deleted from the system if the operation was successful.

You can archive and delete maintenance task lists using the archiving object PM_PLAN.

Features

Change Statuses from Previous SAP Releases

Task lists from previous SAP releases may only have one deletion flag for individual change statuses.

You can use the report RCPREDEL to release existing deletion flags to all change statuses of the maintenance task list. You use this report once after the data transfer from a previous release in order to create the same prerequisites for both old and new maintenance task list data.

Customizing

You use the SAP enhancement (user exit) CPRE0001 in Customizing to define criteria which the system should check before a maintenance task list can be archived. Note that the standard system already performs several usage checks.

For more information about Customizing, see Customizing of Archiving.

Selection Criteria

You can select maintenance task lists for archiving according to the following criteria:

All task lists whose usage is before the key date are selected.

Date on which the task list was last used in an order for Plant Maintenance or Customer Service.

If you enter the deletion flag as a criterion for the archiving session using the deletion program, you can only choose Delete over whole time period.

You can also delete maintenance task lists which do not have a deletion flag. Deletion flags are not a prerequisite.

If you archive task lists from previous releases (selection criterion Deletion flags), without previously having used the report RCPREDEL, only those task lists which have a deletion flag on all change statuses are archived. Task lists which have deletion flags on individual change statuses are not selected if you enter deletion flags as a criterion.

Activities

If the selection criteria in the standard program are not sufficient, or if you want different criteria, you can define your own customer-specific selection criteria.

  1. Define your own archiving object. Use the archiving object PM_PLAN as a template.
  2. Write your own selection report. Use the report RPMREWR1 as a template. Only change: