The IDoc-Schema-Generator generates an XML file that can be used to load IDoc schemas.
Loading IDoc schemas via XML usually has higher performance than loading them via CreateIdoc
or CreateEmptyIdoc
, because no SAP connection is necessary.
See XML-Support for IDoc programming for more information on using the generated XML file.
How to Use IDoc-Schema-Generator #
- To start the IDoc-Schema-Generator, run the IdocSchemaGenerator.exe in the ERPConnect directory
C:\Program Files\ERPConnect
. - Enter the IDoc type you want to generate. If needed, enter enhancements and click [Generate Now!].
- The window “SAP Login” opens. Enter your SAP credentials and click [OK].
- Save the XML file to your local hard drive.
- Use the method
Idoc.LoadIdocSchema
to load the XML file into your program.