Showing posts with label Debugging. Show all posts
Showing posts with label Debugging. Show all posts

Monday, June 20, 2016

SAP TIP - Debugging a pop-up window

When a pop-up (dialog box) appears and exits your debugging session it is a pain... There is a simple trick to switch on debugging once you reach a pop-up box. 

Do the following: Create a TXT file and save it on your desktop with the following command:

[Function]
Command=/H
Type=SystemCommand


If you want to activate debugging on a pop-up/dialog box, simply drag and drop the TXT file from your desktop onto the pop-up/dialog box in SAP. Next time you press enter you will be continue in your debugging session.

Friday, May 29, 2015

TIP: Debugging a popup window

Debugging a report is pretty simple but there is a trick to stopping a debug session when a popup window happens. If the popup window is a result of a message and you know the message number you can search and potentially put a break-point in the code but sometimes you can't do that. In order to stop the code at the popup window do the following:
  • Create and save a TXT file with the following text:
[Function] Command=/H Type=SystemCommand
  • Execute the program and when the popup happens you can drag and drop the TXT file on to the popup window in SAP. Continuing will launch you in to the debugger