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

FTP FM Error

vallamuthu_madheswaran2
Active Contributor
0 Likes
545

Hi Friends,

I am using the FM "FTP_CONNECT". The coding is given below.

CALL FUNCTION 'FTP_CONNECT'

EXPORTING

USER = 'user'

PASSWORD = 'pass$word'

  • ACCOUNT =

HOST = 'chn-cisser'

RFC_DESTINATION = 'SAPFTPA'

  • GATEWAY_USER =

  • GATEWAY_PASSWORD =

  • GATEWAY_HOST =

  • IMPORTING

  • HANDLE = h

EXCEPTIONS

NOT_CONNECTED = 1

OTHERS = 2

.

IF SY-SUBRC <> 0.

MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

else.

write: 'success'.

ENDIF.

in Host Field i am giving ip address also but i amgetting the following error.

"User sapedi has no access authorization for computer chn-cisser

Message no. 04202"

but in command prompt i am open the server.

Thanks & Regards,

Vallamuthu.M

Edited by: vallamuthu madheswaran on Jun 3, 2008 12:06 PM

3 REPLIES 3
Read only

vallamuthu_madheswaran2
Active Contributor
0 Likes
464

solved own

Read only

0 Likes
464

What was the solution? We are also facing the similar issue.

Read only

0 Likes
464

Can you please let me know how did you solved it?

I am als facing the same issue?

regards,

Kunal