Archiving - Maintaining Variants (QM-IM)
Use
The archiving program writes the database tables for all inspection lots to the archive.
Prerequisites
You can only archive inspection lots, if they have been marked for archiving during the initial run.
Procedure

If archiving was already carried out for the object and there are still archive files from this archive run that were not yet processed by the appropriate deletion program, a dialog box appears to inform you of this.
In such a case, make sure that the new job you want to plan does not contain the same data as the archive files that have not yet been processed (see
Displaying Details of an Archiving Run).
The standard variants maintained by SAP for Quality Management are called:
If no variants are available, choose Maintain to maintain the required variant. The variant maintenance contains the selection criteria that you can use to select inspection lots for archiving and deletion.

You can only use a variant in one job. As long as a job exists that uses this variant, it cannot be used in another job even when this job has been successfully carried out.

If Start automat. is set in
Archive Customizing for the deletion program, and if you have chosen the Productive archiving variant for the archiving program, the deletion program is started with the Productive archiving variant. This means that data is deleted from the database immediately after the archiving run.
You use the spool parameters to control the print output of the archiving log that has been created.
The Create Archive Files screen appears again. The green traffic light indicates, that the start date and the Spool parameters were maintained.
Result
The data is archived.
Both the archiving program and the deletion program that is subsequently run generate a log.
See also:
Log (QM-IM)
Maintaining the Start Date and the Spool parameters