‎2007 Apr 18 11:44 AM
Hello,
I´m trying to use FM FTP_CONNECT for setting up a connection between 2 SAP systems like this:
CALL 'AB_RFC_X_SCRAMBLE_STRING'
ID 'SOURCE' FIELD mc_password ID 'KEY' FIELD mi_key
ID 'SCR' FIELD 'X' ID 'DESTINATION' FIELD mc_password
ID 'DSTLEN' FIELD mi_pwd_len.
CALL FUNCTION 'FTP_CONNECT'
EXPORTING
user = 'USER01'
password = mc_password
host = '146.254.217.104'
rfc_destination = 'SAPFTP'
IMPORTING
handle = mi_handle
EXCEPTIONS
not_connected = 1
OTHERS = 2.
however, there´s no connection. I think it must be the value for HOST, which I got from trans. SM59. Is this correct or what could it be ??
Thanks
‎2007 Apr 18 11:46 AM
heck the following programs:
RSFTP001 SAPFTP Version
RSFTP002 Execute FTP Comma
RSFTP003 FTP put / get Tes
RSFTP004 FTP Copy
RSFTP005 SAPFTP check
RSFTP006 FTP command list
And see weather everything is working fine or not.
Regards
‎2007 Apr 18 11:47 AM
‎2007 Apr 18 12:39 PM
Hi,
I had checked those programs before posting my question. The fact is that I do not know, where to get the information for fields HOST & RFC_DESTINATION.
Thanks.
‎2008 Oct 02 12:55 PM
If you haven't done already: use transaction SM59 to determine the correct RFC connection.
‎2008 Oct 02 12:25 PM
‎2008 Oct 02 1:07 PM
>
> -
The "Comment and Mark as Answered" field is not mandatory.
You can also close the thread without posting to it, which avoids bumping old threads to the top of the forum again.
Cheers,
Julius