Skip to main content

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​

InputTypeRequiredDefaultWhat it is
IDStringYesScripting id from the SAP script recorder, e.g. wnd[0]/usr/ctxtVBAK-AUART.
Button IDStringYesButton id as shown by the script recorder.
Menu itemStringNoFunction code of the drop-down entry to choose; none when empty.
ConnectionNumberNo0SAP connection number (0 = first open system).
SessionNumberNo0Session (window) number within the connection (0 = first).