Business Application Programming Interfaces (BAPI) provide a way for third-party applications to integrate data with SAP. You use BAPIs to create, change, delete, list, and detail objects in SAP.
The Business Application Programming Interfaces allow object-oriented access to the SAP system through methods for the business object types. Together with the business object types, BAPIs define and document the interface standard at the business level.
BAPIs also provide an object-oriented view of business components in SAP. You define BAPIs in the SAP Business Objects Repository. You implement and store them as Remote Function Call (RFC) enabled function modules in the Function Builder of the ABAP Workbench. You can call BAPIs as an ABAP program within SAP. You use RFCs to call BAPIs outside of SAP.
Use a BAPI/RFC transformation to create, change, or delete data in mySAP applications. When you run a session with a BAPI/RFC transformation, the PowerCenter Integration Service makes the RFC function calls to SAP to process SAP data.
You can use a BAPI/RFC transformation for one of the following reasons:
Migrate data to SAP.
For example, your organization uses PeopleSoft applications for enterprise purchasing management. You want to migrate to mySAP applications to manage enterprise purchasing. Use PowerExchange for for PeopleSoft to extract data from PeopleSoft and a BAPI/RFC transformation to write purchase management data to mySAP applications.
Synchronize data in SAP.
For example, a mySAP application contains customer orders. You want to add line items to some of the orders. You can use a BAPI/RFC transformation to make a BAPI/RFC call to add the line items to the orders in SAP.