Application Development 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: 

Unable to get all files from the directory using FM 'RZL_READ_DIR_LOCAL'

Former Member
0 Kudos
328

Hello Experts,

In our quality system, the function module 'RZL_READ_DIR_LOCAL' is not retrieving all files in a directory, whereas the same FM is fetching all files in the development system.

I think the FM is using some system commands which I'm unable to understand. Could anyone please help me in finding out what's the reason behind this?

Thanks very much in advance for all your advises.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
118

Hi,

ya it can be configuration issue.. Maybe the path you have specified worked fiine in development.. But the path for quality system may be differnt.. Please check the same ... check the directory name in quality first before sending the path to the FM..

7 REPLIES 7

Former Member
0 Kudos
118

Hi,

Please check that you have specified the file path correctly....

0 Kudos
118

Hi Sneha,

Yes, I gave everything correctly. the fiel path and everything.

Issue is the same is working fine in development, but not in the quality.

Do you think it as a configuration issue?

Thanks,

Mallik

0 Kudos
118

Hi Mallikarjun,

It Seems that ur id don't have sufficient authorizations in quality system .

Please chk ur authoriztions with basis Person.

If not so, chk the filepath and directory in quality system.It may or may not exist.

What's the exception ur getting when ur trying to execute it in quality system

Regards,

Lakshman.

0 Kudos
118

Hi Lakshman,

I'm not getting an exception. Instead it is executing successfully but fetching only some of the files in that directory. I need to check the existence of some Z files in that directory. But since it is not getting all the files, I'm unable to perform my validation.

Thanks,

Mallik

0 Kudos
118

Hi Mallikarjun,

Try using this FM EPS_GET_DIRECTORY_LISTING.

Regards

Lakshman

Former Member
0 Kudos
119

Hi,

ya it can be configuration issue.. Maybe the path you have specified worked fiine in development.. But the path for quality system may be differnt.. Please check the same ... check the directory name in quality first before sending the path to the FM..

Former Member
0 Kudos
118

I've concluded this issue as a BASIS configuration issue and leaving it for further analysis.