WebSphere Adapter for SAP Software

Metadata of ALE business objects

The metadata generated by enterprise service discovery provides the adapter with instructions on how to process ALE business objects. The type of metadata generated depends on whether the business object represents an individual IDoc or an IDoc packet.

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.

Metadata is specified at the following levels:

Note: There is no metadata at the IDoc Data Record or IDoc Control Record child business object level.

Business-object-level metadata

Business object-level metadata for ALE business objects defines the top-level wrapper of an IDoc.

The following table describes the business-object metadata elements of an ALE business object.

Table 1. Business-object level metadata
Metadata element Description
Type The business object type. Possible values are IDOC or UNPARSEDIDOC.
Operation
Each outbound operation contains the following parameters:
Name
Name of the operation, which for outbound processing is always Execute.
Each inbound operation contains the following parameters:
Name
Name of the operation (Create, Updatewithdelete, or Delete).
MsgType
The message type configured for the IDoc.
MsgCode
The message code configured for the IDoc.
MsgFunction
The message function configured for the IDoc.
SplitIDocPacket For inbound operations, an indication of whether the IDoc packet needs to be split into individual IDocs. The possible values are true or false.

Property-level metadata

The following table describes the property-level metadata elements of an ALE business object.

Table 2. Property-level metadata
Metadata element Description
FieldName The actual IDoc field name in SAP.
SegmentHierarchy The hierarchy of the segment in the IDoc.
Offset The offset value of the current property in the IDoc.
PrimaryKey An indication of whether this property is a primary key.
ForeignBOKeyRef Used for the DummyKey property to hold the xpath to the primary key on the control or data record business object property, which you set using the business object editor in the enterprise service discovery wizard.

Operation-level metadata

The operation-level metadata for an ALE business object specifies the operation that posts the IDoc object to the SAP application.

The following table describes the application-specific metadata elements of an ALE business object operation.
Note: Outbound objects use only the Name metadata element. The MsgType, MsgCode, and MsgFunction elements are used for inbound objects only.
Table 3. Operation-level metadata
Metadata element Description
Name The name of the operation.
MsgType The message type configured for the IDoc (for inbound objects only).
MsgCode The message code configured for the IDoc (for inbound objects only).
MsgFunction The message function configured for the IDoc (for inbound objects only).

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)