<?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 table help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-help/m-p/2292405#M500279</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hallow&lt;/P&gt;&lt;P&gt; I have a internal table person_tab that I wont to convert to xml file&lt;/P&gt;&lt;P&gt;I use metod and in l_xml I get the file that I wont &lt;/P&gt;&lt;P&gt;Now I wont write the file to place in pc but I cant because l_xml its not internal table(I use gui_download)&lt;/P&gt;&lt;P&gt;How can I do that&lt;/P&gt;&lt;P&gt; This is my code&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ATA : l_xml  TYPE REF TO cl_xml_document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CREATE THE XML OBJECT&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CREATE OBJECT l_xml.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CONVERT THE DATA TO XML&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CALL METHOD l_xml-&amp;gt;create_with_data( dataobject = person_tab[] ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_DOWNLOAD'&lt;/P&gt;&lt;P&gt;  EXPORTING                      filena      = 'I:\CAMp&lt;BR /&gt;test_xml\hrsap'  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     filetype                         = 'BIN'&lt;/P&gt;&lt;P&gt;      codepage                        = 'UTF-8'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;      data_tab                        = l_xml   &lt;/P&gt;&lt;P&gt;                   &lt;/P&gt;&lt;P&gt;         .&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;  MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;          WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 May 2007 15:46:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-15T15:46:10Z</dc:date>
    <item>
      <title>table help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-help/m-p/2292405#M500279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hallow&lt;/P&gt;&lt;P&gt; I have a internal table person_tab that I wont to convert to xml file&lt;/P&gt;&lt;P&gt;I use metod and in l_xml I get the file that I wont &lt;/P&gt;&lt;P&gt;Now I wont write the file to place in pc but I cant because l_xml its not internal table(I use gui_download)&lt;/P&gt;&lt;P&gt;How can I do that&lt;/P&gt;&lt;P&gt; This is my code&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ATA : l_xml  TYPE REF TO cl_xml_document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CREATE THE XML OBJECT&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CREATE OBJECT l_xml.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CONVERT THE DATA TO XML&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CALL METHOD l_xml-&amp;gt;create_with_data( dataobject = person_tab[] ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_DOWNLOAD'&lt;/P&gt;&lt;P&gt;  EXPORTING                      filena      = 'I:\CAMp&lt;BR /&gt;test_xml\hrsap'  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     filetype                         = 'BIN'&lt;/P&gt;&lt;P&gt;      codepage                        = 'UTF-8'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;      data_tab                        = l_xml   &lt;/P&gt;&lt;P&gt;                   &lt;/P&gt;&lt;P&gt;         .&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;  MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;          WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 15:46:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-help/m-p/2292405#M500279</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-15T15:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: table help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-help/m-p/2292406#M500280</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;Check the following link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/sample-xml-source-code-for-sap.htm" target="test_blank"&gt;http://www.sap-img.com/abap/sample-xml-source-code-for-sap.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhaskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 15:49:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-help/m-p/2292406#M500280</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-15T15:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: table help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-help/m-p/2292407#M500281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this thread which gives details about your question -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="11751"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also have a look at the blog&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/people/r.eijpe/blog/2005/11/10/xml-dom-processing-in-abap-part-i--convert-an-abap-table-into-xml-file-using-sap-dom-approach&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1655997"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ashish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 15:52:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-help/m-p/2292407#M500281</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-15T15:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: table help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-help/m-p/2292408#M500282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Ashish Gundawar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is no why that i can convert l_xml to somthing&lt;/P&gt;&lt;P&gt;i like table or somthing i can write to server or somthing else&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 16:02:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-help/m-p/2292408#M500282</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-15T16:02:31Z</dc:date>
    </item>
  </channel>
</rss>

