Skip to main content

Press button

Press a toolbar or screen button by its id.

Command in the SAP GUI toolkit · id ooa.sap/press · 4 inputs (1 required), no outputs

Inputs​

InputTypeRequiredDefaultWhat it is
IDStringYesScripting id from the SAP script recorder, e.g. wnd[0]/usr/ctxtVBAK-AUART.
ConnectionNumberNo0SAP connection number (0 = first open system).
SessionNumberNo0Session (window) number within the connection (0 = first).
Fail on error messageBooleanNofalseStop with an error when the status bar then shows an error message.