Start of Content Area

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

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

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

  1. Enter a report variant on the Archive files creation 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 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.

Note

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.

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

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

  1. Choose Execute on the initial screen.

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