Supported by

Debug on a user without debug permissions

In a well protected system, normal users don’t have debug permissions. Very often, this makes it harder for ABAP programmers to help solve the users’ problems, not being able to debug directly in their session.

But there is a legit, albeit obscure, work-around for this problem.

In your computer, create an external break-point under the user’s username.
Let the user do his thing in his session. When you want to start debugging his session, write this command:

/hext user = YOURUSERNAME

This tells SAP that the debug will be done by another user: you. When that command is executed, a debug session magically opens in your computer and you’re free to debug the user’s session.

Thank you Sérgio Serra for the tip.

Greetings from Abapinho.

2 comentários a “Debug on a user without debug permissions”

  1. Ricardo Monteiro Diz:

    Só funciona com utilizadores que não tenham acesso a debug ?

    Pois testei com um user que tem acesso a debug e obtive “Função Impossível”

  2. Alexandre Diz:

    Ricardo o mesmo aconteceu aqui também:

    Função impossível

    Nº mensagem 00127

Deixe um comentário

About Abapinho
Abapinho runs on WordPress
Articles (RSS) e Comments (RSS).