Business Application Programming Interfaces (BAPIs) are standard SAP interfaces that enable software vendors to integrate their software into the mySAP Business Suite. BAPIs are implemented using RFC (Remote Function Call) enabled function modules inside SAP systems. BAPIs are defined in the Business Object Repository (BOR) as methods of SAP business objects that perform specific business tasks.
Oracle BPM uses the SAP Java Connector (JCo) to use BAPIs to access SAP. The SAP Java Connector (JCo) is a toolkit that allows Java applications to communicate with SAP systems. JCo is an encapsulation of the RFC Library that supports all features of RFC. Oracle BPM is certified to work with versions 2.0.7 and 2.0.12 of the SAP JCo library.
You must also rename sapjco.jar to sapjco-2.0.jar and copy it to the following directory of BPM Studio: <ORABPM_HOME>/studio/eclipse/plugins/fuego.sap_6.5.0/lib/.
| SAP Object | Description |
|---|---|
| BAPI Objects | An object is created for each of the introspected BAPIs |
| SAP Structures | Represent SAP structures which are a set of attributes. |
| SAP Tables | Represent an SAP table where each row has a set of attributes |
| Imports | Input arguments for the BAPI. |
| Exports | Output arguments for the BAPI |
| Tables | Input/Output arguments for the BAPI. |
| Call Method | Used to invoke BAPI. |
Use the currentRow attribute to access the fields in the current row and the rows attribute to get an iterator to access all the rows in a for each statement.