Entering content frame

Function documentationArchiving Batch Where-Used Records Locate the document in its SAP Library structure

Use

Batch where-used records are data records from the database table CHVW, which logs goods movements of materials handled in batches according to how Customizing is configured.

The archiving of batch where-used records:

Prerequisites

The system only archives batch where-used records whose batch master records have already been archived. This ensures that no other batch where-used records are created for a batch and thereby allows the batch where-used records to be organized in objects.

Features

Selection criteria:

You can select batch where-used records for an archiving run by the following criteria:

(Selection by plant is available for the batch level = plant).

Archiving mode:

The archiving and deletion of data can be carried out in the test mode, which allows you to check the run time, the data volume, and the selected batches before they are actually archived.

Activities

All these activities are controlled by the central SAP archiving transaction.

You call up the archiving transaction by choosing the Archiving pushbutton.

The system searches for all batch where-used records for which batch master records have already been archived. It then checks for each batch whether the last posting was carried out before the date entered. If this is the case, the system writes the batch where-used records in the archive file, grouped by material number, batch, and plant.

The archive files that have already been created are used as a basis for the deletion of data from the database. You can choose the following deletion options in Customizing by choosing the Customizing pushbutton under Technical Settings:

If you actively set the Start automatically indicator, the system automatically deletes the data in the database once the archiving run has been successfully completed.

If you do not actively set the Start automatically indicator, you have to start the deletion program via the Delete pushbutton.

This activity reloads archive files into the database. You can only reload entire archiving runs.

Evaluation provides the archived data in the form of an ABAP List Viewer list. In this process, you can select data by material number, batch, and plant.

The index facilitates access to the archived batch where-used records. For this purpose, the system compiles three indices with the following search criteria:

In Customizing, you can determine how indices are compiled by choosing the Customizing pushbutton under Technical Settings:

If you actively set the Compile index indicator, the system automatically compiles the index once the deletion run has started.

If you do not actively set the Compile index indicator in Customizing, you have to start index compilation manually via the Compile index pushbutton.

You can remove indices for archive files still available in Archive Management by choosing the Remove index pushbutton. The system automatically removes the respective indices when the archive files are reloaded.

To go to the overview of all archiving runs for the archiving object LO_CHVW, choose the Administration function.

 

Leaving content frame