Business Application Programming Interface in SAP EM 
A Business Application Programming Interface(BAPI) is a standardized programming interface that provides external access to the SAP system’s business processes and data.
You use SAP Event Management (SAP EM) to provide transparency within processes. These processes can occur in one or more SAP or external systems. BAPIs connect SAP systems or external systems to SAP EM.
The typical business use of SAP EM consists of the following processes:
An activity in an application system (for example, creating a purchase order or a shipment) triggers the creation of an event handler in SAP EM. These contain the planned and unplanned events or milestones. SAP EM tracks these events.
The event message reporters (for example, employees, partners, or systems) send event messages to SAP EM. These event messages update the actual information (for example, date, time, or location) about an event.
In most cases, the people or systems report the actual events (for example, a goods receipt for a purchase order, or the arrival of the forwarding agent for a shipment) in this process.
Those involved in the business process query information about an event or event handler.
The following BAPIs are available in SAP EM for these processes:
BAPI_EH_POST for creating event handlers in SAP EM
BAPI_ADDEVENTMSG_02 for sending event messages to SAP EM
BAPI_EH_GET_DATA for querying information from SAP EM
Note
For more information about Business Application Programming Interfaces, see the SAP Library under or BAPI Programming Guide (CA-BFA).
Recommendation
To gain an overview of the BAPIs that can be used in SAP EM, call transaction BAPI in the system . On the Hierarchical tab page, choose
Note
For more information about implementing a BAPI that SAP EM calls, see SAP Service Marketplace at .