Show TOC

Process documentationArchiving Time Stamp Records

 

You can use the archiving object CRM_TSSEVT to archive time stamp records that are used for service analysis. The associated data is copied to external archive files and then deleted from the database.

Prerequisites

You have made the required settings on the SAP Easy Access screen, under Start of the navigation path Architecture and Technology Next navigation step System Administration Next navigation step Administration Next navigation step Data Archiving End of the navigation path. This includes configuring the cross-archiving-object check program for the corresponding archiving object.

For more information, see Customizing and Cross-Archiving-Object Check Program.

Process

1. Replicate

In Archive Administration (transaction SARA), you schedule the write program to write data to archive files. The write program selects all records in table CRMD_TSS_EVENTS that have not been updated within the last 365 days, and writes them to one or more archive files.

Note Note

Time stamp records in table CRMD_TSS_EVENTS for which no performance key figure has been calculated are not archived.

End of the note.

Before the write phase, you can use the write program in test mode to determine how many records can be archived.

For information about the write program, see Creating Archive Files.

2. Delete

Once you have written all records to the archive, you schedule the archiving-object-specific delete program to delete the archived data from the database. Before the program deletes data, it checks whether the data has been written to the archive file (read verification).

If you want to run the delete program for test purposes, without deleting data from the database, select the Test Mode checkbox.

For information about the delete program, see Deleting Archived Data from the Database.

Result

You have deleted all time stamp analysis records that meet the archiving criteria from the database, and saved them to external archive files. You can display archived records by choosing Read in Archive Administration.