Start of Content Area

Object documentation Business Application Programming Interface in SAP EM  Locate the document in its SAP Library structure

Definition

A Business Application Programming Interface (BAPI) is a standardized programming interface that provides external access to the SAP system’s business processes and data.

Use

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:

...

       1.      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.

       2.      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.

       3.      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.

       4.      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 SAP Technology Components Cross-Application Functions BAPI User Guide (CA-BFA) 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 Supply Chain Management Event Management Event Handler.

Note

For more information about implementing a BAPI that SAP EM calls, see SAP Service Marketplace at service.sap.com/scm Supply Chain Event Management Detailed Information.

 

 

End of Content Area