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.
Command in the SAP GUI toolkit · id ooa.sap/click_menu · 5 inputs (1 required), no outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Menu path | String | Yes | Menu texts separated by > (or /), or a menu element id such as wnd[0]/mbar/menu[3]/menu[2]. | |
| Window | Number | No | 0 | Window number whose menu bar to use (0 = main window). |
| Connection | Number | No | 0 | SAP connection number (0 = first open system). |
| Session | Number | No | 0 | Session (window) number within the connection (0 = first). |
| Match by | String | No | text | text: the path holds menu texts; index: it holds 0-based positions, e.g. 5 > 1 > 0. |