Display multiple authority-checks, source code location and return & reason-codes when analyzing users
Contrary to popular belief, SU53 displays the last failed authority-check statement and not necessarily the authority which needs to be added to the role to solve the problem (or make the faulty configuration go away).
What would be very useful for analysis is to be able to collect information similar to the ST01 trace from a user specific transaction similar to SU53, such that the authorization support can see the transaction context of the user at the time, the report ID, the dynpro number (basically, the source code location) as well as the kernel return code and a reason code for it should the kernel have changed the return code. This would help to solve a lot of misunderstandings about ABAP authorizations and point to better configuration solutions.
Update: This request was implemented in SAP Note 1373111 - Improvements to authorization trace. Thank you SAP!
2 Comments
Dipanjan Sanpui
Multiple Authority-Check can be found by using the report: RSABAPSC
Source code location can be found by using report: RSANAL00
Return Codes for Authorization failures should be analyzed at the first stage with ST01 to analyze the different status requirements of Authorization Objects for each Tcodes under consideration. Still this is the best approach to start the first level of analysis.
Regards,
Dipanjan
Former Member
Hi Dipanjan,
The main reason behind this request is to be able to evaluate a reason code together with the return code and context, from the kernel.
You can debug some kernel functions or use SAP's tracing function (RZ11=auth/athorization_trace) to some extent, but it is not reasonable to expect that as an admin tool (which is also documented in RZ11).
SU53 and ST01 on their own (seperate functionality) cause more trouble than good in my opinion
Cheers,
Julius