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.
Command in the SAP GUI toolkit · id ooa.sap/press_toolbar_button · 5 inputs (2 required), no outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| ID | String | Yes | Scripting id from the SAP script recorder, e.g. wnd[0]/usr/ctxtVBAK-AUART. | |
| Button ID | String | Yes | Button id as shown by the script recorder. | |
| Menu item | String | No | Function code of the drop-down entry to choose; none when empty. | |
| Connection | Number | No | 0 | SAP connection number (0 = first open system). |
| Session | Number | No | 0 | Session (window) number within the connection (0 = first). |