SAP GUI looks old, but it rewards people who learn a few habits. The tips below are the ones that save the most time in daily work, from command field codes to user parameters that fill fields for you. Each tip says where to find the setting and when it matters. They apply to SAP GUI for Windows on ECC and S/4HANA, and most also work in SAP GUI for HTML.
In one sentence: The fastest SAP GUI users rely on four things: the command field (codes like /n and /o), standard function keys (F1, F3, F4, F8), favorites, and user parameters that pre-fill values such as company code.
In this article
Key takeaways
- Type
/nplus a transaction code to jump straight to it, and/oplus a code to open it in a new window. - F1 explains any field, F4 lists allowed values, and F1 followed by Technical Information shows the table and field name behind the screen.
- User parameters in SU3 fill common fields automatically and remove a lot of repeated typing.
- Selection screen variants and saved ALV layouts turn a five minute report setup into one click.
- Exporting lists to a spreadsheet copies business data outside SAP, so follow your company’s data handling rules before you do it.
Which command field codes should every SAP user know?
The command field is the box in the top left corner of the SAP GUI window. These codes work there:
| Code | What it does | Watch out for |
|---|---|---|
/nXXXX | Leaves the current transaction and starts transaction XXXX, for example /nME23N | Unsaved changes in the current screen are lost |
/oXXXX | Opens transaction XXXX in a new session (window) | Systems limit how many sessions you can open |
/n | Ends the current transaction and returns to the SAP Easy Access menu | Unsaved data is lost |
/o | Shows a list of your open sessions | None |
/i | Closes the current session | Unsaved data in that window is lost |
/nend | Logs off after asking you to confirm | Closes all sessions |
/nex | Logs off immediately with no confirmation | Closes all sessions and discards unsaved work |
If the command field is hidden, click the small arrow at the left end of the toolbar to show it.
Which keyboard shortcuts save the most time?
Function keys are standard across most SAP screens, though a few transactions assign their own meaning. Hover over a toolbar button to see its shortcut.
| Key | Usual action |
|---|---|
| Enter | Confirms entries and checks the screen |
| F1 | Help for the field where the cursor is |
| F3 | Back one screen |
| Shift+F3 | Exit the current function |
| F4 | Value help: a list of allowed entries for the field |
| F8 | Execute, typically on report selection screens |
| F12 or Esc | Cancel without saving |
| Ctrl+S | Save |
| Ctrl+F | Find in a list |
| Ctrl+Y | Lets you drag a box over screen text so you can copy it with Ctrl+C |
| Ctrl+N | Opens a new session of the same screen in many GUI versions |
| Tab and Shift+Tab | Move to the next or previous field |
SAP documents the full keyboard behavior in the SAP GUI for Windows keyboard access pages on the SAP Help Portal, which is worth bookmarking if you rely on the keyboard.
How do you see transaction codes and technical names?
Show transaction codes in the menu. In SAP Easy Access, choose Extras, then Settings, and tick “Display technical names.” Every menu entry now shows its code, which is the quickest way to learn codes.
Find the code of the screen you are on. Choose System, then Status. The dialog shows the transaction, program and screen number. In newer GUI themes, the status bar at the bottom can also show the transaction code if you open its menu.
Find the table and field behind a field. Click in the field, press F1, then choose Technical Information. You will see the table or structure name and the field name. Analysts use this constantly when writing specifications or reports.
How do you set up favorites?
Favorites live in the folder above the SAP menu on the Easy Access screen.
- Right click Favorites and choose Insert transaction to add a code.
- Drag an item from the SAP menu into Favorites to copy it there.
- Create folders such as “Daily” and “Month end” to keep the list short.
- You can also add web addresses and files as favorites, which is handy for internal procedures.
Favorites are stored per user and per system, so you may need to set them up again in each system you use.
How do user parameters fill fields automatically?
Run transaction SU3 (System, then User Profile, then Own Data) and open the Parameters tab. Each parameter ID fills a field that uses it. For example, parameter BUK fills company code and WRK fills plant. To find the parameter ID of a field, press F1 in it and choose Technical Information.
The Defaults tab in SU3 sets your date format, decimal notation, logon language and output device. Fixing these once avoids errors when you paste numbers into spreadsheets. Depending on your company’s setup, SU3 changes may be restricted, in which case ask your SAP support team.
How do variants and ALV layouts speed up reports?
Selection screen variants. On a report’s selection screen, fill in your usual values and click Save. Give the variant a name. Next time, choose Goto, then Variants, then Get to load it. Variants can also be used in background jobs.
Multiple selection. The arrow button to the right of a selection field lets you enter lists, ranges and exclusions. You can paste a column of values from a spreadsheet with the clipboard button inside that dialog.
ALV layouts. Most reports display results in an ALV grid. Use the Change Layout button to choose columns, sorting and subtotals, then save the layout. Mark it as the default so it opens every time.
How do you customize the look and behavior of SAP GUI?
Press Alt+F12 (the Customize Local Layout button) and open Options. Useful settings include:
- Theme and font size under Visual Design, which helps on high resolution screens.
- Input history, so SAP remembers recent entries for each field.
- Quick cut and paste, which copies selected text when you highlight it.
- Confirmation dialogs such as the logoff prompt.
Your company may manage some of these centrally, so not every option is always available.
What should you do when you get an authorization error?
When SAP says “You are not authorized,” run /nSU53 straight away in the same session. SU53 shows the last failed authorization check: the authorization object, the fields and the values SAP expected. Send a screenshot to your security team with your request. It is the single most useful thing you can give them. Our guide on how to read SU53 explains each part of the screen.
Do not ask for broad access “just to get unblocked.” Specific requests are approved faster and keep you out of audit findings.
Is it safe to export SAP data to Excel?
Most ALV lists offer List, then Export, then Spreadsheet. It is useful, but the file leaves SAP’s access controls behind. Once data sits in a spreadsheet, anyone who gets the file can read it, including salary, bank or customer data.
- Export only the columns and rows you need.
- Store files where your company’s policy says to, not on personal drives or email.
- Delete working files when the task is done.
- If a report contains personal data, check whether a summary would do instead.
Some companies restrict export through authorizations or GUI settings, so the option may not appear for every report.
Do these tips still matter in S/4HANA and Fiori?
Yes. S/4HANA adds the Fiori launchpad, and SAP builds many new functions only as Fiori apps, but SAP GUI transactions remain available for most classic processes, and many power users, consultants and support teams still work mainly in SAP GUI. Fiori has its own shortcuts and personalization, such as saving filter variants and tiles on your home page. See what SAP Fiori is for how the two fit together.
Some old transactions were replaced in S/4HANA. For example, customer and vendor creation moved to Business Partner (transaction BP). If a familiar code redirects you or stops working, that is usually the reason.
Frequently asked questions
What is the difference between /n and /o in SAP?
/n ends the current transaction and starts the new one in the same window. /o opens the new transaction in an additional window and leaves your current work open.
How do I find the transaction code of the screen I am on?
Choose System, then Status. The dialog shows the transaction code, the program name and the screen number.
How do I set a default company code in SAP?
Run SU3, open the Parameters tab and add parameter ID BUK with your company code. Fields that use that parameter will fill in automatically.
How do I copy text from an SAP screen?
Press Ctrl+Y, drag a box over the text you want, then press Ctrl+C. You can then paste it anywhere.
What does /nex do in SAP?
It logs you off at once and closes every session without asking you to confirm, so any unsaved work is lost. Use /nend if you want a confirmation prompt.
Why can’t I see the command field in SAP GUI?
It is probably collapsed. Click the small arrow at the left end of the standard toolbar to expand it.
The bottom line
You do not need to memorize hundreds of shortcuts. Learn the command field codes, the core function keys, favorites, SU3 parameters, variants and ALV layouts, and you will move through SAP noticeably faster. When something blocks you, run SU53 before you ask for help. Next, read how to read SU53 and what an SAP role is.
Sources: SAP Help Portal (SAP GUI for Windows keyboard access); SAP Learning.


