Adapter for SAP 10.1 | webMethods Adapter for SAP Documentation | webMethods Adapter for SAP Installation and User’s Guide Documentation | Built-in Services | IDoc Services | pub.sap.idoc:decodeString
 
pub.sap.idoc:decodeString
Decodes an IDoc from a String equivalent, the format that is used by the file port of an SAP system.
Input Parameter
serverName
SAP system alias which is used as repository for structure information about the IDoc. The name must match a configured RFC connection alias at Adapter for SAP.
iDocString
String. The iDoc in the file port.
$encoding
Optional. Specifies the encoding used in the output document's XML header, e.g. iso-8859-1.
Return Values
iDocList
Contains the IDoc(s) as object of com.sap.conn.idoc.IDocDocumentList.