Adapter for SAP 10.1 | webMethods Adapter for SAP Documentation | webMethods Adapter for SAP Installation and User’s Guide Documentation | Coding Client Applications and Services | Receiving IDocs from an SAP System | Converting an IDoc to XML
 
Converting an IDoc to XML
The following code sample shows how to convert an IDoc to XML.
String xmlData = idocList.toXML();