<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: element ref and element name code XML in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/element-ref-and-element-name-code-xml/m-p/3511823#M844784</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for you attention,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when I pass the code XML in the parse, I obtain the next code XML schema:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;xs:element name="AccountType" type="xs:string" /&amp;gt;

  &amp;lt;xs:element name="Address" type="xs:string" /&amp;gt;

  &amp;lt;xs:element name="AddressDetail" type="xs:string" /&amp;gt;

  &amp;lt;xs:element name="AuditFile"&amp;gt;
    &amp;lt;xs:complexType&amp;gt;
      &amp;lt;xs:sequence&amp;gt;
        &amp;lt;xs:element ref="Header" /&amp;gt;
        &amp;lt;xs:element ref="MasterFiles" /&amp;gt;
        &amp;lt;xs:element ref="GeneralLedgerEntries" /&amp;gt;
        &amp;lt;xs:element ref="SourceDocuments" /&amp;gt;
      &amp;lt;/xs:sequence&amp;gt;
    &amp;lt;/xs:complexType&amp;gt;
  &amp;lt;/xs:element&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I need obtain the next code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;xs:element name='AccountType' type='SAFtextType'&amp;gt;
    &amp;lt;xs:annotation&amp;gt;
      &amp;lt;xs:documentation&amp;gt;Type of account  - Asset/Liability/Sale/Expense&amp;lt;/xs:documentation&amp;gt;
    &amp;lt;/xs:annotation&amp;gt;
  &amp;lt;/xs:element&amp;gt;
  &amp;lt;xs:element name='Address' type='AddressStructure' /&amp;gt;
  &amp;lt;xs:element name='AddressDetail' type='SAFtextType' /&amp;gt;
  &amp;lt;xs:element name='AuditFile'&amp;gt;
    &amp;lt;xs:complexType&amp;gt;
      &amp;lt;xs:sequence&amp;gt;
        &amp;lt;xs:element ref='Header' minOccurs='1' /&amp;gt;
        &amp;lt;xs:element ref='MasterFiles' /&amp;gt;
        &amp;lt;xs:element *name*='GeneralLedgerEntries' minOccurs='0'&amp;gt;
          &amp;lt;xs:complexType&amp;gt;
            &amp;lt;xs:sequence&amp;gt;
              &amp;lt;xs:element ref='NumberOfEntries' /&amp;gt;
              &amp;lt;xs:element ref='TotalDebit' /&amp;gt;
              &amp;lt;xs:element ref='TotalCredit' /&amp;gt;
              &amp;lt;xs:element *name*='Journal' minOccurs='0' maxOccurs='unbounded'&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;        &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;xs:element *name*='SourceDocuments' minOccurs='0'&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then, I want obtain in the code XML schema the &lt;/P&gt;&lt;P&gt;statement element &lt;STRONG&gt;name&lt;/STRONG&gt;, only can obtain the statement element ref.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope explain well my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cordial greetings&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: lopez fernandez on Feb 27, 2008 12:56 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Feb 2008 11:55:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-27T11:55:04Z</dc:date>
    <item>
      <title>element ref and element name code XML</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/element-ref-and-element-name-code-xml/m-p/3511821#M844782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi abappers,&lt;/P&gt;&lt;P&gt;When I write a code abap with abap object for obtain code XML and I obtain the next code XML:&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&amp;lt;AccountType /&amp;gt; 
