Schedule these background Jobs
· /SAPTRX/PROCESS_LOCKED_EH (6x a day)Processor of locked event handlers is a scheduled regular job in transaction /saptrx/emjobs. For more information, see SAP Note 656990.
· /SAPTRX/PROCESS_LOCKED_EHSETS (6x a day)
Processor of locked event handler sets is a scheduled regular job in transaction /saptrx/emjobs. For more information, see SAP Note 656990.
· /SAPTRX/COLLECT_UNPROC_EVMSG (6x a day)
Number of unprocessed event messages in the desired client
· /SAPTRX/R_REPOST_AI_LOGS (6x a day)
Resend Application Object Data for Event Handlers is a scheduled regular job in transaction /saptrx/emjobs. For more information, see SAP Note 656990.
· /SAPTRX/EE_MONITOR (3-5 min)
Expected Events Monitor is a scheduled background job that continuously identifies expected events that are overdue. If an event has exceeded the expected date, the status is updated to Overdue and an expected event monitor procedure (for example, alert notification) is executed, if defined. To schedule the background job use transaction /SAPTRX/EMJOBS
· /SAPTRX/COLLECT_LOCKED_EH (6 times per day (when working with EH Sets))
Number of locked event handlers in the desired client is a scheduled regular job in transaction /saptrx/emjobs. For more information, see SAP Note 656990.
· /SAPTRX/COLLECT_LOCKED_EHSETS (6 times a day)
Number of locked event handler sets in the desired client is a scheduled regular job in transaction /saptrx/emjobs. For more, see SAP Note 656990.
Restart these jobs on a system restart.
Archiving
TCode: SARA
Objects:
· /SAPTRX/A0 Event Handler
· /SAPTRX/A1 Event Messages
Application Logs
An application log is available for both the application system and SAP EM. This provides information about communication operations and problems that occurred while event handlers were being created, event messages were being processed, or information was being queried.
· Application System: TCode: /SAPTRX/ASAPLOG: The application log in the application system provides you with an overview of all the activities relevant to an application object as well as the appropriate event messages. You can reduce the memory space for the application log by deactivating it per business object.
· SAP EM: TCode: SLG1: The SAP EM application log provides you with an overview of all activities for an event handler and for its corresponding event messages that have occurred during event handler processing.
Fastest Growing Tables for SAP EM
The fastest growing tables depend on the number of parameters, rules, and expected events that you have. For event handlers, pay special attention to all tables beginning with prefix /SAPTRX/EH_*, for example:
· /SAPTRX/EH_INFO
· /SAPTRX/EH_EXPEV
· /SAPTRX/EH_EVMSG
If you use customer-specific extension tables, pay special attention to these tables. For event messages it is also depends on how the customer uses SAP EM. If using file attachments pay special attention to all tables beginning with prefix /SAPTRX/EVM_*, for example:
· /SAPTRX/EVM_AFB
· /SAPTRX/EVM_AFC
On the application system side, pay special attention to the table /SAPTRX/AOTREF
Monitoring Transactions
· Application Server
o SMQ1 – Outbound qRFC (destination SCM server)
o SMQ2 – Inbound qRFC (em*)
o /SAPTRX/ASAPLOG – SAP EM Application log
· SAP EM Server
o /SAPTRX/EH_LIST
The event handler list provides details about an event handler. The status of events, event and error messages, and status details are all contained within the event handler list.
o /SAPTRX/EVM_STATUS
The event message processing status list shows system generated messages and points out whether objects are processed correctly in SAP EM. The list reflects only data errors, not business process issues.
o /SAPTRX/EE_MON
The expected event monitor is a report that the system starts as a background process. It checks whether expected events that should be reported within a specific period of time have since become overdue. If the monitor discovers an overdue event, SAP EM reacts according to the rules that have been defined, for example, by sending an e-mail to react to these overdue events.
o /SAPTRX/LOCKED_PROC
This report triggers subsequent processing of event messages that arrive for an event handler at a time when SAP EM is locking it.
o /SAPTRX/LOCKED_PSET
The report assigns an event handler once again to an event handler set that SAP EM is locking.







