Show TOC

Archiving LogsLocate this document in the navigation structure

Use

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.

Prerequisites

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.

Procedure

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:

  1. On the Extended Computer Aided Test Tool: Initial Screen, choose Log .

    The eCATT Log Selection screen appears.

  2. Enter the selection criteria and choose Execute .

    A list of all logs that satisfy the selection criteria is displayed.

  3. Select a row containing the log to be archived.

  4. Choose Archiving On/Off 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.

  1. 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 Start of the navigation path Goto Next navigation step Automatic Test End of the navigation path.

    • Set the flag in the status info system of the Test Organizer (transaction STWB_INFO). Select the test package and choose Start of the navigation path Goto Next navigation step Automatic Test End of the navigation path.

  2. 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.

  3. Confirm your entry.

Result

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:

  1. On the Extended Computer Aided Test Tool: Initial Screen, choose Log .

    The eCATT Log Selection screen appears.

  2. Select Display Archive. The selection is executed for archived logs as well.

  3. Enter the selection criteria and choose Execute .

    A list of all logs that satisfy the selection criteria is displayed.

  4. In the Archive column, "A" indicates that the respective log has already been archived. The icons in the Status column also change.

  5. Select the number of the log that you want to display.

    The log is displayed as a hierarchical structure in which you can navigate.