Logging with Change Documents 
SAP Event Management logs the changes made to data related to event handlers in change documents. In this way, you can trace the changes made and can always check what was changed as well as when and how it was changed. This makes it easier for you to analyze errors.
You have activated logging with change documents in Customizing for SAP Event Management under
When the following data related to event handlers is changed, SAP Event Management writes a change document:
Event handler header data
Expected events
Info parameters
Control parameters
Query IDs
Tracking IDs
SAP Event Management can also create change documents for multiple event handlers at the same time. SAP Event Management creates change documents for data changes that you make directly using transaction /SAPTRX/EH_LIST or that you send to SAP Event Management with an event message. SAP Event Management also automatically creates a change document for each dependent change made to expected events, in other words, for all changes dependent on your manual changes. SAP Event Management saves these changes under the same user name.
You can display the change documents in the event handler details on the Change Documents tab (see Use of Event Handler Details ).
When you delete an event handler and the corresponding data in SAP Event Management, the system does not create a change document, but instead it deletes the relevant existing change documents. Even if you only delete the event handler header data, SAP Event Management also automatically deletes all the relevant event handler data and change documents.
If, however, you delete an event handler and the corresponding data in SAP Event Management and then create a new event handler with the same event handler GUID, the relevant existing change documents are retained.
When SAP Event Management archives event handler data, it also archives the relevant change documents at the same time. For archiving change documents, SAP Event Management uses the archiving object /SAPTRX/A0 to archive event handler data and the archiving object /SAPTRX/A2 to archive event handler set data.
Note
For more information about the concept behind logging with change documents and about the structure of change documents, see the SAP NetWeaver documentation on SAP Help Portal under .
See also: