Archiving - Maintaining Variants (QM-QN)
Use
The archiving program writes the database tables for all quality notifications to the archive.

If the Start automat. indicator is set for the deletion program in
Customizing, the deletion program is started automatically once the archiving run is completed. (Note that this indicator is set in the standard system).
Prerequisites
You can only archive quality notifications, if they have been marked for archiving during the initial run.
There also cannot be any
dependencies between the archiving objects. In general, you can only archive data for an archiving object with operations when dependent objects have already been saved. You can check this in the
network graphic.
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 function contains the selection criteria that you can use to select quality notifications 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 mode for the archiving program, the deletion program is started with the productive mode. 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-QN)
Maintaining the Start Date and the Spool parameters