The properties of the attributes of a top-level business object differ depending on whether the attribute represents a simple value, or a child or an array of child business objects.
SAPODA generates the attribute properties as described in each table.
Table 32. Simple attributes properties: Top-level business object
Property Name | Description |
---|---|
Name | Derived from the description of the BAPI parameter. SAPODA replaces special characters (such as periods, slashes, and spaces) with underscores. |
Type | Specifies the type of data. SAPODA sets the value to String. |
MaxLength | Specifies the field length of the BAPI parameter. |
IsKey | Specifies whether the attribute is the key. The first simple attribute of a business object defaults to the key attribute. The connector does not support using an attribute that represents a child business object or an array of a child business objects as a key attribute. Therefore, if the BAPI provides only structure and table parameters, you must insert a simple attribute as the first attribute. SAPODA inserts the Dummy_key attribute as the first attribute, marks it as the key attribute, and sets appropriate values. Do not modify those values. For more information, see "Supporting BAPIs". |
IsForeignKey | SAPODA sets the value to false. |
IsRequired | Specifies whether an attribute must contain a value. SAPODA sets the value to false. |
AppSpecificInfo | Contains the name of the BAPI parameter that corresponds to the associated attribute. The format is: IABAPFieldName:EABAPFieldNameFor more information on the application-specific information, see "Business object application-specific information". |
DefaultValue | Specifies the value to assign to this attribute if there is no run-time value. SAPODA does not set a value for this property. |
Table 33 lists and describes the attributes that represent a child or array of child business objects. SAPODA generates the properties described below.
Table 33. Properties of an Attribute that Represents a Child or Children
Property Name | Description |
---|---|
Name | The value is the name of the structure or table parameter. The format is: BOprefix_BAPIParameterName. |
Type | The value is the type of child business object; in other words, the type is BOprefix_BAPIParameterName. |
ContainedObjectVersion | SAPODA sets the value to 1.0.0. |
Relationship | SAPODA sets the value to containment. |
IsKey | SAPODA sets the value to false. |
IsForeignKey | SAPODA sets the value to false. |
IsRequired | Specifies whether an attribute must contain a value. SAPODA sets the value to false. |
AppSpecificInfo | Contains the name of the BAPI parameter that corresponds to the associated attribute. The format is: IBAPIParameterName:EBAPIParameterNameFor more information on the application-specific information, see "AppSpecificInfo for attributes". |
Cardinality | BAPI structure parameters have single cardinality (1) and BAPI table parameters have multiple cardinality (n). |