<?xml version="1.0"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" version="1.0">
 <element name="SAPRDI01">
  <annotation>
   <documentation>SAPscript Raw Data Interface IDOC Type</documentation>
  </annotation>
  <complexType>
   <sequence>
    <element name="IDOC">
     <complexType>
      <sequence>
       <element name="EDI_DC40">
        <annotation>
         <documentation>IDoc Control Record for Interface to External System</documentation>
        </annotation>
        <complexType>
         <sequence>
          <element name="TABNAM" type="string" fixed="EDI_DC40">
           <annotation>
            <documentation>Name of table structure</documentation>
           </annotation>
          </element>
          <element name="MANDT" minOccurs="0">
           <annotation>
            <documentation>Client</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="3"/>
            </restriction>
           </simpleType>
          </element>
          <element name="DOCNUM" minOccurs="0">
           <annotation>
            <documentation>IDoc number</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="16"/>
            </restriction>
           </simpleType>
          </element>
          <element name="DOCREL" minOccurs="0">
           <annotation>
            <documentation>SAP Release for IDoc</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="4"/>
            </restriction>
           </simpleType>
          </element>
          <element name="STATUS" minOccurs="0">
           <annotation>
            <documentation>Status of IDoc</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="2"/>
            </restriction>
           </simpleType>
          </element>
          <element name="DIRECT">
           <annotation>
            <documentation>Direction</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <enumeration value="1">
              <annotation>
               <documentation>Outbound</documentation>
              </annotation>
             </enumeration>
             <enumeration value="2">
              <annotation>
               <documentation>Inbound</documentation>
              </annotation>
             </enumeration>
            </restriction>
           </simpleType>
          </element>
          <element name="OUTMOD" minOccurs="0">
           <annotation>
            <documentation>Output mode</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="1"/>
            </restriction>
           </simpleType>
          </element>
          <element name="EXPRSS" minOccurs="0">
           <annotation>
            <documentation>Overriding in inbound processing</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="1"/>
            </restriction>
           </simpleType>
          </element>
          <element name="TEST" minOccurs="0">
           <annotation>
            <documentation>Test flag</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="1"/>
            </restriction>
           </simpleType>
          </element>
          <element name="IDOCTYP" type="string" fixed="SAPRDI01">
           <annotation>
            <documentation>Name of basic type</documentation>
           </annotation>
          </element>
          <element name="CIMTYP" minOccurs="0">
           <annotation>
            <documentation>Extension (defined by customer)</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="30"/>
            </restriction>
           </simpleType>
          </element>
          <element name="MESTYP" minOccurs="0">
           <annotation>
            <documentation>Message type</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="30"/>
            </restriction>
           </simpleType>
          </element>
          <element name="MESCOD" minOccurs="0">
           <annotation>
            <documentation>Message code</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="3"/>
            </restriction>
           </simpleType>
          </element>
          <element name="MESFCT" minOccurs="0">
           <annotation>
            <documentation>Message function</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="3"/>
            </restriction>
           </simpleType>
          </element>
          <element name="STD" minOccurs="0">
           <annotation>
            <documentation>EDI standard, flag</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="1"/>
            </restriction>
           </simpleType>
          </element>
          <element name="STDVRS" minOccurs="0">
           <annotation>
            <documentation>EDI standard, version and release</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="6"/>
            </restriction>
           </simpleType>
          </element>
          <element name="STDMES" minOccurs="0">
           <annotation>
            <documentation>EDI message type</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="6"/>
            </restriction>
           </simpleType>
          </element>
          <element name="SNDPOR">
           <annotation>
            <documentation>Sender port (SAP System, external subsystem)</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="10"/>
            </restriction>
           </simpleType>
          </element>
          <element name="SNDPRT">
           <annotation>
            <documentation>Partner type of sender</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="2"/>
            </restriction>
           </simpleType>
          </element>
          <element name="SNDPFC" minOccurs="0">
           <annotation>
            <documentation>Partner Function of Sender</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="2"/>
            </restriction>
           </simpleType>
          </element>
          <element name="SNDPRN">
           <annotation>
            <documentation>Partner number of sender</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="10"/>
            </restriction>
           </simpleType>
          </element>
          <element name="SNDSAD" minOccurs="0">
           <annotation>
            <documentation>Sender address (SADR)</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="21"/>
            </restriction>
           </simpleType>
          </element>
          <element name="SNDLAD" minOccurs="0">
           <annotation>
            <documentation>Logical address of sender</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="70"/>
            </restriction>
           </simpleType>
          </element>
          <element name="RCVPOR">
           <annotation>
            <documentation>Receiver port</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="10"/>
            </restriction>
           </simpleType>
          </element>
          <element name="RCVPRT" minOccurs="0">
           <annotation>
            <documentation>Partner type of recipient</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="2"/>
            </restriction>
           </simpleType>
          </element>
          <element name="RCVPFC" minOccurs="0">
           <annotation>
            <documentation>Partner function of recipient</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="2"/>
            </restriction>
           </simpleType>
          </element>
          <element name="RCVPRN">
           <annotation>
            <documentation>Partner number of recipient</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="10"/>
            </restriction>
           </simpleType>
          </element>
          <element name="RCVSAD" minOccurs="0">
           <annotation>
            <documentation>Recipient address (SADR)</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="21"/>
            </restriction>
           </simpleType>
          </element>
          <element name="RCVLAD" minOccurs="0">
           <annotation>
            <documentation>Logical address of recipient</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="70"/>
            </restriction>
           </simpleType>
          </element>
          <element name="CREDAT" minOccurs="0">
           <annotation>
            <documentation>Created on</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="8"/>
            </restriction>
           </simpleType>
          </element>
          <element name="CRETIM" minOccurs="0">
           <annotation>
            <documentation>Time created</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="6"/>
            </restriction>
           </simpleType>
          </element>
          <element name="REFINT" minOccurs="0">
           <annotation>
            <documentation>Transmission file (EDI Interchange)</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="14"/>
            </restriction>
           </simpleType>
          </element>
          <element name="REFGRP" minOccurs="0">
           <annotation>
            <documentation>Message group (EDI Message Group)</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="14"/>
            </restriction>
           </simpleType>
          </element>
          <element name="REFMES" minOccurs="0">
           <annotation>
            <documentation>Message (EDI Message)</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="14"/>
            </restriction>
           </simpleType>
          </element>
          <element name="ARCKEY" minOccurs="0">
           <annotation>
            <documentation>Key for external message archive</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="70"/>
            </restriction>
           </simpleType>
          </element>
          <element name="SERIAL" minOccurs="0">
           <annotation>
            <documentation>Serialization</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="20"/>
            </restriction>
           </simpleType>
          </element>
         </sequence>
         <attribute name="SEGMENT" use="required">
          <simpleType>
           <restriction base="string">
            <enumeration value="1"/>
           </restriction>
          </simpleType>
         </attribute>
        </complexType>
       </element>
       <element name="E1RDIH" maxOccurs="999999">
        <annotation>
         <documentation>SAPscript RDI: Header Structure</documentation>
        </annotation>
        <complexType>
         <sequence>
          <element name="RDIVERSION" minOccurs="0">
           <annotation>
            <documentation>RDI version (SAPscript Raw Data Interface)</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="6"/>
            </restriction>
           </simpleType>
          </element>
          <element name="MANDT" minOccurs="0">
           <annotation>
            <documentation>Client</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="3"/>
            </restriction>
           </simpleType>
          </element>
          <element name="TDSPRAS" minOccurs="0">
           <annotation>
            <documentation>Language key</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="1"/>
            </restriction>
           </simpleType>
          </element>
          <element name="TDFORM" minOccurs="0">
           <annotation>
            <documentation>Form name</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="16"/>
            </restriction>
           </simpleType>
          </element>
          <element name="TDDEVICE" minOccurs="0">
           <annotation>
            <documentation>Output device</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="8"/>
            </restriction>
           </simpleType>
          </element>
          <element name="HOST" minOccurs="0">
           <annotation>
            <documentation>Character field, length 64</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="64"/>
            </restriction>
           </simpleType>
          </element>
          <element name="BATCH" minOccurs="0">
           <annotation>
            <documentation>Checkbox (yes or no)</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="1"/>
            </restriction>
           </simpleType>
          </element>
          <element name="TDPAGESLCT" minOccurs="0">
           <annotation>
            <documentation>Pages selected for printing</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="60"/>
            </restriction>
           </simpleType>
          </element>
          <element name="TDCOPIES" minOccurs="0">
           <annotation>
            <documentation>Number of Identical Copies</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="3"/>
            </restriction>
           </simpleType>
          </element>
          <element name="TDDEST" minOccurs="0">
           <annotation>
            <documentation>Spool: Output device</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="4"/>
            </restriction>
           </simpleType>
          </element>
          <element name="TDPRINTER" minOccurs="0">
           <annotation>
            <documentation>Spool: Device type name</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="8"/>
            </restriction>
           </simpleType>
          </element>
          <element name="TDPREVIEW" minOccurs="0">
           <annotation>
            <documentation>Print preview</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="1"/>
            </restriction>
           </simpleType>
          </element>
          <element name="TDNOPREV" minOccurs="0">
           <annotation>
            <documentation>No print preview</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="1"/>
            </restriction>
           </simpleType>
          </element>
          <element name="TDNOPRINT" minOccurs="0">
           <annotation>
            <documentation>No printing from print preview</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="1"/>
            </restriction>
           </simpleType>
          </element>
          <element name="TDNEWID" minOccurs="0">
           <annotation>
            <documentation>Print parameters, new spool request</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="1"/>
            </restriction>
           </simpleType>
          </element>
          <element name="TDDATASET" minOccurs="0">
           <annotation>
            <documentation>Spool request: Name</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="6"/>
            </restriction>
           </simpleType>
          </element>
          <element name="TDSUFFIX1" minOccurs="0">
           <annotation>
            <documentation>Spool request: Suffix 1</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="4"/>
            </restriction>
           </simpleType>
          </element>
          <element name="TDSUFFIX2" minOccurs="0">
           <annotation>
            <documentation>Spool request: Suffix 2</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="12"/>
            </restriction>
           </simpleType>
          </element>
          <element name="TDIMMED" minOccurs="0">
           <annotation>
            <documentation>Print parameters, print immediately</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="1"/>
            </restriction>
           </simpleType>
          </element>
          <element name="TDLIFETIME" minOccurs="0">
           <annotation>
            <documentation>Print parameters, spool retention period</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="1"/>
            </restriction>
           </simpleType>
          </element>
          <element name="TDDELETE" minOccurs="0">
           <annotation>
            <documentation>Print parameters, delete after printing</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="1"/>
            </restriction>
           </simpleType>
          </element>
          <element name="TDSCHEDULE" minOccurs="0">
           <annotation>
            <documentation>Send time request</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="3"/>
            </restriction>
           </simpleType>
          </element>
          <element name="TDSENDDATE" minOccurs="0">
           <annotation>
            <documentation>Requested send date</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="8"/>
            </restriction>
           </simpleType>
          </element>
          <element name="TDSENDTIME" minOccurs="0">
           <annotation>
            <documentation>Requested send time</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="6"/>
            </restriction>
           </simpleType>
          </element>
          <element name="TDTELELAND" minOccurs="0">
           <annotation>
            <documentation>Country key</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="3"/>
            </restriction>
           </simpleType>
          </element>
          <element name="TDTELENUM" minOccurs="0">
           <annotation>
            <documentation>Telecommunications partner</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="30"/>
            </restriction>
           </simpleType>
          </element>
          <element name="TDTITLE" minOccurs="0">
           <annotation>
            <documentation>Title in dialog box</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="50"/>
            </restriction>
           </simpleType>
          </element>
          <element name="TDTEST" minOccurs="0">
           <annotation>
            <documentation>Test form</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="1"/>
            </restriction>
           </simpleType>
          </element>
          <element name="TDPROGRAM" minOccurs="0">
           <annotation>
            <documentation>Program name</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="40"/>
            </restriction>
           </simpleType>
          </element>
          <element name="TDSCRNPOS" minOccurs="0">
           <annotation>
            <documentation>Screen display position for OTF</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="15"/>
            </restriction>
           </simpleType>
          </element>
          <element name="TDCOVER" minOccurs="0">
           <annotation>
            <documentation>Print: SAP cover page</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="1"/>
            </restriction>
           </simpleType>
          </element>
          <element name="TDCOVTITLE" minOccurs="0">
           <annotation>
            <documentation>Print parameters, text for cover page</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="68"/>
            </restriction>
           </simpleType>
          </element>
          <element name="TDRECEIVER" minOccurs="0">
           <annotation>
            <documentation>Print parameters, recipient</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="12"/>
            </restriction>
           </simpleType>
          </element>
          <element name="TDDIVISION" minOccurs="0">
           <annotation>
            <documentation>Print parameters, department on cover page</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="12"/>
            </restriction>
           </simpleType>
          </element>
          <element name="TDAUTORITY" minOccurs="0">
           <annotation>
            <documentation>Print: Authorization</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="12"/>
            </restriction>
           </simpleType>
          </element>
          <element name="TDARMOD" minOccurs="0">
           <annotation>
            <documentation>Print: Archiving mode</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="1"/>
            </restriction>
           </simpleType>
          </element>
          <element name="TDIEXIT" minOccurs="0">
           <annotation>
            <documentation>Immediate exit after printing/faxing from print preview</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="1"/>
            </restriction>
           </simpleType>
          </element>
          <element name="TDGETOTF" minOccurs="0">
           <annotation>
            <documentation>Return of OTF table. No printing, display, or faxing</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="1"/>
            </restriction>
           </simpleType>
          </element>
          <element name="TDFAXUSER" minOccurs="0">
           <annotation>
            <documentation>SAPoffice user name</documentation>
           </annotation>
           <simpleType>
            <restriction base="string">
             <maxLength value="12"/>
            </restriction>
           </simpleType>
          </element>
          <element name="E1RDI_BODY" minOccurs="0" maxOccurs="999999">
           <annotation>
            <documentation>SAPscript RDI: [DUMMY] Segment for Document Body</documentation>
           </annotation>
           <complexType>
            <sequence>
             <element name="DUMMY_BODY" minOccurs="0">
              <annotation>
               <documentation>TDIC first character byte</documentation>
              </annotation>
              <simpleType>
               <restriction base="string">
                <maxLength value="1"/>
               </restriction>
              </simpleType>
             </element>
             <element name="E1RDIS" minOccurs="0" maxOccurs="999999">
              <annotation>
               <documentation>SAPscript RDI: Sort Structure</documentation>
              </annotation>
              <complexType>
               <sequence>
                <element name="SNDSORT01" minOccurs="0">
                 <annotation>
                  <documentation>SAPscript: Sort criterion</documentation>
                 </annotation>
                 <simpleType>
                  <restriction base="string">
                   <maxLength value="32"/>
                  </restriction>
                 </simpleType>
                </element>
                <element name="SNDSORT02" minOccurs="0">
                 <annotation>
                  <documentation>SAPscript: Sort criterion</documentation>
                 </annotation>
                 <simpleType>
                  <restriction base="string">
                   <maxLength value="32"/>
                  </restriction>
                 </simpleType>
                </element>
                <element name="SNDSORT03" minOccurs="0">
                 <annotation>
                  <documentation>SAPscript: Sort criterion</documentation>
                 </annotation>
                 <simpleType>
                  <restriction base="string">
                   <maxLength value="32"/>
                  </restriction>
                 </simpleType>
                </element>
                <element name="SNDSORT04" minOccurs="0">
                 <annotation>
                  <documentation>SAPscript: Sort criterion</documentation>
                 </annotation>
                 <simpleType>
                  <restriction base="string">
                   <maxLength value="32"/>
                  </restriction>
                 </simpleType>
                </element>
                <element name="SNDSORT05" minOccurs="0">
                 <annotation>
                  <documentation>SAPscript: Sort criterion</documentation>
                 </annotation>
                 <simpleType>
                  <restriction base="string">
                   <maxLength value="32"/>
                  </restriction>
                 </simpleType>
                </element>
                <element name="SNDSORT06" minOccurs="0">
                 <annotation>
                  <documentation>SAPscript: Sort criterion</documentation>
                 </annotation>
                 <simpleType>
                  <restriction base="string">
                   <maxLength value="32"/>
                  </restriction>
                 </simpleType>
                </element>
                <element name="SNDSORT07" minOccurs="0">
                 <annotation>
                  <documentation>SAPscript: Sort criterion</documentation>
                 </annotation>
                 <simpleType>
                  <restriction base="string">
                   <maxLength value="32"/>
                  </restriction>
                 </simpleType>
                </element>
                <element name="SNDSORT08" minOccurs="0">
                 <annotation>
                  <documentation>SAPscript: Sort criterion</documentation>
                 </annotation>
                 <simpleType>
                  <restriction base="string">
                   <maxLength value="32"/>
                  </restriction>
                 </simpleType>
                </element>
                <element name="SNDSORT09" minOccurs="0">
                 <annotation>
                  <documentation>SAPscript: Sort criterion</documentation>
                 </annotation>
                 <simpleType>
                  <restriction base="string">
                   <maxLength value="32"/>
                  </restriction>
                 </simpleType>
                </element>
                <element name="SNDSORT10" minOccurs="0">
                 <annotation>
                  <documentation>SAPscript: Sort criterion</documentation>
                 </annotation>
                 <simpleType>
                  <restriction base="string">
                   <maxLength value="32"/>
                  </restriction>
                 </simpleType>
                </element>
                <element name="RCVSORT01" minOccurs="0">
                 <annotation>
                  <documentation>SAPscript: Sort criterion</documentation>
                 </annotation>
                 <simpleType>
                  <restriction base="string">
                   <maxLength value="32"/>
                  </restriction>
                 </simpleType>
                </element>
                <element name="RCVSORT02" minOccurs="0">
                 <annotation>
                  <documentation>SAPscript: Sort criterion</documentation>
                 </annotation>
                 <simpleType>
                  <restriction base="string">
                   <maxLength value="32"/>
                  </restriction>
                 </simpleType>
                </element>
                <element name="RCVSORT03" minOccurs="0">
                 <annotation>
                  <documentation>SAPscript: Sort criterion</documentation>
                 </annotation>
                 <simpleType>
                  <restriction base="string">
                   <maxLength value="32"/>
                  </restriction>
                 </simpleType>
                </element>
                <element name="RCVSORT04" minOccurs="0">
                 <annotation>
                  <documentation>SAPscript: Sort criterion</documentation>
                 </annotation>
                 <simpleType>
                  <restriction base="string">
                   <maxLength value="32"/>
                  </restriction>
                 </simpleType>
                </element>
                <element name="RCVSORT05" minOccurs="0">
                 <annotation>
                  <documentation>SAPscript: Sort criterion</documentation>
                 </annotation>
                 <simpleType>
                  <restriction base="string">
                   <maxLength value="32"/>
                  </restriction>
                 </simpleType>
                </element>
               </sequence>
               <attribute name="SEGMENT" use="required">
                <simpleType>
                 <restriction base="string">
                  <enumeration value="1"/>
                 </restriction>
                </simpleType>
               </attribute>
              </complexType>
             </element>
             <element name="E1RDIC" minOccurs="0" maxOccurs="999999">
              <annotation>
               <documentation>SAPscript RDI: Control Structure</documentation>
              </annotation>
              <complexType>
               <sequence>
                <element name="CTRL" minOccurs="0">
                 <annotation>
                  <documentation>Char255</documentation>
                 </annotation>
                 <simpleType>
                  <restriction base="string">
                   <maxLength value="255"/>
                  </restriction>
                 </simpleType>
                </element>
               </sequence>
               <attribute name="SEGMENT" use="required">
                <simpleType>
                 <restriction base="string">
                  <enumeration value="1"/>
                 </restriction>
                </simpleType>
               </attribute>
              </complexType>
             </element>
             <element name="E1RDID" minOccurs="0" maxOccurs="999999">
              <annotation>
               <documentation>SAPscript RDI: Data Structure</documentation>
              </annotation>
              <complexType>
               <sequence>
                <element name="WINDOW" minOccurs="0">
                 <annotation>
                  <documentation>Window</documentation>
                 </annotation>
                 <simpleType>
                  <restriction base="string">
                   <maxLength value="8"/>
                  </restriction>
                 </simpleType>
                </element>
                <element name="NEWMAIN" minOccurs="0">
                 <annotation>
                  <documentation>Checkbox (yes or no)</documentation>
                 </annotation>
                 <simpleType>
                  <restriction base="string">
                   <maxLength value="1"/>
                  </restriction>
                 </simpleType>
                </element>
                <element name="NEWELEMENT" minOccurs="0">
                 <annotation>
                  <documentation>Checkbox (yes or no)</documentation>
                 </annotation>
                 <simpleType>
                  <restriction base="string">
                   <maxLength value="1"/>
                  </restriction>
                 </simpleType>
                </element>
                <element name="ELEMENT" minOccurs="0">
                 <annotation>
                  <documentation>STXD form event</documentation>
                 </annotation>
                 <simpleType>
                  <restriction base="string">
                   <maxLength value="30"/>
                  </restriction>
                 </simpleType>
                </element>
                <element name="SYMNAME" minOccurs="0">
                 <annotation>
                  <documentation>Name of a program symbol (w/o &amp;)</documentation>
                 </annotation>
                 <simpleType>
                  <restriction base="string">
                   <maxLength value="130"/>
                  </restriction>
                 </simpleType>
                </element>
                <element name="MORE" minOccurs="0">
                 <annotation>
                  <documentation>Checkbox (yes or no)</documentation>
                 </annotation>
                 <simpleType>
                  <restriction base="string">
                   <maxLength value="1"/>
                  </restriction>
                 </simpleType>
                </element>
                <element name="SYMLENGTH" minOccurs="0">
                 <annotation>
                  <documentation>Output length</documentation>
                 </annotation>
                 <simpleType>
                  <restriction base="string">
                   <maxLength value="6"/>
                  </restriction>
                 </simpleType>
                </element>
                <element name="SYMVALUE" minOccurs="0">
                 <annotation>
                  <documentation>RDI: Symbol value</documentation>
                 </annotation>
                 <simpleType>
                  <restriction base="string">
                   <maxLength value="255"/>
                  </restriction>
                 </simpleType>
                </element>
               </sequence>
               <attribute name="SEGMENT" use="required">
                <simpleType>
                 <restriction base="string">
                  <enumeration value="1"/>
                 </restriction>
                </simpleType>
               </attribute>
              </complexType>
             </element>
            </sequence>
            <attribute name="SEGMENT" use="required">
             <simpleType>
              <restriction base="string">
               <enumeration value="1"/>
              </restriction>
             </simpleType>
            </attribute>
           </complexType>
          </element>
         </sequence>
         <attribute name="SEGMENT" use="required">
          <simpleType>
           <restriction base="string">
            <enumeration value="1"/>
           </restriction>
          </simpleType>
         </attribute>
        </complexType>
       </element>
      </sequence>
      <attribute name="BEGIN" use="required">
       <simpleType>
        <restriction base="string">
         <enumeration value="1"/>
        </restriction>
       </simpleType>
      </attribute>
     </complexType>
    </element>
   </sequence>
  </complexType>
 </element>
</schema>
