Adapter for SAP 10.1 | webMethods Adapter for SAP Documentation | webMethods Adapter for SAP Installation and User’s Guide Documentation | Adapter Notifications | Examples | Creating a Synchronous ALE Listener Notification
 
Creating a Synchronous ALE Listener Notification
 
Create an Empty Flow Service Called mapOrders02
Create an Asynchronous ALE Listener Notification for IDoc Type Orders02
Define the Input and Output Signatures for the mapOrders02 Service
Map Fields from Orders02RequestDocument to PurchaseOrder Document
Testing the Listener Notification from the SAP System
Setting Up the SAP System
If you need to use the information contained in an IDoc in documents of another format, you build a service that "maps" the information from fields in the IDoc to the variables used by the other application. For example, to transfer a purchase order from an ORDERS02 IDoc to an EDI system, you create a flow service that maps information from the IDoc fields to fields within the EDI system's purchase-order document. Then, you define a routing notification that triggers this flow service.
To create a sample synchronous ALE listener notification, perform the following:
1. Create an Empty Flow Service Called mapOrders02
2. Create an Asynchronous ALE Listener Notification for IDoc Type Orders02
3. Define the Input and Output Signatures for the mapOrders02 Service
4. Map Fields from Orders02RequestDocument to PurchaseOrder Document
5. Testing the Listener Notification from the SAP System