Skip to Content
author's profile photo Former Member
Former Member

Error in FTP_CONNECT

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    Posted on Dec 08, 2015 at 01:02 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 09, 2015 at 01:38 AM

    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,

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 07, 2015 at 01:23 PM

    Hi ,

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

    Regards,

    Vishal

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 08, 2015 at 12:59 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.