2010 Sep 23 10:52 AM
Hi ,
I am passing a unix file as '/tmp/usr01/IT/rate1.txt' . My requirement is to validate only the unix path " /tmp/usr01/IT".
I tried with FM EPS_GET_DIRECTORY_LISTING , but it is giving one exception like 'NO Authorization '.
Hi ,
I am passing a unix file as '/tmp/usr01/IT/rate1.txt' . My requirement is to validate only the unix path " /tmp/usr01/IT".
I tried with FM EPS_GET_DIRECTORY_LISTING , but it is giving one exception like 'NO Authorization '.
2010 Sep 23 11:00 AM
Hi
Check if you have authorization to open the below mentioned file. I think that is the reason it is saying No authorization.
Regards
Jyo
2010 Sep 23 11:08 AM
No actually when i am trying to use open data set it is giving sy-subrc as 0.
i can't use open dataset as i do have to validate the directory.
2010 Sep 23 3:59 PM
Check also the function module AUTHORITY_CHECK_DATASET and its documentation.
Regards,
Andrea
2010 Sep 23 11:02 AM
Hi,
The error raised after Authority Check (You may not be having the autorization to read the contents of the directory mentioned in the parameter) .
If the directory is not available then you will get the exception READ_DIRECTORY_FAILED.
Regards
Vinod
2010 Sep 23 12:46 PM
2011 Jan 23 8:10 AM
2011 Jan 23 2:20 PM
>
> resolved'.
Hi related,
thank you for not sharing the solution.
Regards,
Clemens
Edited by: Clemens Li on Jan 23, 2011 3:20 PM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |