Please also have a look in our OnlineHelp for further information.
ERPConnect offers support for both IDoc schema and IDoc data located in XML-files. The two figures below show a IDoc schema file (for the ORDERS01 type) and an IDoc data file. Both are also included in the samples directory.
To create an IDoc object out of the schema we use the method LoadIdocSchema. After doing so, it is possible to create segment objects by using the method CreateSegment (as we did in the other ORDER-Example). The example below shows how to load the IDoc data from a data file by using the method LoadXMLData.