Child business object structure

Each BAPI business object (child business object of the wrapper) represents a BAPI call. The business object properties correspond to the parameters of the BAPI call in SAP. These properties are defined by metadata in the business object.

The following diagram illustrates the BAPI child business object structure.

This image is described in the surrounding text.

BAPI child business object structure

The adapter supports both single- and multiple-cardinality relationships between business objects. A business object based on a BAPI can contain no more than two levels of hierarchy. Therefore, all BAPI simple parameters correspond to attributes of the top-level business object, and BAPI structure and table parameters correspond to child business objects that contain attributes only.

The mapping of the business object structure to the actual BAPI call in SAP is as follows:

Mapping of BAPIs to business objects

BAPI interface parameter SAP adapter business object property
Simple parameter A property of the business object. A simple property.
Structure parameter Single-cardinality child business object. A complex property because it is two-dimensional.
Property Maps to Field in the business object.
BAPI return Can contain a structure or a table parameter.
Table parameter Multiple-cardinality child business object. Three-dimensional.

Import and export parameters can be simple field or structure parameters.

The following figure illustrates the association between a business object and a BAPI. The figure illustrates a fragment of the SapBapiSalesorderCreatefromdat2 business object, which maps to the BAPI_SALESORDER_CREATEFROMDAT2 BAPI. Notice the child objects SapOrderHeaderIn and SapOrderItemsIn.

This image is described in the surrounding text.

BAPI business object mapping to SAP BAPIs


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)