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: 

open folder files from application server

Former Member
0 Kudos

Hi Friends..

In application server one folder having lot of files..

For ex..

c:\usr\xxx\yyy\1.aud

2.aud

3.aud

etc etc...

i need to open all the aud files one by one..How can i do that..

if one files means no problem

in open dataset we directly give the file name along their path..

so if anyone know the solution revert to me ASAP..its very urgent

Thanks

Shankar

1 REPLY 1

amit_khare
Active Contributor
0 Kudos

Use FM RZL_READ_DIR to get all the filenames from that path and then populate an internal table.

Now call OPEN DATASET in the LOOP for that table.

Regards,

Amit

Reward all helpful replies.