‎2006 Oct 10 10:14 AM
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
‎2006 Oct 10 10:18 AM
Hi Madan,
U need to goto transaction <b>AL11</b> to see the files in the application server.
Thanks,
Deepti.
‎2006 Oct 10 10:18 AM
‎2006 Oct 10 10:19 AM
Check out the application server directories in Tcode AL11
Regards:-
Santosh
‎2006 Oct 10 10:21 AM
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