A Business Application Programming Interface (BAPI) is a precisely defined interface providing access to processes and data in business application systems such as SAP systems.
BAPIs are defined as API methods of SAP business object types. These business object types and their BAPIs are described and stored in the Business Object Repository (BOR). A BAPI is implemented as a function module that is stored and described in the Function Builder.
As of Release 4.5A BAPIs can also describe interfaces, implemented outside the SAP System that can be called in external systems by SAP Systems. These BAPIs are known as BAPIs used for outbound processing. The target system is determined for the BAPI call in the distribution model of Application Link Enabling (ALE).
BAPIs used for outbound processing are defined in the Business Object Repository (BOR) as API methods of SAP Interface Types. Functions implemented outside the SAP System can be standardized and made available as BAPIs. For further information see BAPIs Used For Outbound Processing.
BAPIs can be called within the SAP System from external application systems and other programs. BAPIs are the communication standard for business applications. BAPI interface technology forms the basis for the following developments:
· New SAP components, for example, Advanced Planner and Optimizer (APO) and Business Information Warehouse (BW).
· Non-SAP software
· Legacy systems
· Isolating components within the SAP System in the context of Business Framework
· Distributed SAP scenarios with asynchronous connections using Application Link Enabling (ALE)
· Connecting SAP Systems to the Internet using Internet Application Components (IACs)
· PC programs as frontends to the SAP System, for example, Visual Basic (Microsoft) or Visual Age for Java (IBM).
· Workflow applications that extend beyond system boundaries
· Customers' and partners' own developments
The graphic below shows how BAPI interfaces enable different types of applications to be linked together.
For further background information on BAPIs refer to the document BAPI User Guide.