IDocDecodeString

The service decodes an IDoc from a String equivalent, the format that is used by the file port of an SAP system.

Input parameters
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 SAP® ERP.
iDocString
String. IDoc in the file port.
$encoding
Optional. Specifies the encoding that is used in the output document's XML header, for example, iso-8859-1.
Return values
idealistic
Contains the IDocs as object of com.sap.conn.idoc.IDocDocumentList.