WebSphere Adapter for SAP Software

Operations and verbs of ALE business objects

ALE IDoc business objects support operations and verbs. The operations that are supported vary, depending on whether the business object is an outbound or inbound object. Verbs are used in inbound business object processing only; they are ignored in outbound business objects.

Supported operations

The operation of an ALE outbound business object is invoked by the client application that makes calls to SAP through the adapter. The client must be designed so that the calls made by its InteractionSpec implementation invoke the operations. The adapter supports the following outbound operation.

Table 1. Supported operation: ALE outbound business objects
Operation Definition
Execute Posts the IDoc business object to the SAP application. This is a one-way, asynchronous operation.
  • If you are using the CWYAP_SAPAdapter.rar version of the adapter, no response is sent back.
  • If you are using the CWYAP_SAPAdapter_TX.rar version of the adapter, the transaction ID is returned.

For all other operations, the adapter logs the appropriate error and raises a ResourceException.

For ALE inbound business objects, the application-specific information of an operation is used to set the verb of the business graph. The application-specific information of an operation contains the message type, message code, and message function for an IDoc type. The business graph verb corresponds to the operation that has application-specific information matching the Control record fields. The adapter supports the following inbound operations.

Table 2. Supported operations: ALE inbound business objects
Operation Definition
AfterImageCreate The top-level business object and all contained children are created.
AfterImageUpdateWithDelete The top-level business object is or should be modified. This operation can include adding and deleting child objects. Any deleted child objects are known and reflected.
AfterImageDelete The top-level business object and any contained children are or should be deleted.

Supported verbs

ALE inbound business objects support the following verbs:

Table 3. Supported verbs: ALE inbound business objects
Verb Definition
Create The top-level business object and all contained children are created.
UpdateWithDelete The top-level business object is or should be modified. This can include adding and deleting child objects. Any deleted child objects are known and reflected.
Delete The top-level business object and any contained children are or should be deleted.
The adapter sets the verb property of the business graph for the ALE business object before sending the business object to the endpoint. The adapter determines the verb by comparing the metadata defined in the application-specific information of the business object operations with the following IDoc Control Record fields:
  • Logical_message_type (MESTYP)
  • Logical_message_code (MESCOD)
  • Logical_message_function (MESFCT)

ALE outbound business objects provide no verb support. The adapter ignores the value in the verb property of the business object graph.


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)