Check and Delete

Use

This function is used for the Customizing of the cross-archiving-object check and delete programs. Here you can enter for example parameters for the selection of the business objects to be checked for a specific archiving object, or activate or deactivate archiving objects for the cross-archiving-object check or delete.

With the help of the cross-archiving-object check it is possible to check the archivability of business objects for several archiving objects concurrently. Likewise, the cross-object delete function, deletes business objects of several different archiving objects at the same time. For more information see Cross-Archiving-Object Check and Delete.

Prerequisites

The cross-archiving-object check and delete functions can be used for all archiving objects that support this function. Therefore only these objects are offered in Customizing.

Features

The parameters are set in the detail view of an archiving object. Do to so, double click on the line with the corresponding archiving object, for example BC_ARCHIVE (archive administration data).

You can set the following parameters:

·        General Settings

Ў        Check active

If this indicator is set, the archiving object is taken into account by the next session of the cross-archiving-object check program, which covers all archiving objects for which this indicator is set. For this purpose the program periodically reads a control table to see which archiving objects are still active. Only the parameter values are processed that were initially (at the time the program is started) read from this table by the check framework program. By default the indicator is not set.

The cross-object check and delete programs are controlled by framework programs. They are responsible for calling the corresponding check or delete function module in the application. This module then does the actual work.

Changing the Customizing settings during the runtime of the check program: Activating an archiving object does not affect the running program. An archiving object that was deactivated during the runtime of the program is removed from the program run, if it has not been processed at that point in time. If you want to stop the program prematurely, you must deactivate all active archiving objects.

Ў        Delete active

This indicator is only offered for an archiving object if this object supports this function.

If this indicator is set, the archiving object is considered during the next session of the cross-archiving-object delete program. This program runs periodically in the background and covers all archiving objects for which this indicator has been set. The program deletes all business objects with the Archived or Deletable status. Per default this indicator is not activated.

·        Settings for the Check Program

Ў        Number of Calls Preselection Module

Here you determine how often the preselection function module is called in total. As soon as this value is reached, the archiving object is removed from the program session. The default value for the number of function module calls is 100.

The check program works with two archiving-object-specific function modules: The preselection function module and the check function module. For more information on these modules and the check process itself see Cross-Archiving-Object Check Program.

Ў        Package Size Preselection Module

Here you indicate the number of business objects that are selected in the database and passed to the check function module of the application per call of the preselection function module. The default value is 50,000 objects.

Ў        Package Size Check Module

The framework program divides the business objects transferred during the preselection process into subpackages, which are then processed in parallel. The package size is the number of objects that are processed per call of the check function module. The default value is 500 objects.

Ў        Resubmission Interval in Days

Here you determine after how many days a business object, which was not archivable (not deletable) during a previous check, can be checked again. By setting the corresponding value, for example 10 days, you can prevent already checked business objects from being checked again, which would unnecessarily prolong the entire check process. The default value is 10 days.

In the field Active Variant you can set the variant to be used by the check program. It indicates which data is to be processed by the check program.

·        Settings for the Delete Program

These settings are only offered for an archiving object, if the archiving object supports this function.

Ў        Number of Calls Preselection Module

Here you determine how often the preselection module of the delete program is to be called in total. As soon as this value is reached, this archiving object is removed from the session.

The preselection module of the delete program selects all the business objects with the deletable status, groups them and passes them to the cross-archiving-object delete program

Ў        Package Size Preselection Module

Here you determine the number of business objects that are selected in the database and are passed to the delete module of the application per call of the preselection module.

Ў        Package Size Delete Module

Here you determine the size of the subpackages that are to be processed by the delete program.

See also:

Cross-Archiving-Object Check and Delete