12-26-2007 6:03 AM
In OPEN DATASET statement
To open a file, the user under which the R/3 System is running must have the requisite authorizations at operating system level.
How to do this ? what knowledge apart from ABAP do I need ?
what is its requirement in prograqmming domain?
12-26-2007 6:16 AM
Hi,
You can consult Basis people to get this authorization for OS folders for your login ID.
From programming point of view, you need to put OPEN DATASET keyword inside try...catch block to avoid the short dump due to authorization issue as below.
try.
open dataset <....>
catch CX_SY_FILE_AUTHORITY into wa_error.
w_text = wa_error->IF_MESSAGE~GET_TEXT.
write:/ w_text.
endtry.
hope that helps