If a program is executed, debugging can be switched on as follows:
- Executable programs, FM, methods or transactions.
- Enter /h in the command field or select menu item System -> Utilities -> Debug Screen
- ABAP statements and screen logic are debugged.
- Enter /ha in the command field or select menu item System -> Utilities -> Debug ABAP
- ABAP statements and screen logic are debugged.
- Enter /hs in the command field or select menu item System -> Utilities -> Debug System
- Not only your program but also the system programs are debugged.
- Enter /h in the command field or select menu item System -> Utilities -> Debug Screen
NB: /h is more commonly used amongst three.