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: 

in SAP directory

Former Member
0 Kudos

hi all,

can you tell me please how to get all files names in a directory of the application server.

help please.

thank you.

1 ACCEPTED SOLUTION

former_member181995
Active Contributor
0 Kudos

refer:

2 REPLIES 2

former_member181995
Active Contributor
0 Kudos

refer:

Former Member
0 Kudos

Hi,

Use 'RZL_READ_DIR' function module

call function 'RZL_READ_DIR'

exporting

name = p_file " Application server directory

srvname = ' '

tables

file_tbl = lt_file " list of file names

exceptions

argument_error = 1

not_found = 2

send_error = 3

system_failure = 4

others = 5.