<?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: File Transfer in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-transfer/m-p/3490960#M839473</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 same requirment . i used same as u but it is not working .&lt;/P&gt;&lt;P&gt;so please help me regarding this.&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;&lt;/P&gt;&lt;P&gt;T.Srinvas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 May 2009 08:53:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-22T08:53:49Z</dc:date>
    <item>
      <title>File Transfer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-transfer/m-p/3490955#M839468</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;&lt;/P&gt;&lt;P&gt;Any function module or ABAP syntax available to 'Move' a file to a destination directory from it's current location, so that it's permanently removed from the current location. Assume a situation like simple 'Cut-Paste' scenario in windows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vishy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2008 16:27:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-transfer/m-p/3490955#M839468</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-13T16:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: File Transfer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-transfer/m-p/3490956#M839469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vishy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this link &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="4875024"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2008 16:31:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-transfer/m-p/3490956#M839469</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-13T16:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: File Transfer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-transfer/m-p/3490957#M839470</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;acc. to my best knowledge, there is no direct way. However you can do the following:&lt;/P&gt;&lt;P&gt;Use the following methods of class CL_GUI_FRONTEND_SERVICES:&lt;/P&gt;&lt;P&gt;FILE_COPY ==&amp;gt; to copy the file with new name&lt;/P&gt;&lt;P&gt;FILE_DELETE ==&amp;gt; to delete the original file&lt;/P&gt;&lt;P&gt;as result you have only one file with the new name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;ec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2008 16:36:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-transfer/m-p/3490957#M839470</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2008-03-13T16:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: File Transfer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-transfer/m-p/3490958#M839471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I dont think there is any such FM&lt;/P&gt;&lt;P&gt;but you can achieve this in 3 steprs :&lt;/P&gt;&lt;P&gt;1 ) open the source file using open dataset file1. transfer the data into an internal table (itab1)&lt;/P&gt;&lt;P&gt;2 ) open a new file agian with a open dataset file2 statement, this will be your target file and transfer the data from internal table (itab1)&lt;/P&gt;&lt;P&gt;3) delete the source file ( delete dataset file1 )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Advait&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2008 16:48:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-transfer/m-p/3490958#M839471</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-13T16:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: File Transfer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-transfer/m-p/3490959#M839472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for all the responses.&lt;/P&gt;&lt;P&gt;Some were very close to the requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But we're using following which is doing exactly what we wanted:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE 'mv' p_fname v_directory INTO v_bkfile&lt;/P&gt;&lt;P&gt;                                                      SEPARATED BY SPACE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'RFC_REMOTE_EXEC' DESTINATION&lt;/P&gt;&lt;P&gt;                               'BATCH_INBOUND'&lt;/P&gt;&lt;P&gt;                          EXPORTING&lt;/P&gt;&lt;P&gt;                                COMMAND =  v_bkfile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here, mv - is a shell script command for 'Move'&lt;/P&gt;&lt;P&gt;         p_fname - name of the file&lt;/P&gt;&lt;P&gt;         v_directory - path of the destination directory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vishy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2008 12:24:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-transfer/m-p/3490959#M839472</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-14T12:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: File Transfer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-transfer/m-p/3490960#M839473</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 same requirment . i used same as u but it is not working .&lt;/P&gt;&lt;P&gt;so please help me regarding this.&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;&lt;/P&gt;&lt;P&gt;T.Srinvas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2009 08:53:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-transfer/m-p/3490960#M839473</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-22T08:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: File Transfer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-transfer/m-p/3490961#M839474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, i dont think there is some function module which performs in one step.&lt;/P&gt;&lt;P&gt;But you can try workarounds.&lt;/P&gt;&lt;P&gt;you can try this two methods:&lt;/P&gt;&lt;P&gt;1) Use function module to upload from first location and copy to  other location by using download fm.&lt;/P&gt;&lt;P&gt;    But it will not delete the base file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) A method you can use is create a dos  batch command to do the job.&lt;/P&gt;&lt;P&gt;   Execute the batch command from sap. Function Module GUI_EXECUTE or WS_EXECUTE. if its on presentation layer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2009 09:07:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-transfer/m-p/3490961#M839474</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-22T09:07:06Z</dc:date>
    </item>
  </channel>
</rss>

