Bapi (Business Application Programming Interface)
Bapi (Business Application Programming Interface)
• BAPI – Methods
Structure
BAPI in R/3 Implemented as Function Modules. Each function
module underlying a BAPI :
Support RFC
Must be Method of Business Object
No Dialog Screen Involved
SAP- Business Object
Repostiory
Business Object Repository is the Object Oriented
repository in R/3 System , it contains among other objects.
SAP Business Object and Their Methods.
In Business Object Repository BAPI is defined as the
method of Business Object which is remoted enabled.
KERNAL
(DATA)
INTERFACE (BAPI)
Export Parameters
Table Parameters
Advantages
Business Standard
Standards Conformance
Stability and Downward Compatibility
Object Orientation
Openness
BAPI -Methods
Read Only Method
– GetList
– GetDetail
– GetStatus
– ExistenceCheck
Data Change Methods
– Create/CreateFromData
– Change
– Delete
Replication Methods
– Replicate
– Clone/CloneMulitple
BAPI – Development
Process
Transaction Model for BAPI Implementation
– SAP -3.0 Implicit COMMIT WORK for Data Modifying
BAPI.
– SAP4.X Use of BAPI_TRANSACTION_COMMIT.
BAPI Transactions - LUW and Statelessness
– Initial State Each Time BAPI Called
– No Functional Dependencies
– All or Nothing Principle
– No Exception Parameters, BAPI used RETURN
structure.
SAP- Function Module
Implementation – Keys
– COMPANYCODE BAPI1008-COMP-CODE
• 1008 – Function Group Name
– Business Object method naming convention
Example
– BAPI_CREDITOR_GETDETAIL
– BAPI_SALESORDER_GETSTATUS
BAPI- References
http://www.sappoint.com/abap
http://help.sap.com/saphelp_46c/helpda
ta/en/a5/3ec8534ac011d1894e0000e82
9fbbd/content.htm