2022 Nov 22 12:16 PM
Hi i need sample code with this requirement:
Get all the filenames from particular directory of application server which starts with 'abc' and then pass it to internal table,
Then based on the field from files, i want to find the type of that file like pdf, doc, xslx, etc
Finally show the count of each types of files.
Thanks in advance...
2022 Nov 22 1:32 PM
Please try function
EPS_GET_DIRECTORY_LISTING
2022 Nov 22 12:33 PM
Nice little exercise, would be a pity if someone were to solve it 😉
2022 Nov 22 1:32 PM
Please try function
EPS_GET_DIRECTORY_LISTING
2022 Nov 23 3:14 AM
Hi thanks, I used it, how to use file mask as I want to retrive only the files starts with 'inv'
2022 Nov 23 4:27 AM
The function has parameters:
DIR_NAME <- full path to directory
FILE_MASK <- you can use for file filtering by mask with star-sign e.g. begin_of_file*