<?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: ddic structure to XML in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/ddic-structure-to-xml/m-p/2069890#M428617</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try to use CALL TRANSFORMATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSFORMATION id&lt;/P&gt;&lt;P&gt;SOURCE (Internal table)&lt;/P&gt;&lt;P&gt;RESULT (XML string )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Mar 2007 18:02:54 GMT</pubDate>
    <dc:creator>ferry_lianto</dc:creator>
    <dc:date>2007-03-06T18:02:54Z</dc:date>
    <item>
      <title>ddic structure to XML</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ddic-structure-to-xml/m-p/2069889#M428616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there an easy way to create a xml string based on a ddic structure?&lt;/P&gt;&lt;P&gt;Its a nested structure and I want to avoid to create all elements manually.&lt;/P&gt;&lt;P&gt;Perfect way would be that i could fill the structure with data and then transform this into a xml string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for instance:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ls_test-header-name = 'tester'&lt;/P&gt;&lt;P&gt;ls_test-header-county = 'germany'&lt;/P&gt;&lt;P&gt;ls_test-item-material = '4711'&lt;/P&gt;&lt;P&gt;ls_test-item-pos = '1'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;should be transformed to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0"?&amp;gt;&lt;/P&gt;&lt;P&gt;   &amp;lt;ls_test&amp;gt;&lt;/P&gt;&lt;P&gt;       &amp;lt;header&amp;gt;&lt;/P&gt;&lt;P&gt;         &amp;lt;name&amp;gt;tester&amp;lt;/name&amp;gt;&lt;/P&gt;&lt;P&gt;         &amp;lt;country&amp;gt;germany&amp;lt;/country&amp;gt;&lt;/P&gt;&lt;P&gt;       &amp;lt;/header&amp;gt;&lt;/P&gt;&lt;P&gt;       &amp;lt;item&amp;gt;&lt;/P&gt;&lt;P&gt;          &amp;lt;material&amp;gt;4711&amp;lt;/material&amp;gt;&lt;/P&gt;&lt;P&gt;          &amp;lt;pos&amp;gt;1&amp;lt;/pos&amp;gt;&lt;/P&gt;&lt;P&gt;      &amp;lt;/item&amp;gt;&lt;/P&gt;&lt;P&gt;    &amp;lt;/ls_test&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt; Christoph&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2007 17:52:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ddic-structure-to-xml/m-p/2069889#M428616</guid>
      <dc:creator>christoph_rhein1</dc:creator>
      <dc:date>2007-03-06T17:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: ddic structure to XML</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ddic-structure-to-xml/m-p/2069890#M428617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try to use CALL TRANSFORMATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSFORMATION id&lt;/P&gt;&lt;P&gt;SOURCE (Internal table)&lt;/P&gt;&lt;P&gt;RESULT (XML string )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2007 18:02:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ddic-structure-to-xml/m-p/2069890#M428617</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2007-03-06T18:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: ddic structure to XML</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ddic-structure-to-xml/m-p/2069891#M428618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Christoph,&lt;/P&gt;&lt;P&gt;following link describes the xml transformation suggested above:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/e3/7d4719ca581441b6841f1054ff1326/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2005vp/helpdata/en/e3/7d4719ca581441b6841f1054ff1326/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and here is a small example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/ae/101640a991c742e10000000a1550b0/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2005vp/helpdata/en/ae/101640a991c742e10000000a1550b0/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is helpful.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bernd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2007 23:18:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ddic-structure-to-xml/m-p/2069891#M428618</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-06T23:18:46Z</dc:date>
    </item>
  </channel>
</rss>

