Errors might occur when you configure the Backend Event Publisher or apply it in your code.
Backend Event Publisher has two categories of errors:
These errors occur due to publishing activities. They are written to the local application log.
These errors occur due to subscription activities. These errors are returned to the calling system, in this case SAP Gateway and not written to the applications log.
Errors that occur in the backend SAP system are displayed in the backend SAP system, and errors that occur in a SAP Gateway system are displayed in the SAP Gateway system.
To view errors that have occurred use transaction SBGRFCMON. In addition, you can use the application log /IWBEP/.
Use transaction SWEL to display all business object events that occurred in the system, not just the ones related to Backend Event Publisher.
The implementation checks for the following before returning errors:
Checks for the specified event group ID in the Backend Event Publisher tables. If the specified event group ID does not exist, it sends an error to the event initiator, the SAP Gateway system.
Checks for the specified system alias for SAP Gateway. If the specified system alias does not exist in the Backend Event Publisher tables, it sends an error to the event initiator, the SAP Gateway system.
Checks if a user has subscribed to receive an event. If the user has already requested for an event, it returns an error to the initiator, SAP Gateway.