Show TOC

Archiving the Read Access Log with SRALLocate this document in the navigation structure

Use

You use the archiving object SRAL to define archiving and deletion rules for data that has been logged by Read Access Logging. Since Read Access Logging is always assigned to a logging purpose, you define archiving rules on the basis of this purpose.

You can use the ADK class SRAL to combine the archiving object with another archiving object.

Prerequisites

To read and write data to the archive, you need to be assigned the authorization object S_RAL_LOG with activity 03.

To delete data from the archive, you need to be assigned the authorization object S_RAL_LOG with activity 06.

Procedure

Writing Data to the Archive

  1. Start Archiving Administration (transaction code SARA) and display the archiving object SRAL.

  2. Define a variant for the write program SRAL_WRI and specify a retention period. For example, you can base this on a logging purpose.

  3. Start the write program SRAL_WRI .

Deleting Archived Data from the Database

Data that has been saved to an archive can be deleted from the database.

  1. Start Archiving Administration (transaction code SARA) and display the archiving object SRAL.

  2. Define a variant for the delete program SRAL_DEL and specify when the deletion should take place.

  3. Select the archive to delete the data that has been saved to this archive from the database.

  4. Start the delete program SRAL_DEL.

Reading and Reloading Data in the Archive

To read archived data, start Read Access Logging Manager (transaction code SRALMANAGER. You can also start the read program SRAL_REA.