Start of Content Area

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

Use

The archiving program writes the database tables for all quality notifications to the archive.

Note

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

  1. Choose Tools Administration Administration Archiving.
  2. Enter the object name QM_QMEL for the quality notification 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 function contains the selection criteria that you can use to select quality notifications 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 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.

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

Maintaining the Start Date and the Spool parameters