Debugging of popup screens
Create a notepad file with below details :
[FUNCTION]
Command=/H
Title=Debugger
Type=SystemCommand
Then save the above text file as a batch file. You can name it as debug.bat for example.
Now open the popup screen which you want to debug. Let’s assume that you want to debug output processing log screen for an invoice output
Now drag and drop debug.bat batch file from your Windows desktop onto the modal popup SAP screen. Then the SAP GUI will inform you about the debugging status with message „Debugging switched on“
Now you can easily activate debugging screen in ABAP on the modal popup SAP screen.