WebSphere Message Brokers
File: rbp_sap_boappspec_ale
Writer: Karen Cameron

Reference topic

This build: July 31, 2007 21:40:38

ALE business objects

The metadata generated by enterprise metadata 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.

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 is metadata that defines the top-level wrapper of an IDoc. The following table describes the business-object metadata elements of an ALE business object.

Table 1. Metadata for business objects
Metadata element Description
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. If you select the corresponding property (check box) in the Adapter Connection wizard, make sure you set this property to true.
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, Update, 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.
The following illustration is an example of ALE business object metadata for an outbound operation:

Property-level metadata

Property-level metadata is metadata that either represents child objects or an array of child objects. 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 The xpath to the primary key on the control or data record business object property, which you set using the Adapter Connection wizard.
MaxLength The length of the field.
The following illustration is an example of ALE property-level metadata for the Receiver Port property:

Operation-level metadata

Operation-level metadata for an ALE business object is metadata that 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).
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2007Copyright IBM Corporation 1999, 2007. All Rights Reserved.
This build: July 31, 2007 21:40:38

rbp_sap_boappspec_ale This topic's URL is: