Tuesday, March 08, 2011

Debugging a dialog in SAP

There are some ways in debugging SAP when a dialog pop-up appears. Usually "/h" doesn't have an effect in the case when you transact via a pop-up, dialog, etc.


The ff. are the steps to debug a dialog for the dialog screen to appear.

1. Copy and paste the below code on a notepad, create a filename then save to your desktop.


[FUNCTION]
Command=/H
Title=Debugger
Type=SystemCommand

2. Run your application, then drag and drop the file you've created to the dialog. A message will appear below the window saying that debugging mode is activated.

3. After you click any button on your dialog - you will be directed to sap debugging window.

No comments:

Post a Comment