Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

FTP_CONNECT Issue

Former Member
0 Kudos

Hi,

I am trying to test some FTP Functionality in ABAP.

For that, I am calling Function Module FTP_CONNECT.

But I am not sure what data I need to pass to tha Function Module.

I mean the User Name, Password, Host and RFC Destination.

I am passing 'SAPFTP' in the RFC Destination. (This RFC Destination is successful in Connect Test)

In Host, I am passing the 'sapdev' , (The hostname of SAP Application Server)

But I am not sure about User Id and Password. Will it be my SAP User Id and Password??

As my SAP User Id and Password did not work when I used them.

Can I connect to a peer PC?

If yes which all parameters I need to pass in User Id, Password, and Host fields?

1 REPLY 1

Former Member
0 Kudos

Hi,

The user id and password should be the FTP userid and psw.

If you want to use FTP, first you should get its' useid and pew.

for Host field should also come from FTP.

data: user(30)   type c value 'julie',
      pwd(30)    type c value 'julie',
      host(64)   type c value '9.125.77.95',
      key        type i value 26101957.