2009 Mar 10 4:42 PM
Hi,
I've have a Z report where i'm using in the screen an input field for ALV layout.
When i call the value request event, it's for some unknown reason calling an authority check for BUKRS.
Though the value is "7755" it's validating "0001". The obj is: The report doesn't has any standard coding and isn't a copy of one; and i've checked tx. SU22 and this check isn't assign to the Z report.
The message is: "You don't have authorization for Society 0001". and the obj. is: F_FAGL_LDR
Please some help.
Thanks a lot.
2009 Mar 10 5:00 PM
HI,
IF the Bukrs is the SELECT-OPTION then check the values in the Debugging Mode. What values exactly it is holding.
HI,
IF the Bukrs is the SELECT-OPTION then check the values in the Debugging Mode. What values exactly it is holding.
2009 Mar 10 4:56 PM
Please put breakpoint on keyword 'AUTHORITY-CHECK' and then execute the report.
Let me know if after clicking F8 in debug mode, the debugger stop anywhere.
Regards,
Surpreet
2009 Mar 10 5:00 PM
Hi Surpreet,
I did what you asked. It stops at the Authority-check when i execute the programm.
2009 Mar 10 5:28 PM
Now just copy and send this authority check code to your Security team, they need to give you the exact access.
Or for time being just change SY-SUBRC to 0 in debug mode, they way you can by pass it for now in DEV box.
However make sure that your have this access in INT and PRD boxes.
Regards,
Surpreet
2009 Mar 10 5:00 PM
HI,
IF the Bukrs is the SELECT-OPTION then check the values in the Debugging Mode. What values exactly it is holding.
2009 Mar 10 5:01 PM
Hi Avinash,
it's a obligatory parameter, and the exact value is '7733'.
2009 Mar 10 5:34 PM
Hi,
Check the Message class and message number you have used is correct incase of Authority check failed for the object F_FAGL_LDR.
2009 Mar 10 5:39 PM
Hi,
i'm not calling the authority check, that's the problem actually. The authority check it's being call by something else. I need to eliminate that.
thanks
2009 Mar 10 5:47 PM
HI,
Check for the FM you have used in the program these might be calling the authority object. Please post the code so that we can have better idea.
2009 Mar 10 6:01 PM
Hi,
Problem Solved.
In the report attributes was define a Logic BD.
thanks!
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |