<?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: SM69 issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sm69-issue/m-p/2945612#M694418</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Santosh,&lt;/P&gt;&lt;P&gt;I have also faced the same problem. When you run the script in the unix environment, it runs perfectly, but when you run through SM49 or FM  'SXPG_COMMAND_EXECUTE'  you may get this error. This can be resolved by giving '&amp;amp;' equal to the number of parameters you are passing to the script. you can give '&amp;amp;'  in SM69, select your external command name, click on Change button. Then write '&amp;amp;' in the Parameter for operating system command field.&lt;/P&gt;&lt;P&gt;I hope this may help you out in resolving the error and get back to me if problem is not resloved. If it help then reward me with the points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Oct 2007 05:28:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-18T05:28:39Z</dc:date>
    <item>
      <title>SM69 issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sm69-issue/m-p/2945611#M694417</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;We have written a unix shell script to do ftp from unix to some shared drive in network, which we need to run from SAP. We have tested the shell script command and it is running fine. &lt;/P&gt;&lt;P&gt;We have created an entry in SM69 for running this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when we try to run this command either by FM 'SXPG_COMMAND_EXECUTE' or by SM49 we get an error status saying &amp;lt;b&amp;gt;'Can't exec external program (Exec format error)&amp;lt;/b&amp;gt; . &lt;/P&gt;&lt;P&gt;Can anyone help me out?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Santosh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2007 11:54:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sm69-issue/m-p/2945611#M694417</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-17T11:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: SM69 issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sm69-issue/m-p/2945612#M694418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Santosh,&lt;/P&gt;&lt;P&gt;I have also faced the same problem. When you run the script in the unix environment, it runs perfectly, but when you run through SM49 or FM  'SXPG_COMMAND_EXECUTE'  you may get this error. This can be resolved by giving '&amp;amp;' equal to the number of parameters you are passing to the script. you can give '&amp;amp;'  in SM69, select your external command name, click on Change button. Then write '&amp;amp;' in the Parameter for operating system command field.&lt;/P&gt;&lt;P&gt;I hope this may help you out in resolving the error and get back to me if problem is not resloved. If it help then reward me with the points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2007 05:28:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sm69-issue/m-p/2945612#M694418</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-18T05:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: SM69 issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sm69-issue/m-p/2945613#M694419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has this issue been resolved?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not, add this line at the top to set the correct shell &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#!/bin/ksh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Prabhu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 21:31:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sm69-issue/m-p/2945613#M694419</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T21:31:11Z</dc:date>
    </item>
  </channel>
</rss>

