WebSphere Adapter for SAP Software

Metadata of BAPI business objects

The metadata generated by enterprise service discovery provides the adapter with instructions on how to process BAPI business objects. Metadata is generated at the business-object level, the operation level, and the property level.

You can view (and modify) the metadata values associated with the business object. Use the Properties tab within WebSphere® Integration Developer to modify the values.
Note: Do not change the metadata element name.

Business-object-level metadata

Business-object-level metadata for BAPI business objects defines the top-level wrapper.

The following table describes the business-object metadata elements of a simple BAPI business object.

Table 1. Metadata for wrapper of a simple BAPI business object
Metadata element Description
Type The business object type. 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 the sapBAPIOperationTypeMetadata tag and contains the following:
  • Name: Name of the operation.
  • MethodName: Name of the BAPI associated with the operation.

The following table describes the business-object metadata elements of a BAPI transaction.

Table 2. Metadata for a BAPI transaction business object
Metadata element Description
Type The business object type. For a BAPI transaction business object, this value is always BAPITXN.
Operation
The valid operations include Create, UpdateWithDelete, and Delete. The specified operation metadata is defined in the sapBAPIOperationTypeMetadata tag and contains the following parameters:
  • Name: Name of the Operation.
  • MethodName: Name of the BAPI associated with the operation.

Property-level metadata

Property-level metadata can represent child objects or an array of child objects.

The following table describes the metadata elements of a complex property (child) or structure/table property (array of child objects).

Table 3. Property-level metadata
Metadata element Description
FieldName The BAPI field name as represented in SAP.
FieldType The type of the property as it exists in SAP.
PrimaryKey A boolean that indicates whether this property is a primary key.
ParameterType Identifies the direction of the mapping.
  • If the value is IN, the property is mapped from the business object to the BAPI.
  • If the value is OUT, the property is mapped from the BAPI in the SAP system to the business object.
  • If the value is INOUT, the property is mapped both ways (BAPI to business object and business object to BAPI).

Operation-level metadata

The metadata for an operation specifies the method name of the BAPI in the SAP system. This name is used by the adapter to execute the BAPI.

The following table describes the operation-level metadata elements of a BAPI business object.

Table 4. Operation-level metadata
Metadata element Description
MethodName The name of the BAPI call (method) in the SAP system.
Name The name of the business object operation associated with the MethodName.

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)