Skip to main content

Get field

Read the text (or another property) of a field, label or the status bar.

Command in the SAP GUI toolkit · id ooa.sap/get_field · 4 inputs (1 required), 1 output

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).
PropertyStringNotextWhich property to read; text by default.

Outputs​

OutputTypeWhat it is
textStringField text, or the value of the chosen property.