How to get the metadata (in xml format) of all the fileds in SQl query ?

Good day ,
I am using the dbms_xmlgen.getXMLfunction to get the result of any query in xml format.
With this XML I also want the metadata information about all the fields used in the query (passed to getXML function). Is it possible and how can I achieve this.
I tried to Google it but couldn't find any solution , it's easy to do it in java where I can get the resultset meta data from the resultset but I have to do it in Oracle function since I want the result in xml format and want to use the oracle XML API.
You may think why I need metadata , the reason is the application will later use this information to sort the data contained in these fields according to their data type provided to.
Regards
Sajjad Ahmed Paracha

Hi,
Please always say which version of Oracle you're using (SELECT * FROM v$version).
With this XML I also want the metadata information about all the fields used in the query (passed to getXML function). Is it possible and how can I achieve this.It is possible but with a bit of effort.
I would use DBMS_SQL utility to parse the query, extract each column's description and then build a METADATA element with the required information.
Here's an example (11g) :
DECLARE
  v_query      varchar2(30) := 'select * from scott.emp';
  v_cur        integer;
  v_desc_tab   dbms_sql.desc_tab;
  v_col_cnt    number;
  v_col_lst    varchar2(4000);
  v_xml_query  varchar2(32767);
  xml_metadata_coll xmlsequencetype := xmlsequencetype();
  xml_metadata      xmltype;
  res          clob;
