ABAP Debugging a Popup Window

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 sap_shortcuticon 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.
sap_shortcut

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!

Creative Commons License

2 Responses to “ABAP Debugging a Popup Window”


  1. 1 dhon

    nice. very active k ngaun pre ahh.
    Btw, pre pwd makahingi ng ideas. I created b4 a Back order custom report. Then, i discover this table MSKA. Any ideas how this being updated? I’m trying to revised my custom Back Order report for sales using this table sana.

    Maraming Salamat!

  2. 2 rs

    @dhon: MSKA is a table for Sales Order Stock and it is a special stock which is directly allocated to an individual item within a sales order. And the tcode for creating, changing, and displaying a sales order is VA01, VA02, and VA03. Just search it from help.sap.com for more info. :)

Leave a Reply