Overview of Possible Statuses of an Event Handler 
The search and display of both archived data and data from the application depends on the status of the relevant event handlers. You can find an overview of these statuses below.
You have made all the necessary Customizing settings for archiving in SAP Event Management under .
This table gives an overview of the possible statuses of an event handler.
Indicator Event Handler Is Active (/SAPTRX/EH_ACTIVE) is set |
Indicator Event Handler Archived (/SAPTRX/EH_ARCHIVED) is set |
Sending of event messages is possible |
Comment |
|---|---|---|---|
Yes |
No |
Yes |
Standard case: event handler is saved in database and is active. |
No |
No |
Yes, if you defined criteria to allow the system to send event message to an event handler that has been set to Inactive in Customizing for SAP Event Management. |
Event handler is saved in database but is inactive. |
No |
Yes |
No |
Event handler is saved in database and logically archived. This means that the archive report is already executed but the event handler still physically exists in the database. |
No |
Yes |
No |
Event handler is archived. This means that the deletion report is already executed and the event handler is deleted in the database. |
In this standard case, SAP Event Management saved an event handler in the database and marked it as active using the indicator /SAPTRX/EH_ACTIVE Event Handler Is Active. You can send event messages for this event handler. SAP Event Management processes these event messages depending on your Customizing settings. The system does not archive the event handler.
In this case, SAP Event Management saved an event handler in the database but the event handler is inactive. This means the indicator /SAPTRX/EH_ACTIVE Event Handler Is Active is not set. In the standard case, you cannot send event messages for this inactive event handler. SAP Event Management does not process these event messages. In Customizing for SAP Event Management, you can define criteria to allow the system to forward or process an event message for an event handler that has been set to Inactive on the basis of a rule in the rule set. For more information, see Customizing for SAP Event Management under . The system does not archive the event handler.
In this case, SAP Event Management saved an event handler in the database, but the event handler is inactive. This means the indicator /SAPTRX/EH_ACTIVE Event Handler Is Active is not set. SAP Event Management also archived the event handler logically. This means the indicator /SAPTRX/EH_ARCHIVED Event Handler Archived is set and the archiving report has already been executed. However, the event handler still physically exists in the database. SAP Event Management does not process event messages that you send for the logically archived event handler.
In this case, SAP Event Management saved an event handler in the database, but the event handler is inactive. This means the indicator /SAPTRX/EH_ACTIVE Event Handler Is Active is not set. SAP Event Management also archived the event handler. This means the indicator /SAPTRX/EH_ARCHIVED Event Handler Archived is set, and both the archiving and the deletion reports have already been executed. SAP Event Management deleted the event handler in the database. The application does not process event messages that you send for the archived event handler.