SAP R/3 Document : Introduction To BAPI’S
Introduction to BAPIs
Definition
The SAP Business Objects held in the Business Object Repository (BOR) encapsulate theirdata and processes. External access to the data and processes is only possible by means ofspecific 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".
Use
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 aBAPI invocation in your application program, you only need to supply the appropriateinterface information. A BAPI interface is defined by:
- Import parameters, which contain data to be transferred from the calling program tothe BAPI
- Export parameters, which contain data to be transferred from the BAPI back to thecalling program
- Import/export (table) parameters for both importing and exporting data
Structure
The BAPIs in the R/3 System are currently implemented as function modules, all ofwhich are held in the Function Builder. Each function module underlying a BAPI:
- Supports the Remote Function Call (RFC) protocol
- Has been assigned as a method to an SAP Business Object in the BOR
- Is processed without returning any screen dialogs to the calling application
Download attached file: You must be Loged in to download file