Skip to main content

Get table row count

Count the rows of an ALV grid or a table control.

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