IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Services and service-related functions > Access external services with adapters > Configure and using adapters > IBM WebSphere Adapters > SAP Software > SAP interfaces > BAPI work unit interface

Business object structure for a BAPI work unit

A business object that represents a BAPI work unit (also known as a BAPI transaction) is actually a wrapper object that contains multiple child BAPI objects. Each child BAPI object within the wrapper object represents a simple BAPI.

The adapter supports a BAPI work unit using a top-level wrapper business object that consists of multiple child BAPIs, each one representing a simple BAPI in the sequence. The BAPI wrapper object represents the complete work unit, while the child BAPI objects contained within the BAPI wrapper object represent the individual operations that make up the work unit.

Figure 1. Example of a top-level wrapper object for a BAPI work unit

The adapter uses the sequence of operations in the operation metadata to process the BAPIs in the work unit.

Each second-level child business object represents a structure parameter or table parameter of the method. Simple attributes correspond to simple parameters of the method.

This object, which contains the results of the BAPI operation, is named according to the convention Sap + Name of the structure. For more information about naming conventions, refer to Naming conventions for BAPI business objects.

Additional information about the business object can be found in the application-specific information of the business object.

For example, the application-specific information for a BAPI work unit lists the type of BAPI and the operations that make up the work unit.

Figure 2. Application-specific information for a BAPI work unit

The adapter does not provide an automated rollback mechanism for BAPI work units. Rollback of a BAPI work unit can be achieved in one of the following ways:

The BAPI work unit interface