purge_object_change_logs

Definition

To purge object change logs and associated object snapshots from the database

Command Usage

Syntax

purge_object_change_logs <REF_DATE>

Alias

delete_object_change_logs
Command Arguments
Name Description
<REF_DATE> The to date (in the ISO 8601 format: yyyy-MM-ddTHH:mm:ss)

Detailed Information

The purge_object_change_logs command allows you to delete the object change logs from audit data recordings stored in the back-end database system (Core Database). You request the SAP CC Core Server system to trigger the deletion of out-of-date data that have a recording date strictly earlier than the specified date.

When the Object Snapshot Recording subfeature is enabled, the purge_object_change_logs command triggers the deletion of the object change logs and all the associated object snapshots from the database. You purge both the OBJECT_CHANGE_LOG table and the OBJECT_SNAPSHOT table.

Context and Use

  • You customized the audit functions and you are aware that you must perform some purge operations.
  • You monitor the data volume in the back-end database system and the size of the OBJECT_CHANGE_LOG or OBJECT_SNAPSHOT table is too large.

Technical Operations

Purging and Archiving

You use this command to purge out-of-date data relevant for the audit functions.

You perform the purge operations manually and regularly to optimally maintain and run your SAP CC system by keeping the highest global performance levels.

Authorization

You must have a specific role in your SAP CC user profile. Refer to the SAP CC Security Guide for more information about the necessary authorizations.

See Also

purge_user_operations - To purge audited user operations from the database

Additional Information

In the back-end database system, the SAP CC system stores the corresponding technical data to the OBJECT_CHANGE_LOG database table. Depending on the SAP CC system configuration, it may use the OBJECT_SNAPSHOT database table also. View the runtime values of the AUDIT_OBJECT_ACTIVATION system parameter.

Consult the user assistance and product documentation of SAP Convergent Charging:

Concepts
(in Application Help)
Operations
(Technical Operations)
Administration
(System Configuration)

Messages

Code Message Action
invalidToDate The date specified does not respect the ISO 8601 format (yyyy-MM-ddTHH:mm:ss): {toDate}  
operationSuccessful The deletion of the object change logs and object snapshots recorded before {toDate} was successful.  
operationFailed The deletion of the object change logs and object snapshots has failed: {errorMessage}