<?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 “Can't exec external program (No such file or directory)” while executing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-t-exec-external-program-no-such-file-or-directory-while-executing/m-p/9426658#M1738747</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By using the FM “SXPG_COMMAND_EXECUTE” we are try to remane the file on the Windows base application server.&lt;/P&gt;&lt;P&gt;We have also created the command on SM69 but when we execute the FM “SXPG_COMMAND_EXECUTE” every time we are getting the error “Can't exec external program (No such file or directory)”&lt;/P&gt;&lt;P&gt;On the Input parameters on the FM we have provided the value like &lt;/P&gt;&lt;OL style="list-style-type: upper-alpha;"&gt;&lt;LI&gt;COMMANDNAME --à what ever command name maintained on SM69 like Z_REN&lt;/LI&gt;&lt;LI&gt;ADDITIONAL_PARAMETERS-à[Source file path source file name] [target file name] like &lt;A href="https://community.sap.com/"&gt;\\XXX.YY\ABC\Text.txt&lt;/A&gt;&amp;nbsp;&amp;nbsp; Abc.txt &lt;/LI&gt;&lt;LI&gt;OPERATINGSYSTEM-à WINDOWS NT&lt;/LI&gt;&lt;LI&gt;TARGETSYSTEM---à as Host Name&lt;/LI&gt;&lt;LI&gt;STDOUT----------------à X&lt;/LI&gt;&lt;LI&gt;STDERR----------------à X&lt;/LI&gt;&lt;LI&gt;TERMINATIONWAIT-------à X&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have also try with ADDITIONAL_PARAMETERS as” &lt;A href="https://community.sap.com/"&gt;\\XXX.YY\ABC\Text.txt&lt;/A&gt;”&amp;nbsp;&amp;nbsp; “Abc.txt” every time we are getting the same error.&lt;/P&gt;&lt;P&gt;We are sure the file exists in AL11 but somehow the application is not recognizing the folder. Do we need to give the source file path like “c:\xyz”.&lt;/P&gt;&lt;P&gt;We have try the same for Operating system command – REN/RENAME/DEL but every time we are getting the same Error “Can't exec external program (No such file or directory)”&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/223769" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 May 2013 13:33:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-05-29T13:33:40Z</dc:date>
    <item>
      <title>“Can't exec external program (No such file or directory)” while executing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-t-exec-external-program-no-such-file-or-directory-while-executing/m-p/9426658#M1738747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By using the FM “SXPG_COMMAND_EXECUTE” we are try to remane the file on the Windows base application server.&lt;/P&gt;&lt;P&gt;We have also created the command on SM69 but when we execute the FM “SXPG_COMMAND_EXECUTE” every time we are getting the error “Can't exec external program (No such file or directory)”&lt;/P&gt;&lt;P&gt;On the Input parameters on the FM we have provided the value like &lt;/P&gt;&lt;OL style="list-style-type: upper-alpha;"&gt;&lt;LI&gt;COMMANDNAME --à what ever command name maintained on SM69 like Z_REN&lt;/LI&gt;&lt;LI&gt;ADDITIONAL_PARAMETERS-à[Source file path source file name] [target file name] like &lt;A href="https://community.sap.com/"&gt;\\XXX.YY\ABC\Text.txt&lt;/A&gt;&amp;nbsp;&amp;nbsp; Abc.txt &lt;/LI&gt;&lt;LI&gt;OPERATINGSYSTEM-à WINDOWS NT&lt;/LI&gt;&lt;LI&gt;TARGETSYSTEM---à as Host Name&lt;/LI&gt;&lt;LI&gt;STDOUT----------------à X&lt;/LI&gt;&lt;LI&gt;STDERR----------------à X&lt;/LI&gt;&lt;LI&gt;TERMINATIONWAIT-------à X&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have also try with ADDITIONAL_PARAMETERS as” &lt;A href="https://community.sap.com/"&gt;\\XXX.YY\ABC\Text.txt&lt;/A&gt;”&amp;nbsp;&amp;nbsp; “Abc.txt” every time we are getting the same error.&lt;/P&gt;&lt;P&gt;We are sure the file exists in AL11 but somehow the application is not recognizing the folder. Do we need to give the source file path like “c:\xyz”.&lt;/P&gt;&lt;P&gt;We have try the same for Operating system command – REN/RENAME/DEL but every time we are getting the same Error “Can't exec external program (No such file or directory)”&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/223769" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 May 2013 13:33:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-t-exec-external-program-no-such-file-or-directory-while-executing/m-p/9426658#M1738747</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-29T13:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: “Can't exec external program (No such file or directory)” while executing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-t-exec-external-program-no-such-file-or-directory-while-executing/m-p/9426659#M1738748</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;Please give details of the designed command Z_BCM_RENAME in SM69. That should give us a better idea. Also the path mentioned&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;\\XXX.YY\ABC\Text.txt&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;is it windows format i mean there has to be a drive right &lt;SPAN __jive_emoticon_name="confused" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.sap.com/1495/images/emoticons/confused.gif"&gt;&lt;/SPAN&gt; its not UNIX OS?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Arindam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 00:24:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-t-exec-external-program-no-such-file-or-directory-while-executing/m-p/9426659#M1738748</guid>
      <dc:creator>arindam_m</dc:creator>
      <dc:date>2013-05-31T00:24:07Z</dc:date>
    </item>
  </channel>
</rss>

