Note: Creation of iDoc XSD with SAP transaction WE60 → Menu Documentation → XML-Schema or DTD
Sample of SAP INVOIC02, generated out of INVOIC.INVOIC02.xsd
Note: mandatory manually set the attribut MapTrigger onto element IDOC
Note: To load example files into a new type, the type must first be defined in the repository and a suitable reader component must be created in the repository.
Note: SAP IDocs can be displayed with WE60 in the SAP System in which the IDoc is defined and downloaded as XSD to a file on your PC.
Here's the procedure: