Skip to main content

Set field

Type a value into a field (Credentials are passed without logging).

Command in the SAP GUI toolkit · id ooa.sap/set_field · 6 inputs (2 required), no outputs

Inputs​

InputTypeRequiredDefaultWhat it is
IDStringYesScripting id from the SAP script recorder, e.g. wnd[0]/usr/ctxtVBAK-AUART.
ValueAnyYesValue, or a Credential variable.
ConnectionNumberNo0SAP connection number (0 = first open system).
SessionNumberNo0Session (window) number within the connection (0 = first).
AppendBooleanNofalseAdd the value after the text already in the field instead of replacing it.
Press Enter afterwardsBooleanNofalsePress Enter in the window afterwards.