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

read remote file

Former Member
0 Likes
1,221

Hi all,

My requirements is i have to read the remote file from F4 help.

when i press F4, it will show me the remote multiple file name in a table format, and manually i can select the file from there .

this remote file is secured , locked by user name and password .so we need any Fm who use the username and password also.

i have one FM "RZL_READ_FILE_REMOTE_SH".

but import parameter 'name' is mandatory over there . But i dont hv the name, I want to select manuallly from table .

Hope all of u undrstnd what i m tryin to say.

can any one help me regarding this .

Thanks,

Jowar Saha

1 ACCEPTED SOLUTION
Read only

pole_li
Active Participant
0 Likes
1,170

Hi,

Please try function "RZL_READ_DIR_REMOTE".

Pole

7 REPLIES 7
Read only

pole_li
Active Participant
0 Likes
1,171

Hi,

Please try function "RZL_READ_DIR_REMOTE".

Pole

Read only

Former Member
0 Likes
1,170

Thanks pole.

But this FM will not work ,

CALL FUNCTION 'RZL_READ_DIR_REMOTE'

EXPORTING

  • FROMLINE = 0

name =

  • NRLINES = 50

  • SRVNAME = ' '

tables

file_tbl =

  • EXCEPTIONS

  • ARGUMENT_ERROR = 1

  • NOT_FOUND = 2

  • SEND_ERROR = 3

  • OTHERS = 4

no where i can put the user name and password , and i dont have file name in my hand .

anyway thanks once again.

Thanks,

jo

Read only

pole_li
Active Participant
0 Likes
1,170

Hi Jowar,

Where is the remote file ? In FTP server or another SAP server ?

Pole

Read only

Former Member
0 Likes
1,170

HI pole,

Its FTP server.

Thanks,

Jo

Read only

pole_li
Active Participant
0 Likes
1,170

Please Check the following function:

FTP_CONNECT

FTP_COMMAND

FTP_COMMAND_LIST

FTP_DISCONNECT

Pole

Read only

Former Member
0 Likes
1,170

Thanks Pole,

Chking those FM .

I thnk got it.

Thanks,

Jo

Read only

0 Likes
1,170

check this programs RSFTP005 is used to save data from ftp server to application server and vice verse

RSFTP001

RSFTP002

RSFTP003

RSFTP004

RSFTP005

RSFTP006

RSFTP007

RSFTP008

RSFTP009

RSFTP011