<?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: SXPG_COMMAND_EXECUTE - FTP problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sxpg-command-execute-ftp-problem/m-p/5340806#M1230128</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check if you have enough authorizations to execute .. &lt;/P&gt;&lt;P&gt;you might be getting NO_PERMISSION exception ..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Mar 2009 03:14:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-11T03:14:49Z</dc:date>
    <item>
      <title>SXPG_COMMAND_EXECUTE - FTP problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sxpg-command-execute-ftp-problem/m-p/5340805#M1230127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am transferring file from FTP server to SAP server using the F.M  &lt;STRONG&gt;SXPG_COMMAND_EXECUTE&lt;/STRONG&gt; but the same same program executes in QAS server but not in DEV server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked in External command in SM69 and SM49 in both the systems both are same and I debugged and found that &lt;STRONG&gt;CALL FUNCTION 'SAPXPG_END_XPG'&lt;/STRONG&gt; in side the &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SXPG_COMMAND_EXECUTE&lt;/STRONG&gt; gives the error in DEV server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using a .BAT file and additional parametes I am using the FTP command with primary- proxy &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls find the log &lt;/P&gt;&lt;P&gt;ftp&amp;gt; Invalid command.#&lt;/P&gt;&lt;P&gt;ftp&amp;gt; *****************&lt;/P&gt;&lt;P&gt;Invalid command.#&lt;/P&gt;&lt;P&gt;ftp&amp;gt; *************&lt;/P&gt;&lt;P&gt;Not connected.#&lt;/P&gt;&lt;P&gt;ftp&amp;gt; cd *********&lt;/P&gt;&lt;P&gt;Not connected.#&lt;/P&gt;&lt;P&gt;ftp&amp;gt; ls&lt;/P&gt;&lt;P&gt;quit&lt;/P&gt;&lt;P&gt;&amp;gt; ftp: connect :Connection refused&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where as in QAS server the BAT file executes and gives me the list of files which is in the respective FTP server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know the error and I hope some thing to do with server profile setup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2009 02:57:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sxpg-command-execute-ftp-problem/m-p/5340805#M1230127</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-11T02:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: SXPG_COMMAND_EXECUTE - FTP problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sxpg-command-execute-ftp-problem/m-p/5340806#M1230128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check if you have enough authorizations to execute .. &lt;/P&gt;&lt;P&gt;you might be getting NO_PERMISSION exception ..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2009 03:14:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sxpg-command-execute-ftp-problem/m-p/5340806#M1230128</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-11T03:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: SXPG_COMMAND_EXECUTE - FTP problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sxpg-command-execute-ftp-problem/m-p/5340807#M1230129</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 using the same FTP server logon id and password and after the the FM SXPG_COMMAND_EXECUTE if there is no permission it should return me &lt;STRONG&gt;sy-subrc = 1&lt;/STRONG&gt; but here in my case the Sy-subrc = 0 but I get the log as not connected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: prabhu jayaraman on Mar 11, 2009 8:57 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2009 03:19:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sxpg-command-execute-ftp-problem/m-p/5340807#M1230129</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-11T03:19:23Z</dc:date>
    </item>
  </channel>
</rss>

