Show TOC

Object documentationArchiving Event Messages (SCM-EM) Locate this document in the navigation structure

 

You use the archiving object SAPTRX_EVM to archive and delete event messages for high data volumes (see Data Archiving for High Data Volumes).

 

You can archive and delete the event messages that you no longer need. You cannot delete existing change documents when you delete event messages. If the archive is used, the display of event messages from superior event handlers in the hierarchy is not possible.

Caution Caution

SAP Event Management does not process event messages for event handlers that are already set to Inactive on the basis of a rule in the rule set. However, you can also enable an event message processing for these event handlers. In this case, data inconsistencies between the data in the system and the data in the archive can occur.

For more information, see Customizing for SAP Event Management under   Event Messages, Status Queries, and Web Interface   Define Criteria for Event Message Processing  .

End of the caution.

The archiving sequence is important for this archiving object. For more information, see the following documents:

Note Note

We recommend that you test higher values for the commit counter.

End of the note.

Structure

Tables

SAP Event Management uses the archiving object SAPTRX_EVM to archive data from various tables. For more information on how to display the table names, see Tables and Archiving Objects.

Programs

The following programs are delivered for the archiving object SAPTRX_EVM:

Program

Function

/SAPTRX/ARCHIVE_EVM_WRITE

Write

/SAPTRX/ARCHIVE_EVM_DELETE

Delete

/SAPTRX/ARCHIVE_EVM_RELOAD

Reload

Write

The program checks which selected event messages exceed the residence time and then writes them in archive files. For more information, see the documentation for the write report /SAPTRX/ARCHIVE_EVM_WRITE in SAP Event Management.

Delete

The program deletes event message data in the database after the write program has written them to archive files. For more information, see the documentation for the delete report /SAPTRX/ARCHIVE_EVM_DELETE in SAP Event Management.

Reload

The program reloads event message data from archive files back into the database. For more information, see the documentation for the delete report /SAPTRX/ARCHIVE_EVM_RELOAD in SAP Event Management. Reload data in exceptional situations only (see Reloading Data).