Skip to main content

Get item count

Count the entries of a drop-down list, the rows of a grid or table, the nodes of a tree, or the elements in a container.

Command in the SAP GUI toolkit · id ooa.sap/get_item_count · 3 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).

Outputs​

OutputTypeWhat it is
countNumberNumber of items.