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
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
- 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.LoadIdocSchemato load the XML file into your program.