Skip to main content

Get table cell count

Count the cells (rows times columns) of an ALV grid or a table control.

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