2009 Jan 30 7:38 AM
Hi.
As a requirement we are reading a file from application server, once its done we are placing that file into other folder, now we need to check whether there are other files present there if yes then process or come out.
Regards
Mohinder
2009 Jan 30 7:56 AM
Hi,
You can use the FM EPS_GET_DIRECTORY_LISTING to get the list of all the file names from the directory in application server with certain naming convention (use file_mask parameter) into one internal table and process them accordingly.
Regards,
Dwaraka.S
Edited by: Dwarakanath Sankarayogi on Jan 30, 2009 8:57 AM
Hi.
As a requirement we are reading a file from application server, once its done we are placing that file into other folder, now we need to check whether there are other files present there if yes then process or come out.
Regards
Mohinder
2009 Jan 30 7:56 AM
Hi,
You can use the FM EPS_GET_DIRECTORY_LISTING to get the list of all the file names from the directory in application server with certain naming convention (use file_mask parameter) into one internal table and process them accordingly.
Regards,
Dwaraka.S
Edited by: Dwarakanath Sankarayogi on Jan 30, 2009 8:57 AM
2009 Jan 30 7:59 AM
Hi.,
What are the file names you searching for? I mean do you have file names(more than one) with you?
If so, you can create the ranges(say).
And loop that ranges internal table to fetch all files from the application server!
Here as of my knowledge there is no alternate other than using READ DATA SET statement repeattedly(like above).
__Naveen Inuganti.
2009 Jan 30 8:02 AM
Use FM PFL_CHECK_OS_FILE_EXISTENCE for your requirement.
Raghav
2009 Jan 30 9:50 AM
hi ,
All replies are appreicable. But still doesnt solve purpose.
Regarsds
Mohinder
2009 Feb 20 6:37 AM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |