Start of Content Area

Object documentation Event Handler  Locate the document in its SAP Library structure

Definition

An event handler represents a business process (for example, within a supply chain network) or a business object (for example, a purchase order, shipment, or production order) that is relevant to supply chain event management (SCEM-relevant). SAP Event Management (SAP EM) tracks this business process or business object.

An event handler contains expected, reported, or unexpected events and attributes to identify and track the related business processes.

Use

Application objects map business objects in the application system for the SCEM-relevant process. A business process can consist of one or more application objects. SAP EM creates just one event handler for each SCEM-relevant application object. Several event handlers can map a related business process.

The event handler contains all the information necessary to track just this one application object. It contains this information in a form that is independent of its origin, so that SAP EM can map and track business processes in a uniform way.

The event handler information makes it possible to process events that are reported to SAP EM for an application object, and to check if the actual events occur in line with the expected events. Examples of information are:

      Identifiers that are used in event messages (for example, container number, the service provider’s own shipment number, sales order number, and serial number)

      Events that SAP EM either expects or requires for an application object (for example, arrival at place of destination or proof of delivery)

      Information about the origin, destination, and interim stops

      Route and carrier information

      Shipment container number

      Weight, size, type, and temperature

Structure

The event handler determines the following:

      The expected events belonging to the application object

      An excerpt from the original data and master data (for example, business partners, locations, materials)

      The identifiers for internal and external reference

      The parameters

      The status

      The rules

The user defines the expected events and rules in SAP EM. This information is required for monitoring event message processing.

Integration

If you save an application object in the application system and the corresponding application object type is SCEM-relevant, SAP EM creates an event handler.

The application object ID together with the application object type and the business process type serve as a reference between the event handler in SAP EM and the corresponding application object in the application system.

 

 

 

 

End of Content Area