Skip to main content

SAP GUI

30 commands. Toolkit id ooa.sap.

CommandWhat it does
Choose menu entryChoose 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.
ClickClick an element: buttons are pressed, tabs and radio buttons selected, check boxes toggled, other elements focused.
Close connectionLog off and close an SAP connection.
Double-clickDouble-click an element, a grid cell or a tree node (fields get F2, which SAP treats as a double-click).
Expand tree nodeExpand a node of a tree control by its node key, text or position, optionally selecting it.
Export tableRead an ALV grid or a classic table control into a table, scrolling through all rows.
Find value in tableFind the first cell (or every cell) holding a value, ignoring surrounding spaces, and return its row and column.
Get check box or radio stateRead whether a check box is ticked or a radio button is selected.
Get childrenList the elements inside a container with their ids, types, names and texts.
Get fieldRead the text (or another property) of a field, label or the status bar.
Get item countCount 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 itemRead what is selected in a drop-down list, tab strip, tree or grid.
Get status barRead the status bar message and type (S success, W warning, E error, I info), with its message class and number.
Get table cellRead one cell of an ALV grid or table control.
Get table cell countCount the cells (rows times columns) of an ALV grid or a table control.
Get table column countCount the columns of an ALV grid or a table control.
Get table row countCount 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 onOpen a system from SAP Logon by its description and log on with client, user, password and language.
Press buttonPress a toolbar or screen button by its id.
Press toolbar buttonPress 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 gridRead 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 transactionStart a transaction code, e.g. VA01 or /nME23N.
Select list itemChoose 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 buttonSelect a radio button option.
Send keyPress a key in SAP GUI, such as Enter, F3 (Back), F8 (Execute), Ctrl+S (Save) or F12 (Cancel).
Set check boxTick, clear or toggle a check box.
Set fieldType a value into a field (Credentials are passed without logging).
Set table cellType 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.