‎2010 Jul 18 7:10 AM
Hello All,
I am passing a path viz *
shailesh\sap\timerecord* as path to FM RZL_READ_DIR_LOCAL. sy-subrc is returning 2 (not found) whereas the directory exists in my local system. I also tried the path with the application server but still its returning 2.
Can anybody figure out what might be causing this exception?
Regards,
‎2010 Jul 18 10:45 AM
Hello shails81,
please check if you can navigate to the directory/file via transaction AL11. IIRC the RZL* function modules can only access files / directorys available there, because otherwise they aren't visible to the SAP instance.
Regards,
Alej
‎2010 Jul 18 8:28 AM
Execute the FM as stand alone , check the results , if still error check your Directory name (may be pass it with C:\).
if this is of no help then Debug the FM .
‎2010 Jul 18 8:42 AM
Hi Sandeep,
I tried changing the path to C:\.. and also tried D:\... but still no breakthrough. I debugged the FM and found that the internal table LINE_TBL is initial. There are no recrods in it.
‎2010 Jul 18 10:45 AM
Hello shails81,
please check if you can navigate to the directory/file via transaction AL11. IIRC the RZL* function modules can only access files / directorys available there, because otherwise they aren't visible to the SAP instance.
Regards,
Alej