Ansicht
Dokumentation

CACS_SRV_0416978_463 - Program for Deletion of Logs in Application Log

CACS_SRV_0416978_463 - Program for Deletion of Logs in Application Log

rdisp/max_wprun_time - Maximum work process run time   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Title

Deletion of log data that was created from FI-ICM-Release 4.63 (during which the conversion to the application log from Basis took place) See note no. 416978.

Purpose

The deletion of log data created during or after FI-ICM Release 4.63 streamlines the database. The selection of the logs to be deleted can be restricted by making entries in the selection screen.

For log data that was created in FI-ICM releases 4.51, 4.61 and 4.62, you can use the CACS_SRV_0416978_451 program.

Integration

If you archive commission cases or commission documents, their logs are automatically deleted during archiving.

If you delete all transaction data while preparing the productive start, then all existing logs are also deleted except for the generator, copier and temporary logs. These types of log must be deleted separately using this report.

Selection

To restrict the logs for deletion, you can select the following criteria on the selection screen:

The system determines a certain date using a key date and a number of days. All logs that have a time stamp, which is before this date, are deleted. If a value is not entered for the key date, the system uses today's date. This enables you to schedule the report periodically as a job. The number of days is a required entry, which if left empty, triggers an error message.

The log type specifies the log data that is to be deleted. The areas are, for example: Commission case, commission case comparison, commission document, generator, settlement run, closing run, additional commission case, settlement run reversal, closing run reversal, cancellation of additional commission case, temporary logs and copy logs. You need to choose at least one log type, otherwise the system issues an error message. An internal check ensures that no generation logs are chosen for the CACS00 application.

When you specify the commission application, you specify the application for which the log data is deleted. This does not apply to temporary, cross-application logs. This type of log is selected for each selected application.

If the test run mode is activated (this is a default setting), then the report is run without the logs being deleted in the database table. The test run is designed to determine in advance how many logs would be deleted according to the selection criteria entered. During deletion, a database COMMIT takes place after every 100 deleted logs.

Standard Variants

Standard variants are not provided by SAP.

Output

Depending on whether the report was started online or in the background, the message containing the number of deleted logs is issued differently. For online processing, the number of deleted logs for each log type is displayed in a list. When you start the report in the background, a message is issued containing the corresponding number for each log type. This message is written in the job log.

Activities

The CACS_SRV_0416978_463 report can be scheduled as a periodic job to remove obsolete log data from the database.






General Data in Customer Master   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 3291 Date: 20240520 Time: 065853     sap01-206 ( 76 ms )