ALEgetRoutingInfo_Default

The default service is to retrieve routing information from a list of IDocs.

Note: This service can also handle IDOC_CONTROL and IDOC_DATA record lists (for IDocs version 3) or IDOC_CONTROL_REC_40 and IDOC_DATA_REC_40 record lists (for IDocs version 4) as IDoc input parameters instead of iDocList.
Input parameters
iDocList
Contains the IDocs as an object of the type com.sap.conn.idoc.IDocDocumentList.
Return values
iDocList
Contains the IDocs as an object of the type com.sap.conn.idoc.IDocDocumentList.
sender
Retrieved from sender partner number from the header of the first IDoc.
receiver
Retrieved from receiver partner number from the header of the first IDoc.
msgType
Retrieved from message type from the header of the first IDoc.