Application Development and Automation 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: 
Read only

Error in FTP_CONNECT

Former Member
0 Likes
3,864

Hi all,

I want to test a function module "FTP_CONNECT". I am passing below four mandatory parameters.

  1. USER
  2. PASSWORD
  3. HOST
  4. RFC_DESTINATION


and I am getting an error "User XXXX has no access authorization for computer XXXX. Message no. 04202"


My doubts are as follows:

1. Here, what should I pass to the import parameter "User" and "Password"?

    Should I pass my SAP user ID credentials OR Computer (Logon user) credentials ?


2. And when HOST is a different FTP server that I want to connect to then Do I need to make any modification to the host file located at C:\Windows\System32\drivers\etc path?


3. What is table "SAPFTP_SERVERS"? When it is updated?


Kindly reply at the earliest. All sort of reply and comments will be appreciated.

Thanks,

NG

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,331

Dear Nikhil,

For second point, I believe you need not make any modification.

I suggest you to go through the following link to get a more better understanding regarding FTP.

http://wiki.scn.sap.com/wiki/display/ABAP/Working+with+FTP+Server

Regards

Shaik

Dear Nikhil,

For second point, I believe you need not make any modification.

I suggest you to go through the following link to get a more better understanding regarding FTP.

http://wiki.scn.sap.com/wiki/display/ABAP/Working+with+FTP+Server

Regards

Shaik

5 REPLIES 5
Read only

Hvshal4u
Active Participant
0 Likes
2,331

Hi ,

Open the table SAPFTP_SERVERS and create the entries with above information.

Regards,

Vishal

Read only

Former Member
0 Likes
2,331

Hi Vishal,

Any suggestion on first of the two points?

Read only

Former Member
0 Likes
2,331

Dear Nikhil,

for the first point, the user name and password should not be of yours, it should be of the computer for which you are trying to connect.

Regards

Shaik

Read only

Former Member
0 Likes
2,332

Dear Nikhil,

For second point, I believe you need not make any modification.

I suggest you to go through the following link to get a more better understanding regarding FTP.

http://wiki.scn.sap.com/wiki/display/ABAP/Working+with+FTP+Server

Regards

Shaik

Read only

former_member235395
Contributor
0 Likes
2,331

Hi Nikhil,

Be sure of 2 things:

1.- User and password avalaible on Server Target and privileges granted.

2.- FTP Services "ON" in Server Target.

Regards,