!--a11y-->
Archiving 
Batch programs have been provided to archive records in TRM and delete old data from log tables. These programs can be used to free space in the database and to provide accessible records for future reference.

For more information on archiving, see the SAP Library for Archiving Application Data (CA-ARC).
The following two objects can be archived:
Archiving Object |
Includes |
Pre-Archiving Checks |
Write Program |
Delete Program |
Read Program |
TRM_RES |
Resource’s log tables (structure, qualifications and lifecycle) |
Include: · Total status of the object is Logoff. · The object has reached the residence time, as determined in the variant by the user.
|
TRMRSWT001 |
TRMRSDL001 |
TRMRSRD001 |
TRM_REQ |
Request log Request item log Request network log Request-task progress audit trail table Task pool log Task lifecycle log Task actual execution data Route log Priority log |
Include: · Total status of the object is completed or cancelled. · The object has reached the residence time, as determined in the variant by the user. · All the objects that belong to the object's group satisfy the archiving conditions.
|
TRMRQWT001 |
TRMRQDL001 |
TRMRQRD001
|
...
1. During the archiving run, the objects are checked on the basis of different criteria as to whether they can actually be archived.
2. The objects are written to an archive file.
3. The objects are deleted from the database.
4. Data objects in the archive files can be read using separate display programs.
