<?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: Problems transfering generated XML file on server in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-transfering-generated-xml-file-on-server/m-p/4560517#M1076525</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having the same problem.  Did you ever get an answer to this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Sep 2008 23:43:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-29T23:43:06Z</dc:date>
    <item>
      <title>Problems transfering generated XML file on server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-transfering-generated-xml-file-on-server/m-p/4560516#M1076524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all.&lt;/P&gt;&lt;P&gt;I've got this problem: I generate XML using ixml library, and then I transfer it on local or on server. If I download it on local, there is no problem, but when I download that file on server, the file is corrupted - at the end of files are some rests of of other tags.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basis: 4.6C&lt;/P&gt;&lt;P&gt;here is my code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
TYPES: BEGIN OF t_xml_line,
             data(256) TYPE x,
             END OF t_xml_line.


g_xml_table TYPE STANDARD TABLE OF t_xml_line.

* open file
  OPEN DATASET p_spath FOR OUTPUT IN BINARY MODE.
  IF sy-subrc NE 0.
    MESSAGE e299(r3) WITH 'Chyba pu0159i zalou017Eení souboru na serveru.'.
  ENDIF.

  LOOP AT g_xml_table ASSIGNING &amp;lt;fs_line&amp;gt;.
    TRANSFER &amp;lt;fs_line&amp;gt;-data TO p_spath.
    IF sy-subrc NE 0.
      EXIT.
    ENDIF.

  ENDLOOP.
  UNASSIGN &amp;lt;fs_line&amp;gt;.

  CLOSE DATASET  p_spath.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's strange, because, when i send same table g_xml_table to GUI_DOWNLOAD, generated file is OK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some ideas?&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Filip Kouba on Sep 24, 2008 6:19 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 16:19:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-transfering-generated-xml-file-on-server/m-p/4560516#M1076524</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T16:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problems transfering generated XML file on server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-transfering-generated-xml-file-on-server/m-p/4560517#M1076525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having the same problem.  Did you ever get an answer to this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2008 23:43:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-transfering-generated-xml-file-on-server/m-p/4560517#M1076525</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-29T23:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problems transfering generated XML file on server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-transfering-generated-xml-file-on-server/m-p/4560518#M1076526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I thought I found the solution, but not. I think, that this is caused by some mess in memory because of some bug in basis R/3 release 4.6C...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2008 13:21:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-transfering-generated-xml-file-on-server/m-p/4560518#M1076526</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-02T13:21:34Z</dc:date>
    </item>
  </channel>
</rss>

