To enter a debugging mode we simply type “/h” in the command field. But do you ever wonder how to enter a debugging mode on a popup window? I mean there is no command field to type in the “/h”.
I stumble upon this really great SDN article about ABAP debugging tips and found out that there is actually 2 ways to debug a popup window.
Option 1: From any SAP windows click the “Generate a Shortcut” button
and in the window that appears make the below changes and click “Finish”. A file will be generated on the location you specified. Now drag the file onto the popup window and your ABAP debugger should be switched on!
Make sure to set the Title, Type, Command, and Location.

Option 2: Create a text file (any file name will do) anywhere on your computer where you could easily get it, and type the code below and save it:
[codesyntax lang="c++" lines="no" title=""]
[FUNCTION]
Command=/h
Title=Debugger
Type=SystemCommand
[/codesyntax]
Same thing with option 1, you may drag this file onto the popup window to switched on the ABAP debugger.
Enjoy!