BEGIN
  v_cur := dbms_sql.open_cursor;
  dbms_sql.parse(v_cur, v_query, dbms_sql.native);
  dbms_sql.describe_columns(v_cur, v_col_cnt, v_desc_tab);
  dbms_sql.close_cursor(v_cur);
  for i in 1 .. v_col_cnt loop
    if i > 1 then
      v_col_lst := v_col_lst || ', ';
    end if;
    v_col_lst := v_col_lst || v_desc_tab(i).col_name;
    xml_metadata_coll.extend;
    select xmlelement("COLUMN"
           , xmlattributes(v_desc_tab(i).col_name as "name")
           , xmlforest(
               case v_desc_tab(i).col_type
                 when 1   then 'VARCHAR2'
                 when 2   then 'NUMBER'
                 when 12  then 'DATE'
                 when 180 then 'TIMESTAMP'
                 else 'UNKNOWN'
               end as "DATATYPE"
             , v_desc_tab(i).col_max_len as "MAX_LENGTH"
             , v_desc_tab(i).col_precision as "PRECISION"
             , v_desc_tab(i).col_scale as "SCALE"
    into xml_metadata_coll(i)
    from dual;
  end loop;
  v_xml_query :=
'SELECT XMLSerialize(document
         XMLElement("ROOT"
         , :1
         , XMLElement("ROWSET"
           , XMLAgg(
               XMLElement("ROW", XMLForest(' || v_col_lst || '))
         ) as clob indent
FROM ( ' || v_query || ')';
  select xmlelement("METADATA", xmlagg(column_value))
  into xml_metadata
  from table(xml_metadata_coll)
  execute immediate v_xml_query into res using xml_metadata;
  dbms_output.put_line(res);
END;
/Ouput :
<ROOT>
  <METADATA>
    <COLUMN name="EMPNO">
      <DATATYPE>NUMBER</DATATYPE>
      <MAX_LENGTH>22</MAX_LENGTH>
      <PRECISION>4</PRECISION>
      <SCALE>0</SCALE>
    </COLUMN>
    <COLUMN name="ENAME">
      <DATATYPE>VARCHAR2</DATATYPE>
      <MAX_LENGTH>10</MAX_LENGTH>
      <PRECISION>0</PRECISION>
      <SCALE>0</SCALE>
    </COLUMN>
    <COLUMN name="JOB">
      <DATATYPE>VARCHAR2</DATATYPE>
      <MAX_LENGTH>9</MAX_LENGTH>
      <PRECISION>0</PRECISION>
      <SCALE>0</SCALE>
    </COLUMN>
    <COLUMN name="MGR">
      <DATATYPE>NUMBER</DATATYPE>
      <MAX_LENGTH>22</MAX_LENGTH>
      <PRECISION>4</PRECISION>
      <SCALE>0</SCALE>
    </COLUMN>
    <COLUMN name="HIREDATE">
      <DATATYPE>DATE</DATATYPE>
      <MAX_LENGTH>7</MAX_LENGTH>
      <PRECISION>0</PRECISION>
      <SCALE>0</SCALE>
    </COLUMN>
    <COLUMN name="SAL">
      <DATATYPE>NUMBER</DATATYPE>
      <MAX_LENGTH>22</MAX_LENGTH>
      <PRECISION>7</PRECISION>
      <SCALE>2</SCALE>
    </COLUMN>
    <COLUMN name="COMM">
      <DATATYPE>NUMBER</DATATYPE>
      <MAX_LENGTH>22</MAX_LENGTH>
      <PRECISION>7</PRECISION>
      <SCALE>2</SCALE>
    </COLUMN>
    <COLUMN name="DEPTNO">
      <DATATYPE>NUMBER</DATATYPE>
      <MAX_LENGTH>22</MAX_LENGTH>
      <PRECISION>2</PRECISION>
      <SCALE>0</SCALE>
    </COLUMN>
  </METADATA>
  <ROWSET>
    <ROW>
      <EMPNO>7369</EMPNO>
      <ENAME>SMITH</ENAME>
      <JOB>CLERK</JOB>
      <MGR>7902</MGR>
      <HIREDATE>1980-12-17</HIREDATE>
      <SAL>800</SAL>
      <DEPTNO>20</DEPTNO>
    </ROW>
    <ROW>
      <EMPNO>7499</EMPNO>
      <ENAME>ALLEN</ENAME>
      <JOB>SALESMAN</JOB>
      <MGR>7698</MGR>
      <HIREDATE>1981-02-20</HIREDATE>
      <SAL>1600</SAL>
      <COMM>300</COMM>
      <DEPTNO>30</DEPTNO>
    </ROW>
    <ROW>
      <EMPNO>7521</EMPNO>
      <ENAME>WARD</ENAME>
      <JOB>SALESMAN</JOB>
      <MGR>7698</MGR>
      <HIREDATE>1981-02-22</HIREDATE>
      <SAL>1250</SAL>
      <COMM>500</COMM>
      <DEPTNO>30</DEPTNO>
    </ROW>
    <ROW>
      <EMPNO>7566</EMPNO>
      <ENAME>JONES</ENAME>
      <JOB>MANAGER</JOB>
      <MGR>7839</MGR>
      <HIREDATE>1981-04-02</HIREDATE>
      <SAL>2975</SAL>
      <DEPTNO>20</DEPTNO>
    </ROW>
    <ROW>
      <EMPNO>7654</EMPNO>
      <ENAME>MARTIN</ENAME>
      <JOB>SALESMAN</JOB>
      <MGR>7698</MGR>
      <HIREDATE>1981-09-28</HIREDATE>
      <SAL>1250</SAL>
      <COMM>1400</COMM>
      <DEPTNO>30</DEPTNO>
    </ROW>
    <ROW>
      <EMPNO>7698</EMPNO>
      <ENAME>BLAKE</ENAME>
      <JOB>MANAGER</JOB>
      <MGR>7839</MGR>
      <HIREDATE>1981-05-01</HIREDATE>
      <SAL>2850</SAL>
      <DEPTNO>30</DEPTNO>
    </ROW>
    <ROW>
      <EMPNO>7782</EMPNO>
      <ENAME>CLARK</ENAME>
      <JOB>MANAGER</JOB>
      <MGR>7839</MGR>
      <HIREDATE>1981-06-09</HIREDATE>
      <SAL>2450</SAL>
      <DEPTNO>10</DEPTNO>
    </ROW>
    <ROW>
      <EMPNO>7839</EMPNO>
      <ENAME>KING</ENAME>
      <JOB>PRESIDENT</JOB>
      <HIREDATE>1981-11-17</HIREDATE>
      <SAL>5000</SAL>
      <DEPTNO>10</DEPTNO>
    </ROW>
    <ROW>
      <EMPNO>7844</EMPNO>
      <ENAME>TURNER</ENAME>
      <JOB>SALESMAN</JOB>
      <MGR>7698</MGR>
      <HIREDATE>1981-09-08</HIREDATE>
      <SAL>1500</SAL>
      <COMM>0</COMM>
      <DEPTNO>30</DEPTNO>
    </ROW>
    <ROW>
      <EMPNO>7900</EMPNO>
      <ENAME>JAMES</ENAME>
      <JOB>CLERK</JOB>
      <MGR>7698</MGR>
      <HIREDATE>1981-12-03</HIREDATE>
      <SAL>950</SAL>
      <DEPTNO>30</DEPTNO>
    </ROW>
    <ROW>
      <EMPNO>7902</EMPNO>
      <ENAME>FORD</ENAME>
      <JOB>ANALYST</JOB>
      <MGR>7566</MGR>
      <HIREDATE>1981-12-03</HIREDATE>
      <SAL>3000</SAL>
      <DEPTNO>20</DEPTNO>
    </ROW>
    <ROW>
      <EMPNO>7934</EMPNO>
      <ENAME>MILLER</ENAME>
      <JOB>CLERK</JOB>
      <MGR>7782</MGR>
      <HIREDATE>1982-01-23</HIREDATE>
      <SAL>1300</SAL>
      <DEPTNO>10</DEPTNO>
    </ROW>
  </ROWSET>
</ROOT>A couple of comments :
<li> I handle only four datatypes here (VARCHAR2, NUMBER, DATE, TIMESTAMP). Of course you can add more.
The list of Oracle Type Number is available here : http://docs.oracle.com/cd/E11882_01/server.112/e26088/sql_elements001.htm#i54330
Starting with 11g (not sure which release), DBMS_SQL package also declares these numbers through named constants.
<li> I don't use DBMS_XMLGEN in this example. Instead I rebuild the query using SQL/XML functions and the list of columns that's just been described.

Similar Messages

  • When online and asked to fill in phone no., the iPhone presents a numeric keyboard that does not have space, hyphen or parenthesis keys. How to get a full keyboard to come up all the time?

    When asked to input my phone number on some online forms (Yelp, donation), a numeric keyboard comes up on my phone. This keyboard has 0-9 characters, + # symbols, and the words "pause" and "wait.". There is no option for parentheses for area code, no hyphen option, no period option and no space option. As a result, numbers run in a single row. I then get the message "Invalid phone number" or "Invalid Format.". The sites then won't allow me to continue. This numeric keyboard is useless. How do I get either a numeric keyboard with the needed features or, better yet, get the alpha-numeric pad we usually see?  This seems so weird on Apple's part.

    MaryAmanda wrote:
    Does anyone know anything about onsite specifics?
    I'm wondering where the onsite warranty can be in effect.  Like, can it be used in ANY city in the US?  Can it be used only in metrololitan areas?  What is a metro area in Lenovo's eyes?
    Does anyone know where I can get better and accurate info on the onsite warranty?  Like a coverage map would be very helpful.  Because why should I spend the money on it, if I can't access it?
    Looking forward to more info...thanks.
    There is no coverage map as such.
    I live in what is considered a rural area and had techs driving 60-70 miles one way to get to me, never an issue.
    Obviously, YMMV.
    In my not-so-modest experience, both onsite and accidental damage upgrades are worth every penny if one intends to keep their ThinkPads for an extended period of time.
    Good luck.
    Cheers,
    George
    In daily use: R60F, R500F, T61, T410
    Collecting dust: T60
    Enjoying retirement: A31p, T42p,
    Non-ThinkPads: Panasonic CF-31 & CF-52, HP 8760W
    Starting Thursday, 08/14/2014 I'll be away from the forums until further notice. Please do NOT send private messages since I won't be able to read them. Thank you.

  • I accidentally clicked on "full page" and I hate it and now I don't know how to get back to where I can see all the tabs all the time. Help, Please!!!

    I think the question is pretty clear -- I don't know what additional details would be helpful. Questions?

    The F11 key toggles Full Screen Mode on or off.
    *See --> http://kb.mozillazine.org/Netbooks#Full_screen
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You may need to update some plug-ins. Check your plug-ins and update as necessary:
    *Plug-in check: https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.com/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.com/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *Next Generation Java Plug-in for Mozilla browsers: [https://support.mozilla.com/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • How to get data out of XML?

    Hi,All.
    I am running SAX (JAXP1.01) in Applet to process XML file. My question is how to get data out of xml format according to the field name (@age,@rank etc)
    and write into string buffer seperated by comma.
    Should I use SAX or DOM? (file size is big)
    My xml as follow :
    <ROOT>
    <FormattedReportObject>
    <FormattedReportObject xsi:type="CTFormattedField" Type="xsd:string" FieldName="{@team/relay}">
         <ObjectName>Field124</ObjectName>
         <FormattedValue>HUNTER</FormattedValue>
         <Value>HUNTER</Value>
    </FormattedReportObject>
    <FormattedReportObject xsi:type="CTFormattedField" Type="xsd:string" FieldName="{@age}">
         <ObjectName>Field125</ObjectName>
         <FormattedValue> 19</FormattedValue>
         <Value> 19</Value>
    </FormattedReportObject>
    <FormattedReportObject xsi:type="CTFormattedField" Type="xsd:string" FieldName="{@Rank}">
         <ObjectName>Field126</ObjectName>
         <FormattedValue>43</FormattedValue>
         <Value>43</Value>
    </FormattedReportObject>
    <FormattedReportObject xsi:type="CTFormattedField" Type="xsd:string" FieldName="{results.athrel_name}">
         <ObjectName>Field127</ObjectName>
         <FormattedValue>1-1 NORRIE</FormattedValue>
         <Value>1-1 NORRIE</Value>
    </FormattedReportObject>
    <FormattedReportObject xsi:type="CTFormattedField" Type="xsd:string" FieldName="{@timefield2}">
         <ObjectName>Field128</ObjectName>
         <FormattedValue>1:54.75</FormattedValue>
         <Value>1:54.75</Value>
    </FormattedReportObject>
    <FormattedReportObject xsi:type="CTFormattedField" Type="xsd:string" FieldName="{@timefield1course}">
         <ObjectName>Field129</ObjectName>
         <FormattedValue/>
         <Value/>
    </FormattedReportObject>
    <FormattedReportObject xsi:type="CTFormattedField" Type="xsd:string" FieldName="{@timefield1std}">
         <ObjectName>Field130</ObjectName>
         <FormattedValue/>
         <Value/>
    </FormattedReportObject>
    <FormattedReportObject xsi:type="CTFormattedField" Type="xsd:string" FieldName="{@timefield2course}">
         <ObjectName>Field131</ObjectName>
         <FormattedValue/>
         <Value/>
    </FormattedReportObject>
    <FormattedReportObject xsi:type="CTFormattedField" Type="xsd:string" FieldName="{@timefield2std}">
         <ObjectName>Field132</ObjectName>
         <FormattedValue>QT</FormattedValue>
         <Value>QT</Value>
    </FormattedReportObject>
    <FormattedReportObject xsi:type="CTFormattedField" Type="xsd:string" FieldName="{@points(left)}">
         <ObjectName>Field133</ObjectName>
         <FormattedValue/>
         <Value/>
    </FormattedReportObject>
    <FormattedReportObject xsi:type="CTFormattedField" Type="xsd:string" FieldName="{@pointsdecimal}">
         <ObjectName>Field134</ObjectName>
         <FormattedValue/>
         <Value/>
    </FormattedReportObject>
    <FormattedReportObject xsi:type="CTFormattedField" Type="xsd:decimal" FieldName="{@points(right)}">
         <ObjectName>Field135</ObjectName>
         <FormattedValue>0</FormattedValue>
         <Value>0.00</Value>
    </FormattedReportObject>
    <FormattedReportObject xsi:type="CTFormattedField" Type="xsd:string" FieldName="{@timefield1}">
         <ObjectName>Field136</ObjectName>
         <FormattedValue>1:55.98</FormattedValue>
         <Value>1:55.98</Value>
    </FormattedReportObject>
    <FormattedReportObject xsi:type="CTFormattedField" Type="xsd:string" FieldName="{@Rank}">
         <ObjectName>Field137</ObjectName>
         <FormattedValue>43</FormattedValue>
         <Value>43</Value>
    </FormattedReportObject>
    Repeat...
    </FormattedReportObject>
    </ROOT>
    ------------------------------------------------

    For big files use SAX: quicker and less memory usage.
    The xerces parser from Apache has some examples. Basically what you do is scan the XML, remembering what tag you are and once you find the right tag, read the contents.

  • How to get pdf source or XML Source

    I am designing an interactive form using XML interface.
    I need an option to get the pdfsource or XML Source (with all the data i entered on the Interactive Form) using either formcalc or javascript with a button click on the form.
    Please provide ur valuable suggestions.

    I am designing an interactive form using XML interface.
    I need an option to get the pdfsource or XML Source (with all the data i entered on the Interactive Form) using either formcalc or javascript with a button click on the form.
    Please provide ur valuable suggestions.

  • Can anybody tell me the way of getting Smartform output as xml format??

    Dear Experts,
    Can anybody tell me the way of getting Smartform output as xml format??
    Is there exists a standard way of getting it?
    Regards,
    Nikhil Jain

    Hi,
    Use function module FB_DOWNLOAD_FORM .
    Provide your form name as input for i_formname.
    you will get the output in xml format.
    or use utilities--> download option for downloading in xml format.
    For your referrence:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/0b6bc290-0201-0010-5b87-a0e7c7eb55d0?quicklink=index&overridelayout=true
    May it helps you.
    Regards.
    DS

  • Tool or mechanism to put the Oracle metadata into XML format

    Hi,
    Is there any tool or mechanism provided by Oracle to put the Oracle metadata into XML format?I mean metadata here represents Database objects like Tables, Columns, Schemas, stored procedures, Table spaces etc.
    Regards,
    Dayakar

    From 9i and onwards, the dbms_metadata package will do this.
    Either use the documentation or Morgan's library [http://www.psoug.org/reference] for further info
    Sybrand Bakker
    Senior Oracle DBA

  • 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

  • How to get string value from xml in JSF??

    In JSF How to get string value from xml, .ini and properties file. I want to get string value from xml or text to JSF

    Just use the appropriate API's for that. There are enough API's out which can read/parse/write XML, ini and properties files. E.g. JAXP or DOM4J for xml files, INI4J for ini files and Sun's own java.util.Properties for propertiesfiles.
    JSF supports properties files as message bundle and resource bundle so that you can use them for error messages and/or localization.

  • Exporting DAC  metadata in XML format

    I would like to export DAC metadata in XML format . As per the administration guide it is possible to export/import metadata in XML format.
    Any information on this will be appreciated.

    you can only export complete containers to XML, you can't only export the updates (as far as I know that is)
    you can do this by selecting Tools, then select DAC Repository Management, then select Export.

  • I am creating a form on LiveCycle Designer and I am trying to create a form that has a e-mail submit button.  When the butten is utilized it attaches the form to the e-mail in an plain text .xml format rather than the pdf format.  Is there a quick fix?

    I am creating a form on LiveCycle Designer and I am trying to create a form that has a e-mail submit button.  When the button is utilized it attaches the form to the e-mail in an plain text .xml format rather than the pdf format.  Is there a quick fix?

    Hi,
    You have the choice between xml or pdf, in later versions of designer you can choose with a dropdown on the email button Object palette, the "Submit As";
    In earlier version you had to edit the XML Source and change the format from xml to pdf (or vice-versa);
    Regards
    Bruce

  • How to get column names for a specific view in the scheme?

    how to get column names for a specific view in the scheme?
    TIA
    Don't have DD on the wall anymore....

    or this?
    SQL> select text from ALL_VIEWS
      2  where VIEW_NAME
      3  ='EMP_VIEW';
    TEXT
    SELECT empno,ename FROM EMP
    WHERE empno=10

  • I just got the iphone 4s and i cant figure out how to get siri to work it seems to be the old voice command. HELP!

    i just got the iphone 4s and i cant figure out how to get siri to work it seems to be the old voice command. HELP!

    Did you enable Siri in settings?
    Settings > General > Siri > ON
    If Siri is off, all you get when pressing the home button for 1 second is the old Voice Control.

  • How to get last Build date of a dll in the real time target

    Info On My Project    
       I am working on LabWindows CVI 12.0 for development . This project is a real time application for hardware, which is having Phar Lap ETS as RTOS...  
    I am facing some problems while checking Build date of my Application file( .dll)
    I have tried to use GetFileDate API. But it is not supporting for realtime Target..
    So i have tried __DATE__ macro.. That also having some problems..
    How to get last Build date of a dll from the real time target  ??
    Please Help to solve this....
    Thanks
    Vaishakh A  K

    Please reply if any one have suggestion...

  • I have lost sound on my iPad in apps unless I use headphones ,does anyone know how to get sound back without them .I have used the mute volume on the bar at bottom of screen and the slider volume control there only shows when headphones are plugged in !

    I have lost sound on my iPad in apps unless I use headphones ,does anyone know how to get sound back without them .I have used the mute volume on the bar at bottom of screen and the slider volume control there only shows when headphones are plugged in !
    I also tried resetting settings all to no avail ...I looked up some advice and watched utube video advice on how to fix without success..
    The volume control button on side does not work ,I got the iPad last August and wonder if it is a fault that means I must return it for replacement from where it was purchased ?

    The Retrospect you used way back when is no longer around. The company was sold and that company produced a new version of Retrospect - Retrospect 8.x
    So, as you've been told, you would have to be running a Tiger system with an old version of Retrospect software (5.x or 6.x - you would need to know) assuming you can find the software.
    As best I can remember you cannot extract files from a Retrospect backup except using the software since Retrospect did not normally make a file by file backup rather it created an archive of the files in the backup. I'm assuming that the EMC/Retrospect people have told you that old Retrospect backups are not accessible by Retrospect 8.x?

Maybe you are looking for

  • Aktivierung Creative Cloud Abo für Fotografie auf Neugerät

    Nachdem ich an dem schwäbischen Akzent des telefonischen Support gescheitert bin hier meine Frage: Auf meinem alten MacBook installiert ist die Creative Cloud / Fotografie. Nun habe ich ein neues Macbook und mag natürlich diese dort nutzen. Ich nutze

  • How to get the parent and child relation of the group (______________)

    Please teach the method of acquiring the parent and child relation of the group with EDK5.2. EDK5.2____________________,_________o

  • Reduce PO commitment to Zero

    Hi, We Have limit PO with Multiple account assignment in SRM. The issue with commitment distribution for all the account assignment. when i post service entry sheet the value is posting for only first one cost centre/Order but not all. So in the purc

  • Mail 2.1 Improvements?

    I'm looking for suggested free- or shareware that enhances or "pimps out" Mail 2.1 (like "iphoto buddy" does for "iphoto")! Any recs? Thanks! Crash

  • Externalsise users

    hi, i installed/config. shared services, essbase client, essbase server and EAS, i am able to login with MAXL and admin console. i externalize users after right click on security, which prompted successful. i removed essbase server form EAS and added