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

Directory in application server has multiple flat files

Former Member
0 Likes
479

Hi

How should we know that the Directory in application server has multiple flat files.

my requirement is, daily my program runs in batch at night. So, i have to know are there more than 1 flat file existing in the directory.

regards

mac

4 REPLIES 4
Read only

Former Member
0 Likes
453

Hi Madan,

U need to goto transaction <b>AL11</b> to see the files in the application server.

Thanks,

Deepti.

Read only

Former Member
0 Likes
453

Hi

It seems you've two posts with the same problem, see

Max

Read only

Former Member
0 Likes
453

Check out the application server directories in Tcode AL11

Regards:-

Santosh

Read only

Former Member
0 Likes
453

Try this FM,

CALL FUNCTION 'SUBST_GET_FILE_LIST'

EXPORTING

dirname = ws_filepath

filenm = ws_fname

TABLES

file_list = i_rsfillst

EXCEPTIONS

access_error = 1

OTHERS = 2.

Pass the path and

say ur file name starts with ALPXXXXX

then pass

ws_fname = 'ALP*' .

In the table i_rsfillst you will get all the file in directory.

Try this through a sample prorgam ,dont try through SE37, it will show ACCESS_ERROR.

Regards,

Message was edited by: sreejesh purapadiath

Message was edited by: sreejesh purapadiath