SAP transaction codes are entered in a text box that is called Command-field or “OK Code”.
The shortcut to go to this command field is CTRL + /
Some entry options for OK codes:
- /n : The /n option terminates the current transaction
- /n<TXNCODE> : The /n option terminates the current transaction and TXNCODE followed by /n calls transaction TXNCODE
- /nend : This option terminates all the sessions from the current PC and logs the user off.
- /nex : This option terminates all the sessions from the current PC and logs the user off immediately without issuing warnings
- /o : The option /o lists existing sessions and allows deletion or opening of a new session.
- /o<TXNCODE> : The option /o followed by a transaction code TXNCODE opens a new session and starts transaction TXNCODE in the new session. If the maximum number of sessions per user are breached, an error is displayed.
- /i : The option /i terminates the current session
- /i1 : The option /i1 terminates session 1. Similarly /i<N> terminates session N.
- .xyz : While navigating menus, each menu item you click has a character that is underlined. These can be navigated using . followed by the underlined characters. For example all the click through Goto > Overview > System can be accessed using .Gvs. One more example is illustrated in the pic at the beginning.
- /h : Switched to debugging mode.
- /hs : This switches into debugging mode and activates the debugging of system functions
- /$SYNC : Resets all the buffers on the currently logged on application server
- /$CUA : Resets the CUA buffer on the currently logged on application server
- /$TAB : Resets the table buffers on the currently logged on application server
- /$NAM : Resets the nametab buffer on the currently logged on application server
- /$DYN : Resets the screen buffer on the currently logged on application server
- &sap_edit is a bit tricky with SAP placing few restrictions on it.
&SAP_EDIT was an easy function available for SAP Support experts to provide a fast solution for customers in a highly critical situation. As this function became increasingly known to others, SAP chose to deactivate it with Release 600 with Support Package 17 and Support Package 18.
If you want the function back, implement SAP Note 1446530 or use other techniques such as using function module se16n_interface or from SE16 in debug mode (Open the exact record you want to edit. Hit /h. Change the mode to EDIT, INSERT, etc.)
Copy-paste between SAP screen and other application (like Excel, Notepad, Word etc) works a little bit differently. First you have to activate mark option using CTRL+Y. This activates a cross-hair cursor with which you can select all the data you wish to select. Then copy the selected data to OS’s clipboard using CTRL+C (copy) or CTRL+X (cut). Now you can paste into non-SAP application using the normal paste (CTRL+V)
You can also activate automatic copy by selection of text. The text select action is automatically copies the selected text into the clipboard.
This functionality exists in SAP GUI, which may not be activated by default. You can activate it by selecting the “Quick Cut and Paste” option from GUI to enable the option.