Working with the BAPI interface

BAPIs are SAP standardized Business Application Programming Interfaces that enable third party systems to interact with SAP systems. These interfaces are implemented as RFC-enabled ABAP functions. The adapter supports outbound processing by modeling SAP BAPI function calls as business objects. These function calls are made to the SAP system, and can create, update, or retrieve data on that system. Because a BAPI is implemented as an RFC-enabled function, the adapter’s BAPI interface can support most RFC-enabled functions.

The following diagram illustrates how the adapter handles outbound processing for the BAPI interface.

This image is described in the surrounding text.

BAPI outbound processing

The following steps describe how the adapter supports outbound processing for the BAPI interface.
  1. The adapter converts a BAPI business object to a SAP JCo function call.
  2. The adapter then uses Remote Function Calls (RFCs) in the SAP RFC library to establish an RFC connection to the BAPI interface and executes the corresponding BAPI/RFC function call in the SAP application.
  3. After passing the data to SAP, the adapter handles the response from SAP and converts it back into the business object.
  4. The business object is then sent to the calling component (JCA client application).
The adapter supports the following kinds of BAPI calls:

Note that the BAPI/RFC interface supports after-image updates only.

The adapter provides local transaction support for the BAPI interface. The following BAPI calls support local transactions:
Related concepts
BAPI outbound sample application

Terms of use |

Last updated: Sun Mar 12 11:15:17 2006

(c) Copyright IBM Corporation 2005.
This information center is powered by Eclipse technology (http://www.eclipse.org)