IDOCs in XSD format

Hi all,
I'm currently looking for an website where different versions of IDOCs could be downloaded e.g. as an XSD. This used to be possible at http://ifr.sap.com. Unfortunately this website is no longer available....
I need a resource like that as I'm writing a paper where IDOCs are used as examples and would like to provide references for people in research that have never seen an IDOC before. Therefore also a website showing documentation of various IDOCs might be useful.
Thanks for your help.
Christian
Message was edited by:
        D038822
Edit because of some missing info...

You have probably got the answer to this question in the meantime, so this reply is really for those who still have a need to share the XSD of an IDoc definition with those who either a) do not have access to an SAP System or b) the IDoc concerned is not defined in their SAP System. 
You can display the IDoc using WE60 in the SAP System in which the IDoc is defined and from the resulting display you can download the XSD to a file on your PC then mail it to the interested party. 
Here is the procedure:
1. In the SAP System in which the IDoc is defined, call transaction WE60 (IDoc Documentation).
2. Enter the name of the IDoc in the Basic type field (or the Enhancement field if your IDoc is an Enhancement of a standard SAP IDoc).
3. Choose menu Documentation, XML Schema.
4. Respond Yes, if prompted to 'Generate Documentation for Unicode File'.
5. On the resulting screen containing the XSD of the IDoc, choose menu XML, Download.

