====== Samples ====== {{:images:sign_warning.png?nolink|}}**Note:** Creation of iDoc XSD with SAP transaction **WE60** -> **Menu Documentation** -> **XML-Schema** or DTD ===== SAP INVOIC02 ===== Sample of SAP INVOIC02, generated out of INVOIC.INVOIC02.xsd\\ {{:programmierung:typbibliotheken:typeditor:sap_invoice_type_definition.png?nolink|}}\\ {{:images:sign_warning.png?nolink|}}**Note:** mandatory manually set the attribut **MapTrigger** onto element **IDOC** {{:images:sign_warning.png?nolink|}}**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. {{:images:sign_warning.png?nolink|}}**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**: - Call transaction WE60 (IDoc documentation). - Enter the name of the IDoc in the Basic type field (or the Extension field if your IDoc is an extension of a standard SAP IDoc). - Choose Documentation, XML Schema. - Answer Yes when prompted to 'Generate documentation for Unicode file'. - On the output screen with the XSD of the IDoc, choose the XML, Download menu.