<?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: Rename a file in application server in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/rename-a-file-in-application-server/m-p/972806#M70103</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; I do have the access to SM69, I am using Unix server so If want to call the FM SXPG_COMMAND_EXECUTE where I have to rename the file , what parameters I need to pass to this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What logical command  &amp;amp; Operating System commadn we need to define&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Feb 2009 16:44:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-17T16:44:51Z</dc:date>
    <item>
      <title>Rename a file in application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rename-a-file-in-application-server/m-p/972799#M70096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SAPients.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I rename a file in the application server?&lt;/P&gt;&lt;P&gt;I'm working with 46C under SunOS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2005 20:17:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rename-a-file-in-application-server/m-p/972799#M70096</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-22T20:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: Rename a file in application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rename-a-file-in-application-server/m-p/972800#M70097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can define external command with SM69 transaction and then execute it via SXPG_COMMAND_EXECUTE function module. For this particular task you should use an appropriate Unix command for file renaming.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2005 20:28:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rename-a-file-in-application-server/m-p/972800#M70097</guid>
      <dc:creator>sergey_korolev</dc:creator>
      <dc:date>2005-07-22T20:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: Rename a file in application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rename-a-file-in-application-server/m-p/972801#M70098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's a good solution, it would solve my problem but I don't have maintenance authorization in transaction SM69. Another idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2005 23:41:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rename-a-file-in-application-server/m-p/972801#M70098</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-22T23:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: Rename a file in application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rename-a-file-in-application-server/m-p/972802#M70099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Certainly it depends on your corporate authorization policy, may be you yourself should apply for the authorization or request your sysadmin to create SM69 command for you. Also check on-line help on that function as it also has authorization check inside the code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jul 2005 08:34:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rename-a-file-in-application-server/m-p/972802#M70099</guid>
      <dc:creator>sergey_korolev</dc:creator>
      <dc:date>2005-07-23T08:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: Rename a file in application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rename-a-file-in-application-server/m-p/972803#M70100</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;Try the below code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE 'mv' &amp;lt;old filename&amp;gt; ' '&lt;/P&gt;&lt;P&gt;                 &amp;lt;new filename&amp;gt; INTO W_COMMAND-LINE   SEPARATED    BY SPACE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM CALL-PIPE.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------" /&gt;&lt;P&gt;FORM CALL-PIPE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'RFC_REMOTE_PIPE'&lt;/P&gt;&lt;P&gt;       DESTINATION 'SERVER_EXEC'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;          COMMAND = W_COMMAND-LINE&lt;/P&gt;&lt;P&gt;          READ    = 'X'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          PIPEDATA = DIR_TABLE.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                               " CALL_PIPE&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to change the 'command' according to your operating system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Anjikumar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jul 2005 11:05:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rename-a-file-in-application-server/m-p/972803#M70100</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-23T11:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: Rename a file in application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rename-a-file-in-application-server/m-p/972804#M70101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's exactly the FM I wanted to use but for some "strange reason" (security policies?) when I try to find RFC_REMOTE_PIPE in SE37 system responds with "Function module RFC_REMOTE_PIPE does not exist". Any other idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did I mention that I'm working with SAP 46C and SunOS?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Jul 2005 16:57:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rename-a-file-in-application-server/m-p/972804#M70101</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-24T16:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Rename a file in application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rename-a-file-in-application-server/m-p/972805#M70102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;RFC_REMOTE_PIPE does not appear in SM37 because it is embended in the executable rfcexec.&lt;/P&gt;&lt;P&gt;You can see it in SM59 -&amp;gt; TCP/IP Connection -&amp;gt; SERVER_EXEC -&amp;gt; System Information -&amp;gt; Function list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I was you I will follow Sergei's recommendation. It is longer to code but Logical commands (SM69)combined with SXPG_COMMAND_EXECUTE insure portabilty between different OSs and offer SAP Security features. This is the cleanest way to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: features of rfcexec changed from rel. to rel. (kernel).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2005 15:27:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rename-a-file-in-application-server/m-p/972805#M70102</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-27T15:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: Rename a file in application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rename-a-file-in-application-server/m-p/972806#M70103</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; I do have the access to SM69, I am using Unix server so If want to call the FM SXPG_COMMAND_EXECUTE where I have to rename the file , what parameters I need to pass to this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What logical command  &amp;amp; Operating System commadn we need to define&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2009 16:44:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rename-a-file-in-application-server/m-p/972806#M70103</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-17T16:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: Rename a file in application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rename-a-file-in-application-server/m-p/972807#M70104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;another idea: if ur unix file name is unix_file1, then, u need to rename it to unix_file2, so, copy the file1 to file2(by using FM, which is like with key words of COPY, SERVER etc, i dont hv sap access).....then delete the file1.&lt;/P&gt;&lt;P&gt;thanq&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2009 21:17:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rename-a-file-in-application-server/m-p/972807#M70104</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-17T21:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: Rename a file in application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rename-a-file-in-application-server/m-p/972808#M70105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;another idea: if ur unix file name is unix_file1, then, u need to rename it to unix_file2, so, copy the file1 to file2(by using FM, which is like with key words of COPY, SERVER etc, i dont hv sap access).....then delete the file1.&lt;/P&gt;&lt;P&gt;thanq&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2009 21:18:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rename-a-file-in-application-server/m-p/972808#M70105</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-17T21:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: Rename a file in application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rename-a-file-in-application-server/m-p/972809#M70106</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;cp unix command to copy is working fine in SM69 but the similar mv command is not working.&lt;/P&gt;&lt;P&gt;mv is also used for rename of the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is not to copy , bt just to rename the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2009 16:51:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rename-a-file-in-application-server/m-p/972809#M70106</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-18T16:51:31Z</dc:date>
    </item>
  </channel>
</rss>

