Skip to Content
Apr 09, 2014 at 11:39 AM

EPS2_GET_DIRECTORY_LISTING not returning any value


Hi Gurus,

I am using EPS2_GET_DIRECTORY_LISTING FM for listing files from directory "/tmp".

I am providing "/tmp" in importing parameter IV_DIR_NAME.But it's not returning any value.(i have kept file_mask blank).

I am getting exception "READ_DIRECTORY_FAILED".

I have also tried using cl_gui_frontend_services=>directory_list_files and there are entries in "/tmp" directory as checked from AL11.

Can anyone tell me what should be passed to the importing parameters of the FM of Method.

Is it related to authorization issues?