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

Debug a program for another user

Former Member
0 Likes
3,728

Hi all experts,

I have a question. I want to debug a program but with another user. I have authorization to run /h, but the user that encounters the problem hasn't got the authorization to debug. Is there a way so I can debug with his role and profile?

Thx in advacne and cheers,

Carl

1 ACCEPTED SOLUTION
Read only

former_member191735
Active Contributor
0 Likes
1,833

try to set the activ user in other guy system and try from your system. otherwise, you have to get authorization for that user. i think abap_developer profile gives all authorization to do that.

8 REPLIES 8
Read only

Former Member
0 Likes
1,833

Hi,

No. If the user does not have authorization then you cannot use his ID to debug. You may want to request the Basis to give you or the person access to debug.

Alternatively you can debug using your id rite?

Cheers

VJ

Read only

0 Likes
1,833

Basicaly no, but if yuo have some hardcoded checks in you abap code you cna change value of sy-uname

Read only

0 Likes
1,833

You can not.

Even you change the value of sy-uname it will be overwritten with each and everystep.

You can not debug in this case.

Pavan

Read only

former_member191735
Active Contributor
0 Likes
1,833

go to utilities - settings- debugger - check activ and give the other user name and try debugging. this works in case of remote user and in sap from non-sap. try the same in your code.

Read only

0 Likes
1,833

I'm working on SAP 4.7. Is it in every transaction? Or is it in SE80? I can't find it. *** sorry ***

Read only

0 Likes
1,833

Ok, found it. It is in SE80..... I will have a try. Thanks for your help.

Read only

0 Likes
1,833

Nope, still the same error message. "User TESTTEST has no authorization for debugging".

Read only

former_member191735
Active Contributor
0 Likes
1,834

try to set the activ user in other guy system and try from your system. otherwise, you have to get authorization for that user. i think abap_developer profile gives all authorization to do that.