In this article we’ll discuss the SAP transaction field and how you can leverage more functionality out of it. After reading this article, you’ll be an expert in the ways you can use the transaction field.
Here is an overview of the possible commands you can use in the transaction field:
- /o — Launches a popup with the list of your current sessions:
- /o<tcode> — Starts the specified transaction (denoted by <tcode>) in a new session. Example usage: /oSE16N.
- /n — Ends the current transaction and returns the user to the SAP main menu. This does not prompt before ending the current transaction.
- /n<tcode> — Ends the current transaction and begins the specified transaction (denoted by <tcode>) in its place.
- /i — Closes the current session. /i<#> closes the specified session (denoted by <#>). SAP does not prompt the user before closing the session.
- /nend — Closes all sessions, prompting the user before actually closing the sessions.
- /nex — Closes all sessions without prompting you
- /h — Triggers the launch of a debugger session after your next interaction with the screen.
- /ha — Triggers the launch of a debugger session with System Debugging switched on.
- /hs — Triggers the launch of the debugger with special configuration to skip screen debugging.
There is more to the transaction field than the possible entries detailed above. You can also drag-and-drop SAP GUI shortcuts into the transaction field to launch transactions or turn on the debugger.
First, create a new SAP GUI shortcut anywhere on your desktop (or desired folder):
Next, right click on the shortcut and click Edit. From here you can modify the shortcut and set it up for drag-and-drop debugging.
You can set the title to whatever you prefer. Under the Type drop down, select System Command.
The Report: field label will switch to Command:. Type in any of the commands listed above (I’ve used /H). Note that you’ll need to specify a Client before you can save your changes.
Hit OK to save your changes. Now you can use this GUI shortcut to enter the debugger whenever you like. This is useful even if you don’t have access to the SAP Transaction field. You can use these shortcuts to debug SAP popup windows as well:
In this article we’ve covered the many ways you can use both the SAP transaction field and SAP GUI shortcuts. In particular, GUI shortcuts are a great way to enter the debugger from a GUI popup window. Thank you for reading this article — I hope you’ve enjoyed it and taken something new for your repertoire.
Have a great week!