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: 

Getting file name

prasad_reddy9
Explorer
0 Kudos

I need to get list of all file names in application server into an internal table.

Any FM I can use to get them?

Ex: For files starting with pp_xyz_* I should be able to get all files starting with that pattern existing in the application server.

Thanks

3 REPLIES 3

Former Member
0 Kudos

Hi Prasad,

try function module SUBST_GET_FILE_LIST

DIRNAME is the 'directory name' column in AL11, e.g
servername\..\... (or D:\..)

check also fm F4_DXFILENAME

Reward if it helps..

Regards,

Omkar.

Former Member
0 Kudos

Hi Prasad,

<b>RZL_READ_DIR_LOCAL</b> function module will display list of application server files under a directory. Give the application server path here to extract all files on application server.

Thanks,

Vinay

Former Member
0 Kudos

Hi Prasad,

Try this Fun. Mod.

F4_filename

<b>Regards,

Jackie.</b>