Start of Content Area

Procedure documentationPreparation Program - Maintaining Variants (QM-IM)  Locate the document in its SAP Library structure

Use

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.

Prerequisites

An inspection lot can only be marked for archiving if:

Procedure

  1. Choose Tools Administration Administration Archiving.
  2. Enter the object name QM_CONTROL for the inspection lot on the archive management initial screen and choose Preparation.
  3. Enter a report variant on the Preparation.screen.

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 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.

  1. 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.

  1. 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.

  1. Choose Execute on the initial screen.

Result

The preparation program creates a log.

See also:

Log (QM-IM)

Maintaining the Start Date and the Spool parameters