Stage1: Creating a structure in SE11
Stage2: Creating the function module in SE37
Stage 3: Creating the business object in SWO1
Stage 4: Viewing the created BAPI in BAPI Explorer
Using BAPI,we can connect :
BAPIs are defined as API methods of SAP Business Object Types. These object types are used within the Business Framework to enable object-based communication between components. Business objects and their BAPIs enable object orientation to be used in central information processing in companies.
BAPI is a Business Application Programming which provides access to processes and data in business application systems such as R/@BAPIs are defined as API methods of SAP business object types. 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.
BAPI :
RFC:
BAPI:
BDC:
CALL FUNCTION...DESTINATION statement. The DESTINATION parameter tells the SAP System that the called function runs in a system other than the callers.
The return parameter RETURN contains success or error messages for the BAPI, and depending on the SAP R/3 Release has the dictionary structure BAPIRETURN, BAPIRETURN1, BAPIRET1, BAPIRET2.
The Business Object Repository (BOR) is root access point for the SAP business object types and their BAPIs. The BOR was developed for SAP Business Workflow.
For this reason BAPIs must not contain the following commands:
We can reduce the complexity of Systems structure by dividing the complex structures into smaller units.
A business object type is the representation of a business object, like an human work force or a Invoice, in an SAP System. It encompasses both the functions and the data into single object.
BAPI:
BAPI is a RFC enabled function module and we create business objects and registered in the BOR (Business Object Repository) which can be accessed outside the SAP system by using other applications (Non-SAP) Languages such as VB or JAVA. That time we only define the business object and its methods from external system.
RFC:
Communication between applications of different systems in the SAP environment including connections between SAP systems as well as between SAP systems and non-SAP systems. Remote Function Call (RFC) is the standard SAP interface for communication between SAP systems. The RFC calls a function to be executed in a remote system.