Skip to main content

Expand tree node

Expand a node of a tree control by its node key, text or position, optionally selecting it.

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

Inputs​

InputTypeRequiredDefaultWhat it is
IDStringYesScripting id from the SAP script recorder, e.g. wnd[0]/usr/ctxtVBAK-AUART.
Node keyStringYesNode key as shown by the script recorder (keep any leading spaces), or the node text or position (see match_by).
SelectBooleanNofalseAlso select the node.
ConnectionNumberNo0SAP connection number (0 = first open system).
SessionNumberNo0Session (window) number within the connection (0 = first).
Match byStringNokeyWhether node_key is the node key, its displayed text, or its 0-based position among all nodes.