Archiving Inspection Lots (QM-IM) 
Definition
Archiving object QM_CONTROL for archiving inspection lots in the Quality Management (QM) application component.
Use
When you archive inspection lots, the entire PGQ logical database (with the exception of the material documents) is archived.

However, not all segments are copied into the archive. The system only archives the inspection lot tables that are required to retrieve the logical database structure from the archive.
The system also archives long texts, change documents and status information for inspection lots and partial lots.
An inspection lot can only be archived if:
Structure
When you use archiving object QM_CONTROL, you archive data from several tables. For information on how to display table names, see
Defining Linked Tables.The following functions are available for QM_CONTROL:
Function |
Action |
Report Program |
| Initial run |
The preprocessing program marks the archive-capable inspection lots for archiving (by setting the status Lot blocked for archiving). You prepare the inspection lots for archiving by marking the inspection lots in this way. This also deletes the respective inspection lot number from the worklist. After running the program, you can no longer change the inspection lots. |
RQRQAB00 |
| Archiving |
The archiving program writes the database tables for the inspection lots to the archive, that have been marked for archiving in the initial run. |
RQRQAB10 |
Deleting |
This program is described as a deletion program in Customizing and archive management. This task is not fulfilled for the QM_CONTROL archiving object. The QM inspection data is deleted after reprocessing. This program marks archived inspection lots with the status Archived and in addition the archive folder with the status Deletion completed in archive management. You must only start this program, if the archive folder is not marked in this way. |
RQRQAB20 |
| Postprocessing |
This program deletes the respective level of QM transaction data from the system, based on the dependent retention period maintained in Customizing. |
RQRQLB00 |
Management |
You can use this function to display previous archiving runs. |
See also:
Archiving (general)
Dependencies (QM-IM)