Application-Specific Features (CS-IB-MC/PM-EQM-SF-MPC) 

Use

You can use the archiving object PM_IMRG to archive and delete measurement documents which do not need to be accessed directly in the system.

Features

You can only delete complete measurement document areas, this means, from the first measurement document entered until a key date. You cannot archive and delete individual measurement documents.

At least one measurement document is usually retained when archiving. This is the latest non-canceled measurement document. However, in the following cases, more than one measurement document is retained:

You can also archive and delete all the measurement documents for a measuring point or counter, as required. For more information, see Variant Settings for the Initial Run (PM-EQM-SF-MPC).

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 measurement documents which you want to archive and delete. The system sets a deletion flag (DFLAG) internally for all measurement documents selected.

You cannot reset deletion flags which have been set for measurement documents.

The initial run generates a log.

Archiving

The archiving program writes the database tables of the measurement documents listed under the object definition to the archive.

You can:

The archiving program generates a log.

Deleting

If you have selected Archive and delete documents in the archiving variant, the deletion program deletes all the measurement documents which the system has archived successfully.

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.

To avoid problems caused by data inconsistency, you should run the deletion program as near as possible to the archiving program.

Displaying