WebSphere Adapter for SAP Software

Business object structure for a simple BAPI

A business object for a simple BAPI call reflects a BAPI method or function call in SAP. Each business object property maps to a BAPI parameter. The metadata of each business-object property indicates the corresponding BAPI parameter. The operation metadata determines the correct BAPI to call.

For a simple BAPI that performs Create, UpdateWithDelete, Retrieve, and Delete operations, each operation is represented by a business object, with the business objects being grouped together within a wrapper that is contained in the business graph.
Note: The object definition can be associated with multiple operations, but only one operation is executed at run time. Each business object is a child of the wrapper and represents a complex property of the wrapper object.
Figure 1. Simple BAPI business structure
An illustration of a simple BAPI business graph, which contains a simple BAPI wrapper, which itself contains BAPI objects for CREATE, UPDATE, RETRIEVE, and DELETE operations.

The BAPI business objects are children of the business object wrapper, and, depending on the operation to be performed, only one child object in this wrapper needs to be populated at run time in order to execute the simple BAPI call. Only one BAPI, the one that is associated with the operation to be performed, is called at a time.

The following figure shows an example of a BAPI business object graph, which contains a verb and the BAPI business object wrapper.
Figure 2. Example of a BAPI business object graph
A screen capture of SAPCustomerListWrapperBG, showing that it contains a verb and the SapCustomerListWrapper object.
An example of a BAPI business object wrapper is shown in the following figure. The wrapper contains a BAPI business object.
Figure 3. Example of a BAPI wrapper business object
A screen capture of SapCustomerListWrapper, which contains the SapBapiCustomerGetList object.
The following figure shows an example of the BAPI business object. This object represents the CustomerGetList BAPI.
Figure 4. Example of a simple BAPI business object
A screen capture of a simple BAPI business object, SapBapiCustomerGetList.

Terms of use |

Last updated: Mon 30 Oct 2006 03:34:55

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