Two ALE-specific business object handlers are provided, one for
event processing and one for request processing.
A listener thread instantiates the event-processing business
object handler, which does the following:
- Retrieves the RFC event data from SAP.
- Creates a JMS-MQ message to persistently store and manage the
transaction ID that SAP sends with the event.
- Stores the data of the one or more IDocs received from SAP in
the JMS-MQ message.
- Returns a response to the ALE-specific function through the SAP
Gateway. The response indicates that the transaction has been
completed.
The vision connector framework instantiates the ALE
request-processing business object handler, which checks for a
value in the TransactionId attribute in the WebSphere business
object for SAP. If this value exists, it continues with the
following steps.
- Obtains a TID either from the JMS-MQ message or from SAP.
- Converts the business object data to the IDoc data format
defined by the desired function module interface for the RFC call
into SAP.
- Makes the RFC call to the ALE interface.
- Updates the status of the TID for this request in the JMS-MQ
message.
- Returns a success response to the integration broker.
