
You can archive logs that you no longer need, but which must still be retained in an accessible form. The logs are written in archive files and then deleted from the system in a background process.
The corresponding archiving and delete jobs must be scheduled in archive administration (transaction SARA). The object name is ECATT_LOG. For more information, see Archive Administration.
There are two ways to archive logs:
The first option is to set the archive flag directly for selected logs, so that these are written to the archive.
The second option is to set the archive flag in the Test Workbench or Test Organizer for entire test plans. This archive flag differs from the one mentioned above in that it is a mass function; you can use it for entire test packages to define that only the last log of a test case is to be archived. This reduces the load on your database and you do not have to set the flag manually for individual logs.
Setting the Archive Flag in the Log
Only logs which have this flag (X), and whose expiry date is not later than the current system date, are archived. To set the archive flag in the Archive field of the log attributes, proceed as follows:
On the
Extended Computer Aided Test Tool: Initial Screen, choose
.
The eCATT Log Selection screen appears.
Enter the selection criteria and choose
.
A list of all logs that satisfy the selection criteria is displayed.
Select a row containing the log to be archived.
Choose
to toggle the archive flag.
Setting the Archive Flag in the Test Workbench or Test Organizer
To use this function, you need the corresponding authorization for authorization object S_ECATTADM. Note that only the log of the last test run is archived if you set this flag.
There are various ways to get to the dialog box for setting this archive flag:
In test plan management (transaction STWB_2), you can choose either test package management or status overview. Select the test package for which you want to set the archive flag. Choose .
Set the flag in the status info system of the Test Organizer (transaction STWB_INFO). Select the test package and choose .
A dialog box appears where you can set the flag for archiving the current logs. You have the following options:
Test Mode: This is just a simulation. Nothing is changed in the database.
Summary: After you have confirmed your entries, an ALV grid is displayed showing the changes made.
You can set or remove the archive flag for archiving the logs of the last test runs.
Depending on where you are in the hierarchy, the archive setting is activated or deactivated for this and any underlying nodes.
Confirm your entry.
You have:
Activated log archiving for individual logs, or
Defined that the logs of the last test runs are to be archived for entire test packages
You can display archived logs as follows:
On the
Extended Computer Aided Test Tool: Initial Screen, choose
.
The eCATT Log Selection screen appears.
Select Display Archive. The selection is executed for archived logs as well.
Enter the selection criteria and choose
.
A list of all logs that satisfy the selection criteria is displayed.
In the Archive column, "A" indicates that the respective log has already been archived. The icons in the Status column also change.
Select the number of the log that you want to display.
The log is displayed as a hierarchical structure in which you can navigate.