&amp;lt;Address /&amp;gt; 
&amp;lt;AddressDetail /&amp;gt; 
&amp;lt;AuditFile&amp;gt;
 &amp;lt;Header&amp;gt;
  &amp;lt;AuditFileVersion /&amp;gt; 
  &amp;lt;CompanyID /&amp;gt; 
  &amp;lt;TaxAccountingBasis /&amp;gt; 
  &amp;lt;CompanyName /&amp;gt; 
  &amp;lt;CompanyAddress /&amp;gt; 
  &amp;lt;FiscalYear /&amp;gt; 
  &amp;lt;StartDate /&amp;gt; 
  &amp;lt;EndDate /&amp;gt; 
  &amp;lt;CurrencyCode /&amp;gt; 
  &amp;lt;DateCreated /&amp;gt; 
  &amp;lt;ProductID /&amp;gt; 
  &amp;lt;ProductVersion /&amp;gt; 
  &amp;lt;Telephone /&amp;gt; 
  &amp;lt;Fax /&amp;gt; 
  &amp;lt;Email /&amp;gt; 
  &amp;lt;AuditFileVersion /&amp;gt; 
  &amp;lt;WebSite /&amp;gt; 
  &amp;lt;HeaderComment /&amp;gt; 
 &amp;lt;/Header&amp;gt;
  &amp;lt;Supplier /&amp;gt; 
  &amp;lt;SupplierID /&amp;gt; 
  &amp;lt;SupplierTaxID /&amp;gt; 
  &amp;lt;Tax /&amp;gt; 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I want inject the code XML of &lt;STRONG&gt;Header&lt;/STRONG&gt; with all the elements AuditFileVersion, CompanyID, AccountingBasis,&lt;/P&gt;&lt;P&gt;CompanyName, ..., WebSite, HeaderCommnet in my code abap without write it.&lt;/P&gt;&lt;P&gt;Is possible with abap objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help me please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cordial greetins.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2008 10:09:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/element-ref-and-element-name-code-xml/m-p/3511821#M844782</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-27T10:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: element ref and element name code XML</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/element-ref-and-element-name-code-xml/m-p/3511822#M844783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry couldnt understand, but can you show us the (sample of) source XML and after processing how it should look like (sample)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2008 11:12:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/element-ref-and-element-name-code-xml/m-p/3511822#M844783</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2008-02-27T11:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: element ref and element name code XML</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/element-ref-and-element-name-code-xml/m-p/3511823#M844784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for you attention,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when I pass the code XML in the parse, I obtain the next code XML schema:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;xs:element name="AccountType" type="xs:string" /&amp;gt;

  &amp;lt;xs:element name="Address" type="xs:string" /&amp;gt;

  &amp;lt;xs:element name="AddressDetail" type="xs:string" /&amp;gt;

  &amp;lt;xs:element name="AuditFile"&amp;gt;
    &amp;lt;xs:complexType&amp;gt;
      &amp;lt;xs:sequence&amp;gt;
        &amp;lt;xs:element ref="Header" /&amp;gt;
        &amp;lt;xs:element ref="MasterFiles" /&amp;gt;
        &amp;lt;xs:element ref="GeneralLedgerEntries" /&amp;gt;
        &amp;lt;xs:element ref="SourceDocuments" /&amp;gt;
      &amp;lt;/xs:sequence&amp;gt;
    &amp;lt;/xs:complexType&amp;gt;
  &amp;lt;/xs:element&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I need obtain the next code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;xs:element name='AccountType' type='SAFtextType'&amp;gt;
    &amp;lt;xs:annotation&amp;gt;
      &amp;lt;xs:documentation&amp;gt;Type of account  - Asset/Liability/Sale/Expense&amp;lt;/xs:documentation&amp;gt;
    &amp;lt;/xs:annotation&amp;gt;
  &amp;lt;/xs:element&amp;gt;
  &amp;lt;xs:element name='Address' type='AddressStructure' /&amp;gt;
  &amp;lt;xs:element name='AddressDetail' type='SAFtextType' /&amp;gt;
  &amp;lt;xs:element name='AuditFile'&amp;gt;
    &amp;lt;xs:complexType&amp;gt;
      &amp;lt;xs:sequence&amp;gt;
        &amp;lt;xs:element ref='Header' minOccurs='1' /&amp;gt;
        &amp;lt;xs:element ref='MasterFiles' /&amp;gt;
        &amp;lt;xs:element *name*='GeneralLedgerEntries' minOccurs='0'&amp;gt;
          &amp;lt;xs:complexType&amp;gt;
            &amp;lt;xs:sequence&amp;gt;
              &amp;lt;xs:element ref='NumberOfEntries' /&amp;gt;
              &amp;lt;xs:element ref='TotalDebit' /&amp;gt;
              &amp;lt;xs:element ref='TotalCredit' /&amp;gt;
              &amp;lt;xs:element *name*='Journal' minOccurs='0' maxOccurs='unbounded'&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;        &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;xs:element *name*='SourceDocuments' minOccurs='0'&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then, I want obtain in the code XML schema the &lt;/P&gt;&lt;P&gt;statement element &lt;STRONG&gt;name&lt;/STRONG&gt;, only can obtain the statement element ref.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope explain well my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cordial greetings&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: lopez fernandez on Feb 27, 2008 12:56 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2008 11:55:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/element-ref-and-element-name-code-xml/m-p/3511823#M844784</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-27T11:55:04Z</dc:date>
    </item>
  </channel>
</rss>

