Bapi - Sap Abap
Bapi - Sap Abap
BAPIs are defined as API methods of SAP business object types but implemented as remote enabled
Function modules. These business object types and their BAPIs are described and stored in the
Business Object Repository (BOR).
An External Application System (May be as SAP system or any other system uses programming
language like Java Or Visual Basic Or C++) can make a call to BAPI.
SAP Business Objects : Real time objects, such as a sales order/billing doc can be represented as
business objects in business application systems ( R/3).
SAP Business Objects can be created with Tcode- SWO1 called as Business Object Repository. This BO
Repository allows to define Business Object, their interfaces, and BAPIs (API Methods).
Step8. Green color status without tick mark indicates that the Method is
Implemented but not released.
Step9. Green color status with tick mark indicates that the Method is
Implemented and also released.
Step13. To read the Business Objects and Methods The Tx- BAPI can be used.
Step16.
BAPI’s of two kinds: Instance Dependent & Instance Independent.
Instance-dependent BAPIs
Instance dependent BAPIs use instance of the object which the application should specify in the key
field of the business object.
The above BAPI: Salesoder.GetStatus() when called it should be passed with the value
(SALESDOCUMENT, VBELN).
Instance-independent BAPIs
Instance dependent BAPIs do not use particular instance of the Business Object type.
They mostly return a list of instances in a table to the calling program. The above
BAPI: Salesoder.GetList() is an example of instance independent BAPI.