Sub topic 11
Function keys and shortcuts worth knowing
This chapter assumes you can log on to SAP GUI, find the command field, and start a transaction by typing its code. It covers the keys that save the most time in everyday work. It does not cover every shortcut, because many depend on the transaction you are in.
Why keys matter
Most SAP GUI screens can be driven from the keyboard. The standard toolbar and the application toolbar both show buttons, and many of those buttons have a function key attached. Hovering over a button shows a tooltip with its key, for example "Save (Ctrl+S)". This is the quickest way to learn the key for a button in a given transaction.
Keys that work almost everywhere
The following keys behave the same in most transactions.
| Key | Action |
|---|---|
| Enter | Confirms the screen, or runs the command in the command field |
| F1 | Shows help for the field the cursor is in |
| F3 | Goes back one screen |
| F4 | Opens the possible-values list for the field |
| F8 | Executes, for example a report from a selection screen |
| Ctrl+S | Saves |
| Shift+F3 | Exits the current transaction |
| Shift+F12 | Cancels the current action |
| Ctrl+/ | Moves the cursor to the command field |
| Ctrl+Y | Starts marking a block of text in a screen |
Some keys differ by installation or by system version. If a key does nothing, check the tooltip on the matching button.
Back, Exit, and Cancel
These three are easy to confuse.
- Back (F3) returns to the previous screen. In a transaction's first screen it leaves the transaction.
- Exit (Shift+F3) leaves the current transaction or the current level of the application.
- Cancel (Shift+F12) abandons what you are doing without saving.
If you have unsaved changes, SAP GUI usually asks whether to save before leaving. Read that prompt before answering.
Two keys for entering data
F4 is the most useful key for filling in fields. It opens a list of allowed values, often with a search. F1 explains what a field means, and its technical information view shows the technical name of the field. That name is useful when you search the web or talk to support.
Working with sessions
In Chapter terms you already know, /o opens a new session. Several keys help you move among sessions and screens without the mouse:
- Ctrl+Tab and Ctrl+Shift+Tab switch between tabs on a screen that has tab pages.
- Alt+Tab, the operating system's own switcher, moves among session windows.
- Ctrl+Page Up and Ctrl+Page Down move through pages in lists and tables.
Keys for lists and tables
Report output is often a list. These keys help you move around it.
| Key | Action |
|---|---|
| Page Up and Page Down | Scroll one page |
| Ctrl+Page Up | Jump to the first page |
| Ctrl+Page Down | Jump to the last page |
| Ctrl+F | Opens the find dialog, where available |
| F9 | Selects the current line in many lists |
Behavior varies between transactions. A table control in one transaction can handle keys differently from a grid in another.
Common mistakes
- Pressing F3 repeatedly with unsaved work and clicking through the prompts without reading them.
- Assuming a key is the same in every transaction and being surprised when it is not.
- Using
/nexas a general exit. It logs you off without a save prompt, so unsaved work in all sessions is lost.
Exercises
Exercise
You are in a transaction with unsaved changes and want to keep them before leaving. Which keys do you press, in order?
Show answer
Press Ctrl+S to save, then F3 to go back (or Shift+F3 to exit the transaction).
Exercise
You are not sure which key a toolbar button uses. How do you find out?
Show answer
Hover over the button. The tooltip shows the function key or shortcut, for example "Save (Ctrl+S)".