/SAPTRX/BAPI_EH_POST - Create or Update One or Multiple Event Handlers

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Functionality

This function module (basis for a BAPI) is used to create one or more new event handlers and/or to update one or more existing event handlers in SAP Event Management (SAP EM).

The function module requires several application objects as input parameters. Application system parametersare assigned to each application object. These are first mapped onto the corresponding SAP EM parameters.SAP EM then determines the event handler type, before either creating or updating an event handler with this event handler type.

The parameters that are mapped include control parameters (table CONTROLDATA) and info parameters (tableINFODATA). Control parameters are used in event handler determination, while info parameters are simplyused to retrieve event handlers based on typical properties (for example, in the case of a delivery, the number of the sales order to which the delivery belongs).

In addition, the following data is transferred to SAP EM, where it forms part of the event handler data:

  • Milestone data (table MILESTONEDATA) that defines a list of expected events for the event handler
  • Measurement data (table MEASUREMENTDATA)
  • Tracking ID data (table TRACKIDDATA). A tracking ID can be used to identify either an individualevent handler or a group of event handlers to which events are to be sent. Multiple tracking IDs canalso be used. The tracking ID is defined for each tracking ID code set, that is, a tracking ID is unique within its code set.
  • Info object data (table INFOOBJDATA) that describes the business object type and identificationthat is affected by event handler data (for example, business object type Deliveryand the delivery number).

The OBJECTSTATUS table is a return parameter that informs the calling application system on the processingstatus of the application objects sent with the call (for example, whether an event handler was created or updated successfully). The table is returned only for synchronous calls.

The RETURN table includes the processing log for the event handler creation or update and is sent back to the application system that invoked the call. The table is returned only for synchronous calls.

Parameters

ACKN_DATA
APPLOBJECTS
CONTROLDATA
EXTENSIONIN
EXTENSIONOUT
INFODATA
INFOOBJDATA
MEASUREMENTDATA
MILESTONEDATA
OBJECTSTATUS
RETURN
SIMULATE
TRACKIDDATA

Exceptions

Function Group

TRX/SAPLEH_BAPIS

rdisp/max_wprun_time - Maximum work process run time   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.


Length: 4138 Date: 20120525 Time: 055520     triton ( 132 ms )