<?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 Command SXPG_COMMAND_EXECUTE to FTP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/command-sxpg-command-execute-to-ftp/m-p/1464081#M218722</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; I am using SXPG_COMMAND_EXECUTE to execute a script to transfer files from R/3 App Server to FTP Server. &lt;/P&gt;&lt;P&gt;I have maintained the settings in SM69 as follows : &lt;/P&gt;&lt;P&gt;External name : z123. &lt;/P&gt;&lt;P&gt;Command : &lt;BR /&gt;&amp;lt;network path&amp;gt;\ftp_script.bat&lt;/P&gt;&lt;P&gt;Additional param : blank. &lt;/P&gt;&lt;P&gt;Additional param checkbox ticked. &lt;/P&gt;&lt;P&gt;Now I call the SXPG_COMMAND_EXECUTE passing in command as Z123, and in the parameters I pass in the parameters as are required by the script. (Dir and file name). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get an unknown error. Don't know where I am going wrong. &lt;/P&gt;&lt;P&gt;Can guide anyone please? I have searched the forums already. But could not find a solution :(. &lt;/P&gt;&lt;P&gt;I think the problem is in the path of the script file. It is in a network path like this: &lt;BR /&gt;&amp;lt;some path&amp;gt;\&lt;/P&gt;&lt;P&gt;But to access that network, user id is different from the PC logon id. Can that be an issue? If yes, where do I specify the logon id for the network path? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in adv.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Jul 2006 12:32:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-07-25T12:32:07Z</dc:date>
    <item>
      <title>Command SXPG_COMMAND_EXECUTE to FTP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/command-sxpg-command-execute-to-ftp/m-p/1464081#M218722</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; I am using SXPG_COMMAND_EXECUTE to execute a script to transfer files from R/3 App Server to FTP Server. &lt;/P&gt;&lt;P&gt;I have maintained the settings in SM69 as follows : &lt;/P&gt;&lt;P&gt;External name : z123. &lt;/P&gt;&lt;P&gt;Command : &lt;BR /&gt;&amp;lt;network path&amp;gt;\ftp_script.bat&lt;/P&gt;&lt;P&gt;Additional param : blank. &lt;/P&gt;&lt;P&gt;Additional param checkbox ticked. &lt;/P&gt;&lt;P&gt;Now I call the SXPG_COMMAND_EXECUTE passing in command as Z123, and in the parameters I pass in the parameters as are required by the script. (Dir and file name). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get an unknown error. Don't know where I am going wrong. &lt;/P&gt;&lt;P&gt;Can guide anyone please? I have searched the forums already. But could not find a solution :(. &lt;/P&gt;&lt;P&gt;I think the problem is in the path of the script file. It is in a network path like this: &lt;BR /&gt;&amp;lt;some path&amp;gt;\&lt;/P&gt;&lt;P&gt;But to access that network, user id is different from the PC logon id. Can that be an issue? If yes, where do I specify the logon id for the network path? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in adv.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2006 12:32:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/command-sxpg-command-execute-to-ftp/m-p/1464081#M218722</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-25T12:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: Command SXPG_COMMAND_EXECUTE to FTP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/command-sxpg-command-execute-to-ftp/m-p/1464082#M218723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Command : &lt;BR /&gt;&amp;lt;network path&amp;gt;\ftp_script.bat&lt;/P&gt;&lt;P&gt;Additional param : blank. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Command : sh or cmd&lt;/P&gt;&lt;P&gt;Additional param : &lt;BR /&gt;&amp;lt;network path&amp;gt;\ftp_script.bat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2006 19:54:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/command-sxpg-command-execute-to-ftp/m-p/1464082#M218723</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-25T19:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: Command SXPG_COMMAND_EXECUTE to FTP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/command-sxpg-command-execute-to-ftp/m-p/1464083#M218724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you test the command from &amp;lt;b&amp;gt;Tr.SM49&amp;lt;/b&amp;gt; . Is it working fine ? Do one more thing try to execute the same command at your OS leve ( E,g UnIX ) . Fire the same command and see its executing it or not ..&lt;/P&gt;&lt;P&gt;As a note you should have W,R,X permission at OS level ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this`ll give you an idea .. &lt;/P&gt;&lt;P&gt;pl..award the points if helpfull .. &lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Saquib Khan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2006 22:35:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/command-sxpg-command-execute-to-ftp/m-p/1464083#M218724</guid>
      <dc:creator>former_member181966</dc:creator>
      <dc:date>2006-07-25T22:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: Command SXPG_COMMAND_EXECUTE to FTP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/command-sxpg-command-execute-to-ftp/m-p/1464084#M218725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Samant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The login id for connecting to the ftp server should be in your .bat file. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First try connecting to the ftp server using the login that you have (for ftp) from the ftp command prompt. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once this works test whether your batch file works from DOS prompt. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whatever you have put in SAP as command seems fine. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know whether this solves your problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jul 2006 04:44:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/command-sxpg-command-execute-to-ftp/m-p/1464084#M218725</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-26T04:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: Command SXPG_COMMAND_EXECUTE to FTP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/command-sxpg-command-execute-to-ftp/m-p/1464085#M218726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry. Still not able to get it to work. &lt;/P&gt;&lt;P&gt;It does not run from SM49 even. Infact none of the commands (Even SAP ones)work from SM49. Our OS is Windows NT. Even a simple command like DIR/W does not work from SM49. &lt;/P&gt;&lt;P&gt;Don't know what is going wrong. &lt;/P&gt;&lt;P&gt;Btw, I was not talking about connecting to FTP script when I said that user id is different. &lt;/P&gt;&lt;P&gt;What i meant was that the server ON WHICH the SCRIPT file is kept has a different logon id. &lt;/P&gt;&lt;P&gt;Any help please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jul 2006 08:10:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/command-sxpg-command-execute-to-ftp/m-p/1464085#M218726</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-26T08:10:06Z</dc:date>
    </item>
  </channel>
</rss>

