‎2009 Jun 30 5:09 PM
Hi,
When I try to run the FTP_CONNECT FM in background,
the ftp server is not connected throwing an error message ''Attempt to set up connection to <ftpserver> failed''.
I am using the RFC destination SAPFTPA and still it is not working!
My program was successfully executing in fore ground with SAPFTP.
Please help.
Thanks and Regards,
Kumar
‎2009 Jun 30 5:26 PM
Hi,
Check is Password getting correctly scrambled.
Use FM HTTP_SCRAMBLE
CALL FUNCTION 'HTTP_SCRAMBLE'
EXPORTING
SOURCE = p_user_password "--> Pass Password
sourcelen = l_slen "--> Length of the Password
key = '26101957'
IMPORTING
destination = l_password.Refer to this link...http://docs.google.com/Doc?id=dfv2hmgs_21g5nmwkgw&hl=en
‎2009 Jul 01 9:24 AM
Hi Avinash,
I have done the scramble of PW , but still not able to run at background using 'SAPFTPA' . Its comes up with an error saying connection failed.
Regards,
Kumar
‎2009 Jul 01 9:32 AM
‎2009 Jul 01 11:31 AM
Hi,
can you pls let me know wht the things i need to check in SM59 .
Regards,
Kumar
‎2009 Jul 01 11:44 AM
‎2009 Jul 01 11:52 AM
‎2009 Jun 30 5:33 PM
‎2009 Jul 10 3:52 PM
‎2009 Jul 15 11:54 AM
Hi Kumar,
We are also having same problem while connectiing to FTP server through SAP R/3.
I am using
CALL FUNCTION 'HTTP_SCRAMBLE'
EXPORTING
SOURCE = c_pwd
sourcelen = dstlen
key = key
IMPORTING
DESTINATION = c_pwd
.
CALL FUNCTION 'FTP_CONNECT'
EXPORTING
user = c_user
password = c_pwd
host = c_host
rfc_destination = c_dest
IMPORTING
handle = hdl
EXCEPTIONS
not_connected = 1
OTHERS = 2.
IF sy-subrc NE 0.
WRITE:/ 'COULD NOT CONNECT TO', c_host.
ELSE.
But i am unable to connect can you please suggest any solution...