The adapter supports inbound processing (from the SAP server to the adapter) for the ALE pass-through IDoc interface.
When you are configuring a module for the ALE pass-through interface, you can indicate whether the IDocs are sent as a packet. You make this selection on the Configuration Properties window of the external service wizard. The selection you make is reflected in the application-specific information for the IDoc wrapper business object.
The adapter uses the event recovery mechanism to track and recover events in case of abrupt termination. The event recovery mechanism uses a data source for persisting the event state.
If you have selected split IDocs and SAP is sending packet IDocs, the adapter delivers each IDoc inside the packet as an individual event to the end point. During recovery, the SAP system has to resubmit the whole packet. The adapter only delivers IDocs which have not been delivered in previous attempts from the packet.
Note that the adapter is able to listen to and deliver events from multiple SAP systems using multiple activation specs.
Interface | When to use | SplitIDoc = true | SplitIDoc = false | Parsed IDoc = true | Flat File format = true |
---|---|---|---|---|---|
ALE inbound | This interface converts the raw incoming IDocs to business objects, which are readily consumable by the client at the endpoint. | On receiving the IDoc packet from SAP, the adapter converts the IDocs to business objects, one by one, before sending each one to the endpoint. | On receiving the IDoc packet from SAP, the adapter converts the IDocs in the packet as one business object before sending it to the endpoint. | The incoming IDoc is only partially parsed (the control record of the IDoc is parsed but the data record is not). The client at the endpoint is responsible for parsing the data record. | not applicable |
ALE pass-through IDoc | This interface wraps the raw incoming IDoc in a business object before delivering it to the client at the endpoint. The client is responsible for parsing the raw IDoc. | On receiving the IDoc packet from SAP, the adapter wraps each raw IDoc within a business object before sending the objects, one by one, to the endpoint. | On receiving the IDoc packet from SAP, the adapter wraps the raw IDoc packet in a business object before sending it to the endpoint. | Control record of the incoming IDoc is parsed. In case of the packet IDoc, only the first IDoc from the control record will be parsed. | The incoming IDoc would be sent as a HexBinary in Flat File format, where each record (control and data record) is separated with a delimiter. |