Introduction to controls and selectors in SAP automation
The main selectors of SAP controls are IDs. An ID is an attribute that uniquely identifies a control of the SAP application. IDs in SAP have a URL-like syntax.
For more information about controls and selectors, see Controls and selectors overview.
There are two types of IDs: Absolute and Relative. Absolute IDs start from the application model object and start with the forward slash (/
) character. The relative IDs reference the object to start the search and walk to the target
object. When using relative IDs, start from the wnd
window object.
The SAP Scripting API considers the control's ID as a construct of the control type and name. If the name does not exist, the API requires you to couple an index to the object type for uniqueness, between brackets ([]
),
starting at 0. This index can contain one or two dimensions.
The controls available in the SAP window can vary depending on the design mode that is selected for the application.
Mapping controls
You must use the IBM RPA Studio's recorder tool to map SAP controls. From the IBM RPA Studio menu bar, start the recorder by clicking Home > Start Recorder.
When you change the recorder-mapping driver, you can map SAP controls. The control is highlighted in purple when you map an SAP control. For more information about the recorder, changing the active recorder driver, and mapping controls, see Recorder.
Related links
Parent topic: