<?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 Execution of Linux command from SAP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/execution-of-linux-command-from-sap/m-p/10303113#M1834042</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 was executing the Unic command move(mv -f)&amp;nbsp; for renaming the file on the apllication server.&lt;/P&gt;&lt;P&gt;For this, I update the external command and changed the operating system to &lt;STRONG&gt;Linux&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the FM&amp;nbsp;&amp;nbsp; SXPG_COMMAND_EXECUTE to execute the command from my report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But still when I am executing the report in Background then the FM is returning sy-subrc = 2. which is "&amp;nbsp; command_not_found".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone suggest what step I am missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Saurabh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Apr 2014 16:59:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-04-18T16:59:57Z</dc:date>
    <item>
      <title>Execution of Linux command from SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execution-of-linux-command-from-sap/m-p/10303113#M1834042</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 was executing the Unic command move(mv -f)&amp;nbsp; for renaming the file on the apllication server.&lt;/P&gt;&lt;P&gt;For this, I update the external command and changed the operating system to &lt;STRONG&gt;Linux&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the FM&amp;nbsp;&amp;nbsp; SXPG_COMMAND_EXECUTE to execute the command from my report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But still when I am executing the report in Background then the FM is returning sy-subrc = 2. which is "&amp;nbsp; command_not_found".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone suggest what step I am missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Saurabh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2014 16:59:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execution-of-linux-command-from-sap/m-p/10303113#M1834042</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-18T16:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: Execution of Linux command from SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execution-of-linux-command-from-sap/m-p/10303114#M1834043</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 am now getting sy-subrc = 510 . i.e Problem closing the output file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Saurabh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2014 17:07:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execution-of-linux-command-from-sap/m-p/10303114#M1834043</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-18T17:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: Execution of Linux command from SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execution-of-linux-command-from-sap/m-p/10303115#M1834044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What exactly do you need? rename the file or create the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You might have authorization issues; kindly check.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2014 17:10:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execution-of-linux-command-from-sap/m-p/10303115#M1834044</guid>
      <dc:creator>former_member566196</dc:creator>
      <dc:date>2014-04-18T17:10:06Z</dc:date>
    </item>
  </channel>
</rss>

