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

Files processing from directory.... facing problem

Former Member
0 Likes
404

Hi there,

The situation is, I have number of files in a dir. I want to fetch them one by one and process them. The file names are not fixed, they are time stamped. I am not getting how to fetch files one by one.

3 REPLIES 3
Read only

andreas_mann3
Active Contributor
0 Likes
383

hi,

use fm EPS_GET_DIRECTORY_LISTING

and loop table dir_list

A.

Read only

Former Member
0 Likes
383

Hi,

Thanks for reply. I have a directory as ' /usr/sap/temp ' , when I am passing this, I am getting as error of READ_DIRECTORY_FAILED. What could be the problem here? In which format I should enter this name? with this dir name I have to enter FILE_MASK also, what value should I pass here, please guide me on this?

Read only

Former Member
0 Likes
383

Thanks