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

Getting file name

prasad_reddy9
Explorer
0 Likes
450

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
Read only

Former Member
0 Likes
411

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.

Read only

Former Member
0 Likes
411

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

Read only

Former Member
0 Likes
411

Hi Prasad,

Try this Fun. Mod.

F4_filename

<b>Regards,

Jackie.</b>