Skip to Content
0
Former Member
Jan 25, 2007 at 04:30 AM

Executing EPS_GET_DIRECTORY_LISTING in background

1088 Views

Hi,

I am using the function module EPS_GET_DIRECTORY_LISTING in my batch program to get the file names from the given directory. It works fine, when it is executed online. But if it is executed in background mode, it sometimes returns sy-subrc = 17 (READ DIRECTORY FAILED) and sometimes it is successful.

There is no pattern in returning this kind of result. It seems to be completely random.

I thought of using another function module RZL_READ_DIR_LOCAL. But it behaves the same way.

Could any of you help me to get a solution?

Thanks,

Vasanth