Important! Read this.
We have launched a new documentation website. If you're using Enterpise Edition 10 (or higher) or Express/Business Edition 2.4.1 (or higher), visit this page.
We have moved to a new documentation platform. This section is no longer supported. For the up-to-date information, see SAP GUI tips and tricks.
To grab a selector of an element not visible on the SAP GUI screen, use Inspector. Thus, you open hidden tree elements or tabs.
Right click on any hidden element within the tree and select Focus.
On expanding the element, copy its selector to use in your script.
Available from RPA Express 2.3.2.
If automation of complex trees or tables with a large number of elements takes much time for both inspecting and executing scripts, use the following SAP UI controls attributes:
native_id attribute immediately interacts with a selected element, e.g., a table cell of the Nth column in a complex grid, without waiting for information from the whole list of elements.
native_idin the native_id field and paste it after
NATIVE_IDin the Selector field.
CELL and specify the cell coordinates using the
Your selector will look as follows:
native_id, you can build selectors for the following UI elements:
table cells: use
native_id + cell:
tree items: use
name (refer to the
name attribute in the element data)
SAP UI controls, e.g., buttons: use
The below mentioned commands are entered into the OK Code field, allowing to perform some actions quicker.
|used together with a transaction name, navigates to a transaction from the existing transaction window|
|displays a list of open SAP GUI sessions; all your sessions will be displayed in a dialog box with the options to create and end sessions|
|used together with a transaction name, closes the specified transaction window|
|logs out prompting to confirm that you want to close all the sessions|
|closes all the sessions and exits the SAP GUI desktop client without prompting|