<?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: Convert Internal Table to XML File in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-internal-table-to-xml-file/m-p/7477052#M1555768</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Howdy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should consider using a Simple Transformation - they are fairly easy to pick up and can be used to convert from XML to internal table and vice versa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's a link to the SAP help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04s/helpdata/EN/e3/7d4719ca581441b6841f1054ff1326/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04s/helpdata/EN/e3/7d4719ca581441b6841f1054ff1326/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and a link to the wiki page with examples&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.sdn.sap.com/wiki/display/ABAP/Transformations" target="test_blank"&gt;http://wiki.sdn.sap.com/wiki/display/ABAP/Transformations&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 05 Dec 2010 22:53:10 GMT</pubDate>
    <dc:creator>alex_cook</dc:creator>
    <dc:date>2010-12-05T22:53:10Z</dc:date>
    <item>
      <title>Convert Internal Table to XML File</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-internal-table-to-xml-file/m-p/7477050#M1555766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement where, an internal table needs to be converted to XML file. I know the output format required for the file, but not sure how the internal table should be defined for that or how to populate the internal table. Also, would like to know how do I then convert the internal table to the XML file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following is the sample of the file required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;STATE&amp;gt;DC&lt;/P&gt;&lt;P&gt;&amp;lt;COUNTY&amp;gt;ADAMS MORGAN&lt;/P&gt;&lt;P&gt;&amp;lt;NEIGHBORHOOD&amp;gt;NW&lt;/P&gt;&lt;P&gt;&amp;lt;ADDRESS&amp;gt;1100, 15TH STREET&amp;lt;/ADDRESS&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;ADDRESS&amp;gt;1100, 16TH STREET&amp;lt;/ADDRESS&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;ADDRESS&amp;gt;1100, 17TH STREET&amp;lt;/ADDRESS&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;ADDRESS&amp;gt;1100, 18TH STREET&amp;lt;/ADDRESS&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/NEIGHBORHOOD&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;NEIGHBORHOOD&amp;gt;NE&lt;/P&gt;&lt;P&gt;&amp;lt;ADDRESS&amp;gt;100, 1ST STREET&amp;lt;/ADDRESS&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;ADDRESS&amp;gt;100, 2ND STREET&amp;lt;/ADDRESS&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;ADDRESS&amp;gt;100, 3RD STREET&amp;lt;/ADDRESS&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;ADDRESS&amp;gt;100, 4TH STREET&amp;lt;/ADDRESS&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/NEIGHBORHOOD&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/COUNTY&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;COUNTY&amp;gt;MONTGOMERY&lt;/P&gt;&lt;P&gt;&amp;lt;NEIGHBORHOOD&amp;gt;SW&lt;/P&gt;&lt;P&gt;&amp;lt;ADDRESS&amp;gt;1100, 15TH STREET&amp;lt;/ADDRESS&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;ADDRESS&amp;gt;1100, 16TH STREET&amp;lt;/ADDRESS&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;ADDRESS&amp;gt;1100, 17TH STREET&amp;lt;/ADDRESS&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;ADDRESS&amp;gt;1100, 18TH STREET&amp;lt;/ADDRESS&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/NEIGHBORHOOD&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;NEIGHBORHOOD&amp;gt;SE&lt;/P&gt;&lt;P&gt;&amp;lt;ADDRESS&amp;gt;100, 1ST STREET&amp;lt;/ADDRESS&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;ADDRESS&amp;gt;100, 2ND STREET&amp;lt;/ADDRESS&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;ADDRESS&amp;gt;100, 3RD STREET&amp;lt;/ADDRESS&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;ADDRESS&amp;gt;100, 4TH STREET&amp;lt;/ADDRESS&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/NEIGHBORHOOD&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/COUNTY&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/STATE&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;STATE&amp;gt;VA&lt;/P&gt;&lt;P&gt;&amp;lt;COUNTY&amp;gt;ARLINGTON&lt;/P&gt;&lt;P&gt;&amp;lt;NEIGHBORHOOD&amp;gt;BALLSTON&lt;/P&gt;&lt;P&gt;&amp;lt;ADDRESS&amp;gt;900 NORTH STUART STREET&amp;lt;/ADDRESS&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;ADDRESS&amp;gt;4001 N 9TH STREET&amp;lt;/ADDRESS&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/NEIGHBORHOOD&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;NEIGHBORHOOD&amp;gt;COURT HOUSE&lt;/P&gt;&lt;P&gt;&amp;lt;ADDRESS&amp;gt;9 NORTH STREET&amp;lt;/ADDRESS&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;ADDRESS&amp;gt;40TH STREET&amp;lt;/ADDRESS&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/NEIGHBORHOOD&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/COUNTY&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;COUNTY&amp;gt;RICHMOND&lt;/P&gt;&lt;P&gt;&amp;lt;NEIGHBORHOOD&amp;gt;TOMS RIVER&lt;/P&gt;&lt;P&gt;&amp;lt;ADDRESS&amp;gt;900 NORTH STUART STREET&amp;lt;/ADDRESS&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;ADDRESS&amp;gt;4001 N 9TH STREET&amp;lt;/ADDRESS&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/NEIGHBORHOOD&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/COUNTY&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/STATE&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help on this will be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Salil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Dec 2010 15:12:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-internal-table-to-xml-file/m-p/7477050#M1555766</guid>
      <dc:creator>former_member188001</dc:creator>
      <dc:date>2010-12-05T15:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Internal Table to XML File</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-internal-table-to-xml-file/m-p/7477051#M1555767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Salil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer to [Convert an ABAP table into XML file using SAP DOM Approach.|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/2657] &lt;B&gt;[original link is broken]&lt;/B&gt; &lt;B&gt;[original link is broken]&lt;/B&gt; &lt;B&gt;[original link is broken]&lt;/B&gt;;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Dec 2010 17:08:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-internal-table-to-xml-file/m-p/7477051#M1555767</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-05T17:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Internal Table to XML File</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-internal-table-to-xml-file/m-p/7477052#M1555768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Howdy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should consider using a Simple Transformation - they are fairly easy to pick up and can be used to convert from XML to internal table and vice versa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's a link to the SAP help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04s/helpdata/EN/e3/7d4719ca581441b6841f1054ff1326/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04s/helpdata/EN/e3/7d4719ca581441b6841f1054ff1326/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and a link to the wiki page with examples&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.sdn.sap.com/wiki/display/ABAP/Transformations" target="test_blank"&gt;http://wiki.sdn.sap.com/wiki/display/ABAP/Transformations&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Dec 2010 22:53:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-internal-table-to-xml-file/m-p/7477052#M1555768</guid>
      <dc:creator>alex_cook</dc:creator>
      <dc:date>2010-12-05T22:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Internal Table to XML File</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-internal-table-to-xml-file/m-p/7477053#M1555769</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;you can use dump approach and generate XML manually with help of CONCATENATE. XSLT is better option and DOM might be too slow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Dec 2010 23:47:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-internal-table-to-xml-file/m-p/7477053#M1555769</guid>
      <dc:creator>mvoros</dc:creator>
      <dc:date>2010-12-05T23:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Internal Table to XML File</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-internal-table-to-xml-file/m-p/7477054#M1555770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks everyone for your responses. I am now able to convert internal table into XML with hierarchies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Dec 2010 00:51:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-internal-table-to-xml-file/m-p/7477054#M1555770</guid>
      <dc:creator>former_member188001</dc:creator>
      <dc:date>2010-12-06T00:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Internal Table to XML File</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-internal-table-to-xml-file/m-p/7477055#M1555771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2013 11:54:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-internal-table-to-xml-file/m-p/7477055#M1555771</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-11-05T11:54:05Z</dc:date>
    </item>
  </channel>
</rss>

