Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Help with debugging SU01

Former Member
0 Likes
3,565

Hello All,

I am very new to SAP. I am currently playing around with ABAP Debugger. What exactly I am trying is that, I am in su01 screen and then I hit '/h'. After that, I enter a username which doesn't exist and then click on Edit. I get redirected to debugger session where I set breakpoint at ABAP command 'authority-check', after pressing F8 I get to know which exact authorization objects are being checked.

Here are my doubts:

1. How to know which exact authorization-check failed ?

2. How to see the exact tables from where the data is being checked or data is being updated into ?

3. Using SE93 I got to know that program for SU01 is SAPMSUU0, but in debugger session I never get to see this program name.. can someone explain me how things are working behind the scenes ?

Thanks in Advance 🙂

1 ACCEPTED SOLUTION
Read only

TammyPowlas
SAP Mentor
SAP Mentor
2,824

The best answer to this if you want to understand authorizations is to use transaction STAUTHTRACE - it will answer questions 1 and 2. If you are trying to learn the debugger, it would be better (in my view) to try to debug a program and not a specific transaction

8 REPLIES 8
Read only

TammyPowlas
SAP Mentor
SAP Mentor
2,825

The best answer to this if you want to understand authorizations is to use transaction STAUTHTRACE - it will answer questions 1 and 2. If you are trying to learn the debugger, it would be better (in my view) to try to debug a program and not a specific transaction

Read only

0 Likes
2,824

Can you give me example of a scenario where st01, su53, stauthtrace may fail and there will be need for ABAP debugger?

Read only

0 Likes
2,824

I don't use ST01 anymore and if SU53 gives false information, STAUTHTRACE provides everything. No need to debug anything if you use STAUTHTRACE.

Read only

matt
Active Contributor
2,824

Why don't you use ST01?

Read only

0 Likes
2,824

I used to use ST01 until Colleen on this forum said STAUTHTRACE is better; now I’m a believer 🙂

Read only

matt
Active Contributor
0 Likes
2,824

Hmm. Never used it. I'll have a look.

(In some places I use a tool I wrote for a company that sells that tool - among other things. It's rather good).

Read only

matt
Active Contributor
2,824

If you want to find failed auth checks, you should use ST01 and trace them.

SAPMSUU0 is a system program. If you want to debug it, you need to set the flag in the debugger options.

Read only

srikanthnalluri
Active Participant
2,824

You can check failed authorization checks in the SU53 (For other users - Menu->Authorization Values->Other User) .