<?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: problem with function FTP_R3_TO_SERVER in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-function-ftp-r3-to-server/m-p/6289586#M1389637</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;Hi,
Check the below blog
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;&amp;lt;u&amp;gt;[Transferring Data from SAP to Other Systems|http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417600)ID1426779150DB00445078734203682954End?blog=/pub/wlg/5564]&amp;lt;/u&amp;gt;&amp;lt;/b&amp;gt;

Thanks
Venkat.O&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Oct 2009 14:39:09 GMT</pubDate>
    <dc:creator>venkat_o</dc:creator>
    <dc:date>2009-10-28T14:39:09Z</dc:date>
    <item>
      <title>problem with function FTP_R3_TO_SERVER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-function-ftp-r3-to-server/m-p/6289583#M1389634</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;I have a problem with the function FTP_R3_TO_SERVER. When I downliad my internal table to the ftp server, the data file has a size of 0. There is no data in my data file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here my coding:&lt;/P&gt;&lt;P&gt; xml_string = here is my xml file which I move to l_t_bindata.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

  DATA:
        l_f_handle  TYPE i,
        l_f_fname   TYPE c LENGTH 50,
        l_r_bindata TYPE xstring,
        l_t_bindata LIKE STANDARD TABLE OF l_r_bindata.

  CALL FUNCTION 'FTP_CONNECT'
    EXPORTING
      user            = ' '
      password        = ' '
      host            = '172.172.0.54'
      rfc_destination = 'SAPFTP'
    IMPORTING
      handle          = l_f_handle
    EXCEPTIONS
      not_connected   = 1
      OTHERS          = 2.

  CHECK sy-subrc = 0.

  l_f_fname = 'DATA.xml'.

  l_r_bindata = xml_string.
  APPEND l_r_bindata TO l_t_bindata.

  CALL FUNCTION 'FTP_R3_TO_SERVER'
    EXPORTING
      handle         = l_f_handle
      fname          = l_f_fname
      character_mode = 'X'
    TABLES
      text           = l_t_bindata
    EXCEPTIONS
      tcpip_error    = 1
      command_error  = 2
      data_error     = 3
      OTHERS         = 4.

  IF sy-subrc = 0.

    CALL FUNCTION 'FTP_DISCONNECT'
      EXPORTING
        handle = l_f_handle.

  ENDIF.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did someone know where the problem is that I get an empty data file ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2009 13:00:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-function-ftp-r3-to-server/m-p/6289583#M1389634</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-28T13:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: problem with function FTP_R3_TO_SERVER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-function-ftp-r3-to-server/m-p/6289584#M1389635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this might help - &lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="169858"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2009 13:16:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-function-ftp-r3-to-server/m-p/6289584#M1389635</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-28T13:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: problem with function FTP_R3_TO_SERVER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-function-ftp-r3-to-server/m-p/6289585#M1389636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your answer, I have already checked all RSFTP00... reports, furthermore I have searched in the forum for the problem, but when I look to other threads they use the same functions as I do, but why is my data file empty, I have one line in l_t_bindata, but when I transfer it to the ftp the data file is empty.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2009 13:19:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-function-ftp-r3-to-server/m-p/6289585#M1389636</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-28T13:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: problem with function FTP_R3_TO_SERVER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-function-ftp-r3-to-server/m-p/6289586#M1389637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;Hi,
Check the below blog
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;&amp;lt;u&amp;gt;[Transferring Data from SAP to Other Systems|http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417600)ID1426779150DB00445078734203682954End?blog=/pub/wlg/5564]&amp;lt;/u&amp;gt;&amp;lt;/b&amp;gt;

Thanks
Venkat.O&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2009 14:39:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-function-ftp-r3-to-server/m-p/6289586#M1389637</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2009-10-28T14:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: problem with function FTP_R3_TO_SERVER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-function-ftp-r3-to-server/m-p/6289587#M1389638</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;I have compare the coding of the mentioned blog and my coding and both are same. the problem is not in transfering data from sap to ftp, the problem which I have is that the transfered data file is empty although I have one line in my internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2009 14:42:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-function-ftp-r3-to-server/m-p/6289587#M1389638</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-28T14:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: problem with function FTP_R3_TO_SERVER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-function-ftp-r3-to-server/m-p/6289588#M1389639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no ideas guys?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2009 08:51:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-function-ftp-r3-to-server/m-p/6289588#M1389639</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-29T08:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: problem with function FTP_R3_TO_SERVER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-function-ftp-r3-to-server/m-p/6289589#M1389640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did anybody worked with the mentioned fm?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Nov 2009 08:05:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-function-ftp-r3-to-server/m-p/6289589#M1389640</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-03T08:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: problem with function FTP_R3_TO_SERVER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-function-ftp-r3-to-server/m-p/6289590#M1389641</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;the download works now, but the problem is now that I have no xml. I get a hex data file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
TYPES: BEGIN OF t_file,
text(65535) TYPE c,
END OF t_file.

data:
        l_r_bindata   type t_file,
        l_t_bindata   LIKE STANDARD TABLE OF l_r_bindata,
       xml_string    TYPE xstring.

  l_r_bindata-text = xml_string.
  APPEND l_r_bindata TO l_t_bindata.

  CALL FUNCTION 'FTP_R3_TO_SERVER'
    EXPORTING
      handle         = l_f_handle
      fname          = l_f_fname
      character_mode = 'X'
    TABLES
      text           = l_t_bindata
    EXCEPTIONS
      tcpip_error    = 1
      command_error  = 2
      data_error     = 3
      OTHERS         = 4.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;when I look to the data file on my ftp server there is no xml data, what I see is a hex data. How can I get the same xml which I move to l_r_bindata-text.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2009 09:47:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-function-ftp-r3-to-server/m-p/6289590#M1389641</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-05T09:47:17Z</dc:date>
    </item>
  </channel>
</rss>

