Idoc - port xml

hi people,
I have an internal table with 1308 entries. I divide it in internal tables with 300 entries that i send through an idoc in xml format. I run the report but seeing in we05 only i send 3 idocs when should be 5 (4 of 300 segments and 1 of 108). Well, i decide debugg and see possibles errors. I have not found any, i go to we05 and i can see 5 idocs! what?
I repeat this process twice. Is it possible that when I try to create 5 idocs by the xml port is saturating this and it send only 3 and when I debug i am  giving time to allow to create 5 idocs?

Hi Manel,
To confirm that this might be an XML port problem,
why don't you create a dummy file port in we21, attach it for your scenario in WE20...and test the program again...
Please verify that all 5 required idocs are created in this case without debugging....
Thanks,
Renjith

Similar Messages

  • Automatically process IDoc to XML File port

    Hi everybody,
    I want to send two different IDocs via "XML File" port using change pointers and the distribution modell (one SAP standard, one custom).
    I maintained the distribution model and created outbound parameters in partner profile (WE20). Both are set to "Transfer IDoc Immed.".
    1.
    Now I change some master data and the change pointers are created. I run RBDMIDOC for both message types and both IDocs are created. But unfortunately they stuck at staus "30 - Idoc ready for dispatch" (yellow). I need to run RSEOUT00 to create the XML files.
    Is it possible to avoid a job that runs this report? I want the IDocs to be processed automatically right after creation.
    The really strange thing about this is, that it used to work for the standard IDoc (BOMMAT). But I might have changed some settings to get my custom IDoc work too and now both stuck at status 30?! This is what bothers me most...
    2.
    When the XML files are created (at the moment after running RSEOUT00) the status in WE05 is "03 - Data passed to port OK" (yellow).
    Why is this light still yellow? Everything is fine, the file was created, it should be green. Is there anything I can do?
    Thanks and best regards,
    Oliver

    Hi,
    thanks for your suggestions.
    Unfortunately this did not solve my problems.
    1)
    OUTMOD for both messages was 2 (which should be ok). Changing it to 1 did not have any affect.
    At least BOMMAT works again (both with OUTMOD 1 and 2). But my custom IDoc still does not get processed automatically.
    2)
    Running report RBDMOIND did not change the status of my IDocs. Please keep in mind that it is no tRFC port, but XML File port.
    Best regards,
    Oliver

  • ALE IDOC to XML IDOC scenario using XML port

    Hi,
    I am working on ALE IDOC to XML IDOC scenario using XML port . The requirement is to place a XML IDOC on the application server using ALE IDOC scenario ( output type is created in NACE which is ALE enabled ).
    Can anybody help me on the steps.
    Regards
    Kumar
    Moderator message: please search for available information/documentation.
    Edited by: Thomas Zloch on Sep 8, 2011 6:01 PM

    U can give a try as follows.
    In the Partner Profile of Sender R/3 system,
    Give the Receiver Party P_Party in the PartnerNo. Give the 'Business Partner' as logical System type.
    In XI, Party Definition of P_Party
    Give the following Alternative Identifier
    Agency  -   Sender R/3  Business System       
    Scheme -   ALE#GP
    Value    -    P_Party

  • 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 .

  • Communication between SAP and 3rd Party Systems using IDOC HTTP XML Interfa

    Hi
    i am try do
    Communication between SAP and 3rd Party Systems using IDOC HTTP XML Interface
    With The help of SDN Contribution
    link----
    ( have look on it)
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/4943f2b7-0a01-0010-37af-faff35b2f08c
    I am getting error in
    Partner system as HTTPLOG and "Execute" to check the results
    Error is --  Port could not be created
    RFC destination HTTPLOG Not specified for system HTTPLOG
    any 1 have any idea  if plzzzzzzzz...........
    Thank u
    Ram

    Hello .
      we are also in  process of implementing the same
    could you share the knowledge pl?
    1)is it a separate add on with ALE to saphr
       or using ECC ??
    2)can u share the configuration part ??
    we are trying it on webas as addon 3.0 .

  • Error in Idoc to XML conversion

    Hi,
    I am doing Idoc to XML conversion using standard program RSEINB00. Can anyone plz tell me what are the pre-requisites to executing this program? I am getting an error message Port XXX segment defn YYYYY in IDoc type ZZZZZ CIM type do not exist.
    Why am i getting this error? and what is the slution for it?
    Regards,
    Mateen.

    Hi
    Delete the metadata in IDX2 for the corresponding IDOC type in PI.
    Also re-import the same in IDX2.
    Reimport the IDOC type into Integration Repository under your SWCV.
    Then check it..
    Refresh the cache also.

  • How to create Inbound Idoc from XML file-Need help urgently

    Hi,
    can any one tell how to create inbound Idoc from XML file.
    we have xml file in application server Ex. /usr/INT/SMS/PAYTEXT.xml'  we want to generate inbound idoc from this file.we are successfully able to generate outbound XML file from outbound Idoc by using the XML port. But not able to generate idoc from XML file by using we19 or we16.
    Please let me know the process to trigger inbound Idoc with out using  XI and any other components.
    Thanks in advance
    Dora Reddy

    Hi .. Did either of you get a result on this?
    My question is the same really .. I am testing with WE19 and it seems SAP cannot accept an XML inbound file as standard.
    I see lots of mention of using a Function Module.
    Am I correct in saying therefore that ABAP development is required to create a program to run the FM and process the idoc?
    Or is there something tht can be done with Standard SAP?
    Thanks
    Lee

  • IDOC to XML

    Hi All,
    In partner profile, i have set XML port for outbound IDOC. IDOC in XML format is generated successfully on App. server.
    when I view this file using AL11 I see its shows only the control records not the data records.
    I also see one xml tag <SERIAL>20110831085519</SERIAL>. 
    Is this id contains the data ?
    How to view contents of this Id ?
    Thanks
    Jitendra

    Hi Michael,
    i suppose you r using a message mapping?
    And u have a problem if the source field is empty?
    Use function "exist" to ask if field exist and may be ask for the string lenght > 0. Only in that case (function if) map the field. Or use a XSLT mapping.
    Regards,
    Udo

  • 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

  • Conversion of purchasing idoc to xml and sending with FTP to supplier

    Hello,
    I have a question about something i am not very familar with. And i could not find the answer in this forum.
    We have a supplier who wants to receive our orders by EDI.
    The plan is to convert the IDOC to XML and to send this XML by FTP to our supplier.
    Could anyone give me some hints to achieve this.
    usefull help will be rewarded.
    Gr., Frank

    Hi,
    1. Create XML port in WE21.
    2. Configer the partner profile in WE20 for required message type.
    3. Access the file by using transaction AL11.
    Thanks,
    Asit Purbey

  • Sending MATMAS05 IDOC via XML-HTTP Interface (without XI)

    Dear all,
    I have to send the MATMAS05 IDOC via XML-SOAP-HTTP Interface to a subsystem. Sending works (the sub-system receives the SOAP-Request with the MATMAS05 as Body). So far so good. Now the SAP System is waiting for an answer (synchronous communication). How should this answer look like?
    We receive the Error EA390 "Problem with SOAP Class" - execute_processing: entry result table
    Can anybody give me a hint how the response should look like.
    Many thanks and best regards
    Roman

    Hello Sven,
    we find a solution. As far as I remember, there is a flag to send without waiting for answer (or technical better to not rely on SOAP standard).
    Look in WE21 and the XML_HTTP Port you use. Uncheck the "SOAP Protocol" flag. Then it should work.
    HTH and Best regards
    Roman

  • Converting IDOC to XML

    Hi,
    I have an application where i have to convert an IDOC to XML format so that it can be handled by webmethods.
    I want to know how to convert IDOC to XML. I have seen that in SAP there are two port types, XML and XML HTTP. Are they used for posting an IDOC in XML format at defined port.
    When i tried to generated a test IDOC with port type as XML, it has created an xxx.XML file in application server but i an unable to display it.
    1). Can any one pls. tell me how to convert IDOC to
    XML??? What are the different methods ( if available)
    2). DO i need to have any extra component for this??
    3). what are XML and XML http ports are for.
    Pls. help me as this is very urgent.
    Thanks in advance.
    Pratik

    Hi,
    Does xxx.XML contain no data? Or you are just not able to display it (try opening it in notepad).
    1 - You are doing it right. Using XML port should be enough.
    2 - You don't need anything additional.
    3 - XML port gives you an option like a file port (you get the idoc in an XML file) for batch type interface. XML http will let you post the XML data realtime to an web server that accepts XML messages.
    If your partner system can take http messages, you can use http port to send the IDOC directly to that system, else you can create the XML file and send it in batch mode.
    hope this helps,
    cheers,
    Ajay

  • Using ABAP Web Service tor convert IDoc to XML and transfer to SOAP Server

    Hi all,
    I have a problem to use ABAP Web Service to convert IDoc's to XML and then send them to a SOAP Server.
    Currently we have the following landscape:
    SAP->XI->Archive
    The sap-system (ECC6.0) sends an IDoc to the Exchange Infrastructe. The XI maps the IDoc and converts it to the required XML format, used by the archive. Afterwards, the XML documents are sended to the SOAP Server.
    So I'm trying to replace the Exchange Infrastructure with ABAP Web Service.
    I've read a lot of posts and documents reagarding ABAP Web Serivce, converting IDoc's to XML, RFC and so on, but I'm not able to do the replacement.
    I don't know how to start and which steps are required.
    The required roles and authorizations at the sap-system and the service for soamanager and the Web Service Viewer are available.
    First I thought to create the RFC and partner profiles and then the report to convert IDoc to XML as a BAPI. With this BAPI I supposed to create and define a Web Service. The problem is, I don't know how to trigger the report if the Idoc should be send to the archive.
    Hopefully, someone has an idea or a how-to for me.
    Thanks in advance.
    Regards,
    Christoph
    Edited by: BigTicket on May 12, 2010 9:36 AM

    Hi BigTicket.
    A suggestion to trigger the BAPI / WebService at the IDoc receiving is to use a user exit or enhanced inside the idoc function module. When the idoc arrived to the idoc port the system start the related function module and then your user exit/enhanced in which you invoke your BAPI.
    I hope this help.
    Ciao.
    Nicola

  • 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

  • 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

Maybe you are looking for