on 04-03-2008 1:01 PM
Dear Experts,
We are facing a problem with one of our users while running the LSMW
It goes smooth until the step READ DATA, and then it throws up a dump OPEN_DATASET_NO_AUTHORITY
And the following is the error analysis
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_FILE_AUTHORITY', was not
caught in
procedure "OPEN_OUTPUT_FILE" "(FORM)", nor was it propagated by a RAISING clause.
Since the caller of the procedure could not have anticipated that the exception would occur, the current program is terminated.
The reason for the exception is:
The ABAP program "/1CADMC/SAP_LSMW_READ_00000061" attempated to execute a statement with which the system automatically checks authorizations and for which the user "WMCT01" has no authorization.
The application program did not take the missing authorization into consideration and the program must therefore be terminated.
When the same user is given the SAP_ALL profile it works fine for him,
so i just need to know what are the possible AUTH objects and field values to set for this user.
I have given the user S_GUI object with full access but still the problem persists.
SU53 resuults are successful
So i request you to kindly help me on this...
Regards
Pavan
Hello Pavan,
This is an authorization issue.
The user that you are using to execute the task doesn't have authorization for the S_DATASET object.
The Authorization Object S_DATASET
The object S_DATASET consists of the following fields:
· ABAP program name
Name of the ABAP program from which access is allowed. This allows you to restrict file access to a few programs specifically for that task.
· Activity
The possible values are:
33: Read file normally
34: Write to or delete file normally
A6: Read file with filter (operating system command)
A7: Write to file with filter (operating system command)
· File name
Name of the operating system file. This allows you to restrict the files to which the user has access.
For more information about authorization objects, refer to the Users and Authorizations documentation.
Caution
If the result of the automatic authorization check is negative, a runtime error occurs.
You should therefore check the authorization in your ABAP program before accessing the file using the function module AUTHORITY_CHECK_DATASET.
I got the above text from the following link:
http://help.sap.com/saphelp_47x200/helpdata/en/fc/eb3d5c358411d1829f0000e829fbfe/frameset.htm
Regards,
Siddhesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.