Via SAPshortcut you can create a system-independent debugger shortcut.
Solution 1:
To do this click on the Windows desktop and display the context menu (right mouse button). Select New->SAP Shortcut. Call the file Debugger.sap. Call 'Edit' with the right mouse button on the newly created file. A processing dialog of the SAPshortcut is displayed. Leave the fields empty, change the fields 'Type' and 'Command'.
Set the type to 'System command' and set the command to '/H'.
Close the dialog. The debugger shortcut is now defined. You can drag and drop it on the corresponding SAPGui dialog box. This way the debugger is activated, and it is accessed with the next user interaction.
Solution 2:
Generate a new text file. Edit it with any ASCII editor. Insert the following contents:
------------ 8< cut >8 -----------------
[Function]
Command=/H
Title=Debugger
Type=SystemCommand
-------------8< cut >8 -----------------
Save the file and rename it as 'Debugger.sap'.
This way the shortcut is defined. You can now drag and drop it to the SAPGui in order to activate the debugger.
Solution 1:
To do this click on the Windows desktop and display the context menu (right mouse button). Select New->SAP Shortcut. Call the file Debugger.sap. Call 'Edit' with the right mouse button on the newly created file. A processing dialog of the SAPshortcut is displayed. Leave the fields empty, change the fields 'Type' and 'Command'.
Set the type to 'System command' and set the command to '/H'.
Close the dialog. The debugger shortcut is now defined. You can drag and drop it on the corresponding SAPGui dialog box. This way the debugger is activated, and it is accessed with the next user interaction.
Solution 2:
Generate a new text file. Edit it with any ASCII editor. Insert the following contents:
------------ 8< cut >8 -----------------
[Function]
Command=/H
Title=Debugger
Type=SystemCommand
-------------8< cut >8 -----------------
Save the file and rename it as 'Debugger.sap'.
This way the shortcut is defined. You can now drag and drop it to the SAPGui in order to activate the debugger.
The okcode field is deactivated when a modal window (the technical name of popup windows) is displayed, so it seems impossible to enter the debugger (using /H okcode).
In common dialogs, the okcode field is available:

But it is not available in modal windows (we see it but we can't enter anything in it):

The solution is to create on the frontend a SAPGUI shortcut (file with extension .SAP), of type System Command and command /H, and drag and drop it from Windows desktop to the SAP modal window. The creation of SAPGUI shortcuts is explained here: SAPGUI shortcuts.
没有评论:
发表评论