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 indicates the corresponding 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 that the object definition can be associated with multiple operations, but only one operation is executed at runtime. Each business object is a child of the wrapper, and represents a complex property of the wrapper object.

The business object has the following structure.

This image is described in the surrounding text.

BAPI business object structure

The wrapper business object, whose name is suffixed with Wrapper, is described by metadata. The following table defines the business object property names of a simple BAPI business object.

Metadata for wrapper of a simple BAPI business object
Business object property name Description
Type The type of the business object. For a simple BAPI the value is set to BAPI.
Operation
The valid operations include Create, UpdateWithDelete, and Delete. The specified operation metadata is defined in sapBAPIOperationTypeMetadata and contains the following:
  • Name: Name of the Operation.
  • MethodName: Name of the BAPI associated with the operation.

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)