Application-Specific Features (CS-AG/PM-PRM-MP) 
Use
You can use the
archiving object PM_MPLAN to archive and delete maintenance plans which do not need to be accessed directly in the system. The separate archiving of maintenance items, that is, maintenance items not assigned to a maintenance plan, is currently not possible. You can only archive and delete maintenance items together with the assigned maintenance plan. You therefore assign individual maintenance items to a maintenance plan (for example, a "dummy maintenance plan") and archive the maintenance item(s) using this maintenance plan.
Archived maintenance plans cannot be displayed.
Prerequisites
The following prerequisites must be fulfilled so that the system can set the status DLT (deletion indicator, to be archived) for a maintenance plan in the initial run:
Features
Two functions are available for flagging maintenance plans for deletion:
You can use this function to select several maintenance plans, and to set the status Deletion flag for all the maintenance plans selected.
When the system sets a deletion flag, it does not perform any checks.
Initial Run
The initial run program prepares the data in the database for archiving. In the initial run variant, you enter the selection criteria for the maintenance plans which you want to archive and delete (see
Variant Settings for the Initial Run). If all the prerequisites have been fulfilled, the system also sets the status Deletion indicator, to be archived for all maintenance plans selected with the status Deletion flag.When the system sets a deletion indicator for a maintenance plan, all the calls still on hold for this maintenance plan are deleted.
The initial run generates a
log.Archiving
The archiving program writes the database tables of the maintenance plans listed under the
object definition to the archive.
When Start automatically is set for the deletion program in
Customizing of Archiving, and a productive variant is selected for the archiving program, the system starts the deletion program in connection with its productive variant. This means that the system deletes the archived data from the database.
The archiving program generates a
log.Deleting
The deletion program deletes all the database records for the maintenance plans and the maintenance items assigned to them, as well as the dependent database records (for example, text, status, settlement rule) which have been successfully archived.
If the deletion program is not called up automatically after the activity Archive has been completed successfully, you must wait until all the archiving is completed. You can process an entire archiving session with all the archive files generated or you can select individual archive files for processing.
The deletion program generates a
log.