Archiving - Maintaining Variants (QM-IM)The archiving program writes the database tables for all inspection lots to the archive.
You can only archive inspection lots, if they have been marked for archiving during the initial run.
Choose .
Enter the object name
QM_CONTROL
for the inspection lot on the archive management initial screen and choose archive.
Note
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 ).
Enter a report variant on the
Archive files creation
screen.
The standard variants maintained by SAP for Quality Management are called:
SAP&TEST (Archiving test)
SAP&PROD (productive Archiving)
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.
Note
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.
Edit the
Start date
and the
Spool parameters.
You use the spool parameters to control the print output of the archiving log that has been created.
Enter the required values and save your entries.
The
Create Archive Files
screen appears again. The green traffic light indicates, that the start date and the Spool parameters were maintained.
Choose
Execute
on the initial screen.
The data is archived.
Both the archiving program and the deletion program that is subsequently run generate a log.
See also: