<?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 - transfer files to FTP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sxpg-command-execute-transfer-files-to-ftp/m-p/6709961#M1453629</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 have faced similar problem. I have found the problem the name of operating system name defined in sm49 against the command. Please check the value of system variable  sy-opsys and make the operating system name as it is in SM49. It is case sensitive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ranadev Banerjee&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 May 2011 15:25:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-05-10T15:25:14Z</dc:date>
    <item>
      <title>SXPG_COMMAND_EXECUTE - transfer files to FTP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sxpg-command-execute-transfer-files-to-ftp/m-p/6709955#M1453623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Our OS is Windows NT.&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.  I created a command in SM69. &lt;/P&gt;&lt;P&gt;command name: ZZ_MOVE&lt;/P&gt;&lt;P&gt;Operating system: Windows NT&lt;/P&gt;&lt;P&gt;Type: Customer&lt;/P&gt;&lt;P&gt;Operating system command: cmd&lt;/P&gt;&lt;P&gt;Parameters for operating system command: Full path of the batch file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This batch file contain command for transfer the files. I am getting an error..Command not found.....Is this correct parameters i am passing or anything wrong....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Mar 2010 05:22:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sxpg-command-execute-transfer-files-to-ftp/m-p/6709955#M1453623</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-12T05:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: SXPG_COMMAND_EXECUTE - transfer files to FTP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sxpg-command-execute-transfer-files-to-ftp/m-p/6709956#M1453624</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;Command should be creatd an SM49. I hope SM69 for display. From SAP end you need to call the FM SXPG_COMMAND_EXECUTE.&lt;/P&gt;&lt;P&gt;then reste will take care from other end. That is Unix scripting people will take car. If you get some error please check with UNXI people because they need to write some scripting file to get the command in SAP. if the scripting is not exist thet you will end up with error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Mar 2010 05:44:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sxpg-command-execute-transfer-files-to-ftp/m-p/6709956#M1453624</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-12T05:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: SXPG_COMMAND_EXECUTE - transfer files to FTP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sxpg-command-execute-transfer-files-to-ftp/m-p/6709957#M1453625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I created the command  in SM49. I am calling FM SXPG_COMMAND_EXECUTE in my program. When i execute the program in debug mode  SY-SUBRC = 0 after the FM SXPG_COMMAND_EXECUTE. But originally the command was not executed. I tested the command in DOS command mode, it is working perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anyway to trace FM SXPG_COMMAND_EXECUTE to check why it is not working....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Mar 2010 00:07:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sxpg-command-execute-transfer-files-to-ftp/m-p/6709957#M1453625</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-13T00:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: SXPG_COMMAND_EXECUTE - transfer files to FTP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sxpg-command-execute-transfer-files-to-ftp/m-p/6709958#M1453626</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;The command which needs to be creatd from UNIX side also. Based on the comannd they will write the scripting to get the dat from SAP. Check UNIX admin people. Sit together and close this issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Mar 2010 11:50:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sxpg-command-execute-transfer-files-to-ftp/m-p/6709958#M1453626</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-15T11:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: SXPG_COMMAND_EXECUTE - transfer files to FTP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sxpg-command-execute-transfer-files-to-ftp/m-p/6709959#M1453627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's Windows NT server, it's not Unix system. I want to move files from one folder to another folder in Application server using FM SXPG_COMMAND_EXECUTE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the Script (for moving files from one folder to another in Application Server). I pasted the script in notepad and saved as .bat file and dropped in Application server source folder. I gave the Application server file path(Script file location) in command create(Parameters for operating system command) in SM49.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Operating system command&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;cmd&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Parameters for operating system command&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;C:\usr\sap\work\300\testftp.bat&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does it work this way ?  I executed the command without errors but the file transfer not happening.....&lt;/P&gt;&lt;P&gt;My question Is does it works if i pass the Script file location in Command create ? if not how can i do this.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: fract_get on Mar 15, 2010 8:01 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Mar 2010 16:13:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sxpg-command-execute-transfer-files-to-ftp/m-p/6709959#M1453627</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-15T16:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: SXPG_COMMAND_EXECUTE - transfer files to FTP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sxpg-command-execute-transfer-files-to-ftp/m-p/6709960#M1453628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Resolved the issue myself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Operating system command&lt;/P&gt;&lt;P&gt;cmd&lt;/P&gt;&lt;P&gt;Parameters for operating system command&lt;/P&gt;&lt;P&gt;/C C:\usr\sap\work\300\testftp.bat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Mar 2010 00:13:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sxpg-command-execute-transfer-files-to-ftp/m-p/6709960#M1453628</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-16T00:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: SXPG_COMMAND_EXECUTE - transfer files to FTP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sxpg-command-execute-transfer-files-to-ftp/m-p/6709961#M1453629</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 have faced similar problem. I have found the problem the name of operating system name defined in sm49 against the command. Please check the value of system variable  sy-opsys and make the operating system name as it is in SM49. It is case sensitive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ranadev Banerjee&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2011 15:25:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sxpg-command-execute-transfer-files-to-ftp/m-p/6709961#M1453629</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-10T15:25:14Z</dc:date>
    </item>
  </channel>
</rss>

