Property-level metadata

The adapter uses the value of a property’s metadata, or application-specific information, to determine which importing, exporting, and table parameters to use.

BAPI business objects can have the following properties:
  • Properties that represent child objects
  • Properties that represent an array of child objects

With regard to importing and exporting parameters, the business object property has a metadata element called ParameterType that indicates whether the property represents an Import (IN) or Export (OUT) or Import and Export (INOUT) parameter. This identifies the direction of the mapping: adapter business object to SAP BAPI or BAPI to business object. If the value is IN, the property is mapped from the business object to the BAPI. If value is OUT, the property is mapped from the BAPI in the SAP software 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)

The following table describes the application-specific information, or metadata, of a complex property (child) or structure/table property (array of child objects).

Property-level metadata
Metadata name 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 or not this property is a primary key.
ParameterType Indicates whether this property is an Import (IN) or Export (OUT) or Import and Export (INOUT) parameter.

Terms of use |

Last updated: Sun Mar 12 11:15:18 2006

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