SAP GUI
30 commands. Toolkit id ooa.sap.
| Command | What it does |
|---|---|
| Choose menu entry | Choose an entry from the window's menu bar by its path of texts, e.g. System > User Profile > Own Data, by positions, or by its element id. |
| Click | Click an element: buttons are pressed, tabs and radio buttons selected, check boxes toggled, other elements focused. |
| Close connection | Log off and close an SAP connection. |
| Double-click | Double-click an element, a grid cell or a tree node (fields get F2, which SAP treats as a double-click). |
| Expand tree node | Expand a node of a tree control by its node key, text or position, optionally selecting it. |
| Export table | Read an ALV grid or a classic table control into a table, scrolling through all rows. |
| Find value in table | Find the first cell (or every cell) holding a value, ignoring surrounding spaces, and return its row and column. |
| Get check box or radio state | Read whether a check box is ticked or a radio button is selected. |
| Get children | List the elements inside a container with their ids, types, names and texts. |
| Get field | Read the text (or another property) of a field, label or the status bar. |
| Get item count | Count the entries of a drop-down list, the rows of a grid or table, the nodes of a tree, or the elements in a container. |
| Get selected item | Read what is selected in a drop-down list, tab strip, tree or grid. |
| Get status bar | Read the status bar message and type (S success, W warning, E error, I info), with its message class and number. |
| Get table cell | Read one cell of an ALV grid or table control. |
| Get table cell count | Count the cells (rows times columns) of an ALV grid or a table control. |
| Get table column count | Count the columns of an ALV grid or a table control. |
| Get table row count | Count the rows of an ALV grid or a table control. |
| Open system (single sign-on) | Open a system from SAP Logon that signs on by itself (SSO or SNC), with no user or password. |
| Open system and log on | Open a system from SAP Logon by its description and log on with client, user, password and language. |
| Press button | Press a toolbar or screen button by its id. |
| Press toolbar button | Press a button in the toolbar of an ALV grid or tree (e.g. &MB_EXPORT), optionally choosing an entry of its drop-down menu. |
| Read grid | Read an ALV grid (GuiGridView) into a table, using the column titles as names. |
| Right-click (context menu) | Open the context menu of an element, grid cell or tree node and optionally choose an entry by its function code or element id, its text, or its position. |
| Run transaction | Start a transaction code, e.g. VA01 or /nME23N. |
| Select list item | Choose an entry of a drop-down list, a tab of a tab strip, or a node of a tree, by key, displayed text or position. |
| Select radio button | Select a radio button option. |
| Send key | Press a key in SAP GUI, such as Enter, F3 (Back), F8 (Execute), Ctrl+S (Save) or F12 (Cancel). |
| Set check box | Tick, clear or toggle a check box. |
| Set field | Type a value into a field (Credentials are passed without logging). |
| Set table cell | Type a value into an editable cell of an ALV grid or table control, chosen by row and column or found by the text it holds. |