2009 Mar 28 7:06 AM
Hi Experts,
I am using the FM 'EPS2_GET_DIRECTORY_LISTING' to read a directory from the Application Server.
If I do not pass any value to the parameter IV_DIR_NAME I get some files.
However if I pass the directory I want to read I get an exception READ_DIRECTORY_FAILED.
Inside the standard FM some system calls are made.
Why am I getting this error?
Thanks and Regards,
Ravi
Hi Experts,
I am using the FM 'EPS2_GET_DIRECTORY_LISTING' to read a directory from the Application Server.
If I do not pass any value to the parameter IV_DIR_NAME I get some files.
However if I pass the directory I want to read I get an exception READ_DIRECTORY_FAILED.
Inside the standard FM some system calls are made.
Why am I getting this error?
Thanks and Regards,
Ravi
2009 Mar 28 5:52 PM
HI,
I think you are passing the Directory name ..You need to pass the Directory Path
DIR_ATRA --- What You are passing
E:\usr\sap\E6S\DVEBMGS00\data -- You need to pass this to FM
2009 Mar 29 7:05 AM
Hey Avinash,
Thanks for the reply.
However, I am passing the entire directory path and not the name itself.
This path I pick from the transaction AL11.
Ours is a UNIX server.
Thanks and Regards,
Ravi Bhatnagar
2009 Mar 29 7:27 AM
hi,
Check using CG3Y/CG3Z to download the data from the application server for the same path you provided to the FM. If your are getting same error then it is with authorization. If not check the file name is properly built.
2009 Mar 29 9:01 AM
Hi
Try using this function module 'SXPG_CALL_SYSTEM' to read a directory from app.server.
Venkat.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |