Preparation Program - Maintaining Variants (QM-IM) You can execute the preparation program either in the
Productive Archiving
variant or as an
Archiving test.
In
Archiving test
, no data is archived or deleted.
The preparation program marks inspection lots with the status
Lot blocked for Archiving
and deletes the respective inspection lot number from the worklist. After running the program, you can no longer change the inspection lots.
An inspection lot can only be marked for archiving if:
The inspection lot has been completed (
Completed
inspection completion
status)or cancelled
The inspection lot is no longer in use as shown during a where-used check (for example, in a quality level, production order, delivery note or quality notification).
At the same time , the following conditions are fulfilled:
In Customizing, the residence time is correctly set. If this is not set, the inspection lots from this plant are not marked for archiving.
The residence time is exceeded.
All stock has been posted for a stock-relevant inspection lot.
Choose .
Enter the object name
QM_CONTROL
for the inspection lot on the archive management initial screen and choose
Preparation
.
Enter a report variant on the
Preparation
.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 function contains the selection criteria that you can use to select transaction date 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.
Edit the
Start date
and the
Spool parameters.
You use the spool parameters to control the print output of the log that has been created for the preparation program.
Enter the required values and save your entries.
The
Preparation
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 preparation program creates a log.
See also: