03-11-2009 2:57 AM
Hi Guys,
I am transferring file from FTP server to SAP server using the F.M SXPG_COMMAND_EXECUTE but the same same program executes in QAS server but not in DEV server.
I have checked in External command in SM69 and SM49 in both the systems both are same and I debugged and found that CALL FUNCTION 'SAPXPG_END_XPG' in side the
SXPG_COMMAND_EXECUTE gives the error in DEV server.
I am using a .BAT file and additional parametes I am using the FTP command with primary- proxy
Pls find the log
ftp> Invalid command.#
ftp> *****************
Invalid command.#
ftp> *************
Not connected.#
ftp> cd *********
Not connected.#
ftp> ls
quit
> ftp: connect :Connection refused
where as in QAS server the BAT file executes and gives me the list of files which is in the respective FTP server.
Please let me know the error and I hope some thing to do with server profile setup.
regards,
Prabhu
03-11-2009 3:14 AM
Check if you have enough authorizations to execute ..
you might be getting NO_PERMISSION exception ..
03-11-2009 3:14 AM
Check if you have enough authorizations to execute ..
you might be getting NO_PERMISSION exception ..
03-11-2009 3:19 AM
Hi,
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 sy-subrc = 1 but here in my case the Sy-subrc = 0 but I get the log as not connected.
Regards
Prabhu
Edited by: prabhu jayaraman on Mar 11, 2009 8:57 AM