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

No comments:

Post a Comment