The SAP Business Objects held in the Business Object Repository (BOR) encapsulate their data and processes. External access to the data and processes is only possible by means of specific methods – BAPIs (Business Application Program Interfaces). A BAPI is defined as a method of a SAP Business Object. For example, the functionality that is implemented with the SAP Business Object type “Material” includes a check for the material’s availability. Thus, the Business Object type “Material” offers a BAPI called “Material.CheckAvailability”.
To use a BAPI method, an application program only needs to know how to call the method; that is, it needs to know the method’s interface definition. Therefore, when including a BAPI invocation in your application program, you only need to supply the appropriate interface information. A BAPI interface is defined by:
- Import parameters, which contain data to be transferred from the calling program to the BAPI
- Export parameters, which contain data to be transferred from the BAPI back to the calling program
- Import/export (table) parameters for both importing and exporting data
In this document, you will get to understand basics, integration and advantages of BAPI method.