Similar Messages

  • To Generate Payroll posting data to FI in XSD format in a server location

    Hi Experts,
                     I have a requirement where i need to generate the payroll posting data in XSD format. The sender system is using ECC5.0 and receiver system is using ECC6.0 . I thought of using the ALE scenario and i have know idea how to create an XSD file in a ALE IDOC scenario. your help is much appreciated.
    Thanks
    Vishnu.

    Hi Karan,
    I got the error message "Run PP 0000000123 cannot be deleted" when I was trying to delete posted Run number.
    Is it any way to delete those posted Run numbers (payroll posting numbers) in table PCALAC? The data was copied to development server last time.
    Thanks.

  • How can i transfer IDOC to XML format?

    Hi,
    How can i transfer IDOC to XML format?
    Is there some some mechanism to transfer IDOC to XML format to be used by XI system?
    Pls help.
    Regards,
    Kanwar

    Ravi,
    If you want to pick the IDOC in an XML format, you can do that from WE60 transaction. Here a XML of the IDOC MATMAS05 that I could generate out WE60 transaction. If the XML format is required at design time to pass on the middleware consultant, how can I use the function module.
    You can get the XML schema by going to the Menu
    Documentation --> XML Schema.
      <?xml version="1.0" encoding="utf-8" ?>
    - <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="1.0">
    - <xsd:element name="MATMAS05">
    + <xsd:annotation>
      <xsd:documentation>Enhancement: Distribution of Single-Level Variants</xsd:documentation>
      </xsd:annotation>
    - <xsd:complexType>
    - <xsd:sequence>
    - <xsd:element name="IDOC">
    - <xsd:complexType>
    - <xsd:sequence>
    - <xsd:element name="EDI_DC40">
    - <xsd:annotation>
      <xsd:documentation>IDoc Control Record for Interface to External System</xsd:documentation>
      </xsd:annotation>
    - <xsd:complexType>
    - <xsd:sequence>
    - <xsd:element name="TABNAM" type="xsd:string" fixed="EDI_DC40">
    - <xsd:annotation>
      <xsd:documentation>Name of table structure</xsd:documentation>
      </xsd:annotation>
      </xsd:element>
    - <xsd:element name="MANDT" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Client</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="3" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="DOCNUM" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>IDoc number</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="16" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="DOCREL" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>SAP Release for IDoc</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="4" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="STATUS" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Status of IDoc</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="2" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="DIRECT">
    - <xsd:annotation>
      <xsd:documentation>Direction</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
    - <xsd:enumeration value="1">
    - <xsd:annotation>
      <xsd:documentation>Outbound</xsd:documentation>
      </xsd:annotation>
      </xsd:enumeration>
    - <xsd:enumeration value="2">
    - <xsd:annotation>
      <xsd:documentation>Inbound</xsd:documentation>
      </xsd:annotation>
      </xsd:enumeration>
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="OUTMOD" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Output mode</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="1" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="EXPRSS" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Overriding in inbound processing</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="1" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="TEST" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Test flag</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="1" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="IDOCTYP" type="xsd:string" fixed="MATMAS05">
    - <xsd:annotation>
      <xsd:documentation>Name of basic type</xsd:documentation>
      </xsd:annotation>
      </xsd:element>
    - <xsd:element name="CIMTYP" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Extension (defined by customer)</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="30" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="MESTYP" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Message type</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="30" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="MESCOD" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Message code</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="3" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="MESFCT" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Message function</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="3" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="STD" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>EDI standard, flag</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="1" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="STDVRS" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>EDI standard, version and release</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="6" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="STDMES" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>EDI message type</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="6" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="SNDPOR">
    - <xsd:annotation>
      <xsd:documentation>Sender port (SAP System, external subsystem)</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="10" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="SNDPRT">
    - <xsd:annotation>
      <xsd:documentation>Partner type of sender</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="2" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="SNDPFC" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Partner Function of Sender</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="2" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="SNDPRN">
    - <xsd:annotation>
      <xsd:documentation>Partner Number of Sender</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="10" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="SNDSAD" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Sender address (SADR)</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="21" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="SNDLAD" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Logical address of sender</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="70" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="RCVPOR">
    - <xsd:annotation>
      <xsd:documentation>Receiver port</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="10" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="RCVPRT" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Partner Type of receiver</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="2" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="RCVPFC" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Partner function of recipient</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="2" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="RCVPRN">
    - <xsd:annotation>
      <xsd:documentation>Partner number of recipient</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="10" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="RCVSAD" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Recipient address (SADR)</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="21" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="RCVLAD" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Logical address of recipient</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="70" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="CREDAT" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Created on</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="8" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="CRETIM" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Time Created</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="6" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="REFINT" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Transmission file (EDI Interchange)</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="14" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="REFGRP" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Message group (EDI Message Group)</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="14" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="REFMES" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Message (EDI Message)</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="14" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="ARCKEY" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Key for external message archive</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="70" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="SERIAL" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Serialization</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="20" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
      </xsd:sequence>
    - <xsd:attribute name="SEGMENT" use="required">
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:enumeration value="1" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:attribute>
      </xsd:complexType>
      </xsd:element>
    - <xsd:element name="E1MARAM" maxOccurs="9999">
    - <xsd:annotation>
      <xsd:documentation>Master material general data (MARA)</xsd:documentation>
      </xsd:annotation>
    - <xsd:complexType>
    - <xsd:sequence>
    - <xsd:element name="MSGFN" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Function</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="3" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="MATNR" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Material Number</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="18" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="ERSDA" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Creation date</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="8" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="ERNAM" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Name of Person who Created the Object</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="12" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="LAEDA" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Date of Last Change</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="8" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="AENAM" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Name of person who changed object</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="12" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="PSTAT" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Maintenance status</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="15" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="LVORM" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Flag Material for Deletion at Client Level</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="1" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="MTART" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Material Type</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="4" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="MBRSH" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Industry Sector</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="1" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="MATKL" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Material Group</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="9" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="BISMT" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Old material number</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="18" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="MEINS" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Base Unit of Measure</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="3" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="BSTME" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Order unit</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="3" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="ZEINR" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Document number (without document management system)</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="22" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="ZEIAR" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Document type (without Document Management system)</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="3" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="ZEIVR" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Document version (without Document Management system)</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="2" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="ZEIFO" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Page format of document (without Document Management system)</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="4" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="AESZN" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Document change number (without document management system)</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="6" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="BLATT" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Page number of document (without Document Management system)</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="3" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="BLANZ" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Number of sheets (without Document Management system)</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="3" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="FERTH" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Production/Inspection Memo</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="18" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="FORMT" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Page Format of Production Memo</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="4" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="GROES" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Size/dimensions</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="32" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="WRKST" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Basic material (basic constituent of a material) - obsolete</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="14" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="NORMT" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Industry Standard Description (such as ANSI or ISO)</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="18" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="LABOR" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Laboratory/design office</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="3" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="EKWSL" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Purchasing Value Key</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="4" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="BRGEW" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Gross weight</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="14" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="NTGEW" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Net weight</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="14" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="GEWEI" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Weight Unit</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="3" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="VOLUM" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Volume</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="14" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="VOLEH" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Volume unit</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="3" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="BEHVO" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Container requirements</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="2" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="RAUBE" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Storage conditions</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="2" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="TEMPB" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Temperature conditions indicator</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="2" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="TRAGR" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Transportation group</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="4" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="STOFF" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Hazardous material number</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="18" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="SPART" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Division</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="2" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="KUNNR" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Competitor</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="10" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="WESCH" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Quantity: Number of GR/GI slips to be printed</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="14" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="BWVOR" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Procurement rule</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="1" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="BWSCL" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Source of Supply</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="1" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="SAISO" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Season category</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="4" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="ETIAR" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Label type</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="2" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="ETIFO" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Label form</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="2" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="EAN11" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>International Article Number (EAN/UPC)</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="18" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="NUMTP" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Category of International Article Number (EAN)</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="2" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="LAENG" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Length</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="14" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="BREIT" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Width</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="14" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="HOEHE" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Height</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="14" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="MEABM" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Unit of dimension for length/width/height</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="3" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="PRDHA" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Product hierarchy</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="18" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="CADKZ" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>CAD indicator</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="1" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="ERGEW" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Allowed packaging weight</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="14" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="ERGEI" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Weight Unit</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="3" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="ERVOL" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Allowed packaging volume</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="14" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="ERVOE" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Volume unit</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="3" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="GEWTO" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Excess Weight Tolerance for Handling unit</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="3" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="VOLTO" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Excess Volume Tolerance of the Handling Unit</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="3" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="VABME" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Variable order unit active</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="1" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="KZKFG" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Configurable Material</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="1" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="XCHPF" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Batch management requirement indicator</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="1" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="VHART" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Packaging Material Type</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="4" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="FUELG" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Maximum level (by volume)</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="3" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="STFAK" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Stacking factor</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="5" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="MAGRV" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Material Group: Packaging Materials</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="4" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="BEGRU" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Authorization Group</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="4" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="QMPUR" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>QM in Procurement is Active</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="1" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="RBNRM" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Catalog Profile</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="9" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="MHDRZ" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Minimum remaining shelf life</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="6" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="MHDHB" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Total shelf life</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="6" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="MHDLP" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Storage percentage</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="5" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="VPSTA" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Maintenance status of complete material</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="15" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="EXTWG" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>External material group</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="18" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="MSTAE" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Cross-Plant Material Status</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="2" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="MSTAV" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Cross-distribution-chain material status</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="2" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="MSTDE" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Date from which the cross-plant material status is valid</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="8" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="MSTDV" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Date from which the X-distr.-chain material status is valid</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="8" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="KZUMW" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Indicator: Environmentally Relevant</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="1" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="KOSCH" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Product allocation determination procedure</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="18" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="NRFHG" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Material qualifies for discount in kind</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="1" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="MFRPN" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Manufacturer part number</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="40" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="MFRNR" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Manufacturer number</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="10" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="BMATN" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>To material number</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="18" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="MPROF" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Mfr part profile</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="4" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="PROFL" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Dangerous Goods Indicator Profile</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="3" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="IHIVI" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Indicator: Highly Viscous</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="1" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="ILOOS" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Indicator: In Bulk/Liquid</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="1" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="KZGVH" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Packaging Material is Closed Packaging</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="1" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="XGCHP" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Indicator: Approved batch record required</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="1" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="COMPL" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Material completion level</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="2" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="KZEFF" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Assign effectivity parameter values/ override change numbers</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="1" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="RDMHD" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Rounding rule for calculation of SLED</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="1" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="IPRKZ" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Period indicator for shelf life expiration date</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="1" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="PRZUS" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Indicator: Product composition printed on packaging</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="1" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="MTPOS_MARA" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>General item category group</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="4" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="GEWTO_NEW" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Excess Weight Tolerance for Handling unit</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="5" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="VOLTO_NEW" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Excess Volume Tolerance of the Handling Unit</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="5" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="WRKST_NEW" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Basic Material</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="48" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="AENNR" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Change Number</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="12" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="MATFI" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Material Is Locked</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="1" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="CMREL" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Relevant for Configuration Management</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="1" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="SATNR" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Cross-Plant Configurable Material</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="18" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="SLED_BBD" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Expiration Date</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="1" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="GTIN_VARIANT" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Global Trade Item Number Variant</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="2" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="GENNR" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Material Number of the Generic Material in Prepack Materials</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="18" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="SERLV" minOccurs="0">
    - <xsd:annotation>
      <xsd:documentation>Level of Explicitness for Serial Number</xsd:documentation>
      </xsd:annotation>
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="1" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:eleme

  • Hello Anybody, I have a question. Can any of you please suggest me how to make an xml file from the database table with all the rows? Note:- I am having the XSD Schema file and the resulted XML file should be in that XSD format only.

    Hello Anybody, I have a question. Can any of you please suggest me how to make an xml file from the database table with all the records?
    Note:- I am having the XSD Schema file and the resulted XML file should be in that XSD format only.

    The Oracle documentation has a good overview of the options available
    Generating XML Data from the Database
    Without knowing your version, I just picked 11.2, so you made need to look for that chapter in the documentation for your version to find applicable information.
    You can also find some information in XML DB FAQ

  • How can I convert IDoc in XML format w/DTD into a string?

    I want to send by e-mail outbound IDoc in XML format with its document type definition (DTD).
    I want to be able to get the same output result into a string than the XML file IDoc port type with DTD activated.  I have created a FM (based on SAP "OWN_FUNCTION") assigned to an IDoc port of type ABAP-PI that executes the following processing steps:
    1-Extract outbound IDoc information to get the sender & recipient mail addresses (EDP13 / EDIPHONE tables).
    2-Convert & Transform IDoc data into XML string using FM IDX_IDOC_TO_XML.
    3-Prepare and send e-mail with XML attachement using FM SO_NEW_DOCUMENT_ATT_SEND_API1.
    I cand generate the e-mail with the XML file attachement but FM IDX_IDOC_TO_XML does not convert the IDoc with proper formating and DTD.
    What should I use to accomplish the IDoc conversion to XML w/DTD into a string?
    Should I use XSLT tools ?
    How does that work?
    Thank you
    Carl

    muks wrote:
    Use decimal string to number
    Specifically, you can define a constant with a different datatype on the input on the lower left if you need a different datatype (e.g. U8, I64, DBL, etc) Are all your values integers or do you also need to scan fractional numbers? In this case, you should use "fract/exp string to number" instead.
    LabVIEW Champion . Do more with less code and in less time .

  • XML validation against schema in XSD format

    I have a requirement for validation of XML file against XML schema(XSD format). Using IXML liabrary I know how to validate XML file against schema in DTD format. But i am not getting how to do it against XSD. Is it possible using IXML liabrary? Also i wanted to know how to attach one XML or CSV file into another XML file using SAP ABAP.
    Please provide solution!!

    Hi Madhura,
    see here my comparison of the web version against the local file version on my Windows box (which is itself not the fastest): It makes a factor 16 in difference!
    C:\Temp\xsdvalidator>java XsdValidator madhu.xsd madhu.xml
    cvc-pattern-valid: Value 'provamail.it' is not facet-valid with respect to patte
    rn '[^@]+@[^.]+[.].+' for type 'EmailType'.
    NOK - Validation error
    Elapsed time: 16353 ms
    C:\Temp\xsdvalidator>java XsdValidator madhu_local.xsd madhu.xml
    cvc-pattern-valid: Value 'provamail.it' is not facet-valid with respect to patte
    rn '[^@]+@[^.]+[.].+' for type 'EmailType'.
    NOK - Validation error
    Elapsed time: 994 ms
    Obviously, the w3c.org domain that you specified as ressource location is very slow - and, as the FAQ shows, this delay is intentional!
    The W3C servers are slow to return DTDs. Is the delay intentional?
    Yes. Due to various software systems downloading DTDs from our site millions of times a day (despite the caching directives of our servers), we have started to serve DTDs and schema (DTD, XSD, ENT, MOD, etc.) from our site with an artificial delay. Our goals in doing so are to bring more attention to our ongoing issues with excessive DTD traffic, and to protect the stability and response time of the rest of our site. We recommend HTTP caching or catalog files to improve performance.
    --> They don't want to have requests to their site from productive servers all around the world.
    Regards,
    Rüdiger

  • The uploaded file .xml is invalid. The file should be in XSD format.

    hi ,
    when i am trying to upload a data definition file .ie salesinvoice.xml through oracle XML Publisher , i get the error message "The uploaded file salesinvoice.xml is invalid. The file should be in XSD format."
    i tried attaching other xml files also and i get the same error message. don't know how to fix this . the rtf files i can attach without and problem.
    thanks in advance
    manohar

    This totally worked for me. Strange enough, any heads-up on whether this has been patched or not for versions 12.0 + ?
    Edited by: user8961526 on Nov 22, 2010 12:24 PM

  • Convert the XML file into XSD format?

    Hello All,
    I got XML file and i need to convert into XSD format and import it into PI system, so no need to create the structure.
    Please let me know how to convert XML format into XSD format.
    Regards,
    chinna

    Hi ,
    You can use Altova XML Spy software. There just open the xml file and goto Menu bar DTD/Schema there you have an option like Genrate DTD/Schema  click on it and press ok, Then it will ask you for location to store xsd select Desktop or some folder.
    .xsd will be created. and you can import that.
    Thanks.

  • How to convert cXML dtd files into xsd format and use them into BPEL application

    Hi,
    In my BPEL application I have to use cXML dtd files by converting them into xsd format.
    I have used 'Microsoft Visual Studio' for converting cXML.dtd file into xsd format, for this 1 dtd file I am getting three xsd files (cXML.xsd, cXML1.xsd and cXML2.xsd).
    Please check this once and let me know
    1. why I am getting three xsd files for one dtd file,
    2. how can I use cXML.xsd file in my application, do I ll have to use all the three files in my BPEL app and
    3. what should I include in main xsd file (cXML.xsd) to import other two xsd files.
    kindly check this once and let me know your suggestions .
    Thanks

    Hi,
    While downloading the cXML dtd there will be example xml files. Using this xml's we can generate xsd.
    Regards,
    KANN.

  • How to convert iDocs in flat format to Xml

    Hi,
    I'm getting iDocs in my .NET application using the SAP .NET Connector.
    But SAP Connector I receive the iDocs in flat format that is very difficult to read, it would be much easier if I had them in xml format. Do you know an easy way for transforming them to Xml or diretly receive them in Xml format?
    I'm a C# developer, so the best solution for me would be to have a small sample showing how to do it.
    I have seen some documents about the IDoc Adapter, how can it be used? Should it be used together with the SAP .NET Connector or it is a separate way of working?
    Maybe my questions are very basic but I come from the SAP Business One word that is completely different from the ERP world.
    Thanks in advance
    Trinidad.

    Hello,
    SAP Provides a standard report / program that converts the idoc flatfile into Idoc XML.
    The report is : rseinb00
    Just make sure that the Idoc Flat file is formatted in the right way,
    1. Linefeed after every segment,
    2. Idoc Control Record matches the logical system name of the business system defined in XI.
    3. Port in the idoc control record exists.
    If this is going to be a end to end interface flow, using this in a ABAP Mapping and then feeding this as the input to your graphical mapping might be a solution.
    Regards,
    Bhavesh

  • Vendor Master IDoc to NACHA Format

    I have generated an IDoc for Vendor Master data using BD14 and i can see IDoc in WE02, now the same i wanna generate in NACHA file Layout which i got from the bank how can i achieve this.
    I have searched in Net on this but i havn't found any helpful ones, If any links which explains how to convert the IDoc to NACHA format please do share.
    Regards
    VEnk@
    Edited by: Venkat Reddy on Oct 1, 2010 4:53 PM

    I got a NACHA File format as shown below.
    File Header          
    1     numeric     Record type code
    2-3     numeric     Priority code
    4-13     numeric     Immediate destination
    14          blank      
    15-23     numeric     Immediate origin     Sending company or service bureau ID (Tax ID)
    24-29     YYMMDD     File creation date     
    Batch Header          
    1     numeric     Record type code     "5"
    2-4     numeric     Service class code     "200" for mixed debits & credits
    Detail Record  (PPD record)               
    1     numeric     Record type code     "6"
    2-3     numeric     Transaction code     Matches the payment type
    Addendum Record               
    1     numeric     Record type code     "7"
    2-94     various     various     (see Note 4)
    Batch Trailer               
    1     numeric     Record type code     "8"
    2-4     numeric     Service class code     Must match Service Class Code in the batch header
    File Trailer               
    1     numeric     Sequence #     "9"
    2-7     numeric     Batch count     Total batches sent in this file
    I'm basically triggering an IDoc for Vendor Master using BD14 and i can see IDoc in WE02.
    Can i send Vendor master info using F110 txcode, F110 - Menu - Environment - Prenotification - Select Bank Details - Select Vendors . If yes how can i interpret the above given NACHA file format.
    Regards
    VEnK@

  • Standard funtion module to fetch IDOC in xml format

    Hi Experts
    I am not from ABAP background, am working in SAP PI. I have a queay regarding standard function modules in ABAP.
    I am wrote a java code to fetch IDOC by making a call to the ABAP standard functions. (passing an idoc number and fetching the idoc)
    The IDOC that i am receiving is in Flat format, but I want to fetch the IDOC in XML format.
    Is there any Standard fucntion module to fetch the IDOC in xml format?
    regards,
    Osman Abdul Aziz Jabri

    hai ,
                      in SE37 tcode
                      Check with IDOCTOXML u get FM 's
                                                 use sutable ur requirement.
    Moderator message: please do not use SMS speak in these forums.
    Edited by: Thomas Zloch on Jan 5, 2011 6:03 PM

  • IDOC in Text Format

    Hi Experts
    I am generating IDOC through a custom report.
    Requirement is  IDOC to be generated in .txt format (text file).
    Besides XML Port type, i have used port of type File, but its generating IDOC withput any format.
    So is that possible?
    Regards.

    Hi,
    here i am providing few more references..
    have a look .. and once cross verfy the last post from below link
    Idoc to file(TXT) scenario
    ~linganna
    Edited by: katigiri linganna on Dec 23, 2009 7:21 AM

  • IDOC  to XML format

    Hi all,
    i have created one program where if u will press the push button, it will create one idoc by taking some fields from my program.
    i need to send this idoc to one directory in sap application server as a XML file.
    here, while creating partner profile,
    when sender = xlg100 ( this logical system is w.r.t client 100)
             receiver = mes   ( this logical system is w.r .t destination directory)
      message type = zloipro01
    but while sender = mes
                 receiver = xlg100,
    what message type i should  give here?
    can anyone give me any real time documents for idoc to send as xml format?
    or anyone can explain step by step procedure for this process?
    right answers will be awarded.!!!!!!!!
    Thanks
    pabi

    you need to use the XML port for converting IDOCs to XML format and all other steps remain as usual.
    For more details, look at: http://www.****************/Tutorials/ALE/IDOCToXML/IDOCToXML.htm

  • Regarding Displaying of outbound Idocs in XML format

    Hi every1
    i want to display my IDocs in XML format. I am using T.Code WE34, after that.... what i have to do. Please let me know whole procedure, because in SAP Library I am getting information about only Inbound; and i want to know about outbound Idoc. please reply me its urgent.
    Thanks
    Anil Behera.

    Hi,
    Follow the procedure
    IDOC to XML Convertion using ALE Interface
    1) Send an outbound IDOC data(MATMAS) to a flat file(XML) on client1(SENDER).
    Create File Port (WE21) of XML Type for outbound file.
    Specify the Physical directory and file under the Outbound File tab
    Maintain Distribution Model (BD64) for sender ->receiver system.
    Create Partner Profile (WE20) for logical system.
    You can use this program RBDSEMAT (t/code BD10) to generate IDoc MATMAS file(s).
    _ Then you can FTP the file(s) to receiver system.
    2) Upload the flat file as an IDOC on the inbound sytem
    which is Client2(RECIEVER).
    Create File Port (WE21) for inbound file.
    Maintain Distribution Model (BD64) for receiver -> sender system.
    Create Partner Profile (WE20) for logical system.
    You can use this program RSEINB00 to upload IDoc MATMAS file(s).
    A sample scenario for idoc generation
    Sending System(Outbound ALE Process)
    Tcode SALE ? for
    a) Define Logical System
    b) Assign Client to Logical System
    Tcode SM59-RFC Destination
    Tcode BD64 ? Create Model View
    Tcode BD82 ? Generate partner Profiles & Create Ports
    Tcode BD64 ? Distribute the Model view
    Message Type MATMAS
    Tcode BD10 ? Send Material Data
    Tcode WE05 ? Idoc List for watching any Errors
    Receiving System(Inbound ALE )
    Tcode SALE ? for
    a) Define Logical System
    b) Assign Client to Logical System
    Tcode SM59-RFC Destination
    Tcode BD64 ? Check for Model view whether it has distributed or not
    Tcode BD82 -- Generate partner Profiles & Create Ports
    Tcode BD11 Getting Material Data
    Tcode WE05 ? Idoc List for inbound status codes
    ALE IDOC Steps
    Sending System(Outbound ALE Process)
    Tcode SALE ?3 for
    a) Define Logical System
    b) Assign Client to Logical System
    Tcode SM59-RFC Destination
    Tcode BD64 !V Create Model View
    Tcode BD82 !V Generate partner Profiles & Create Ports
    Tcode BD64 !V Distribute the Model view
    This is Receiving system Settings
    Receiving System(Inbound ALE )
    Tcode SALE ?3 for
    a) Define Logical System
    b) Assign Client to Logical System
    Tcode SM59-RFC Destination
    Tcode BD64 !V Check for Model view whether it has distributed or not
    Tcode BD82 -- Generate partner Profiles & Create Ports
    Tcode BD11 Getting Material Data
    Tcode WE05 !V Idoc List for inbound status codes
    Message Type MATMAS
    Tcode BD10 !V Send Material Data
    Tcode WE05 !V Idoc List for watching any Errors
    STEP 1)a Goto Tcode SALE
    Click on Sending & Receiving Systems-->Select Logical Systems
    Here Define Logical Systems---> Click on Execute Button
    go for new entries
    -System Name : ERP000
    -Description : Sending System
    -System Name : ERP800
    -Description : Receiving System
    press Enter & Save
    it will ask Request
    if you want new request create new Request orpress continue for transfering the objects
    B) goto Tcode SALE
    Select Assign Client to Logical Systems-->Execute
    000--> Double click on this
    Give the following Information
    -Client : ERP 000
    -City :
    -Logical System
    -Currency
    -Client role
    Save this Data
    Step 2) For RFC Creation
    Goto Tcode SM59-->Select R/3 Connects
    Click on Create Button
    RFC Destination Name should be same as partner's logical system name and case sensitive
    to create the ports automatically while generating the partner profiles
    give the information for required fields
    RFC Destination : ERP800
    Connection type: 3
    Description
    Target Host : ERP000
    System No:000
    lan : EN
    Client : 800
    User : Login User Name
    Password:
    save this & Test it & RemortLogin
    STEP 3) Goto Tcode BD64 -- click on Change mode button
    click on create moduleview
    short text : xxxxxxxxxxxxxx
    Technical Neme : MODEL_ALV
    save this & Press ok
    select your just created modelview Name :'MODEL_ALV'.
    goto add message type
    Model Name : MODEL_ALV
    sender : ERP000
    Receiver : ERP800
    Message type :MATMAS
    save & Press Enter
    STEP 4) Goto Tcode BD82
    Give Model View : MODEL_ALV
    Partner system : ERP800
    execute this by press F8 Button
    it will gives you sending system port No :A000000015(Like)
    STEP 5) Goto Tcode BD64
    select the modelview
    goto >edit>modelview-->distribute
    press ok & Press enter
    STEP 6) goto Tcode : BD10 for Material sending
    Material : mat_001
    Message Type : MATMAS
    Logical System : ERP800
    and Execute
    STEP 7)goto Tcode : BD11 for Material Receiving
    Material : 100-300
    Message Type : MATMAS
    and Execute --> 1 request idoc created for message type Matmas
    press enter
    Here Master Idoc set for Messge type MATMAS-->press Enter
    1 Communication Idoc generated for Message Type
    Now go to the physical directory and check your idoc converted as an XML File.
    Regards,
    Satish

Maybe you are looking for