SAP GUI Functions (SAPGUI) > Alphabetical List of Functions > sapgui_grid_get_rows_count

sapgui_grid_get_rows_count

Example: sapgui_grid_get_rows_count Grid Functions

Retrieves the number of rows in the grid.

int sapgui_grid_get_rows_count( const char *description, const char *gridID, const char *outParamName, [args,] LAST );
description User entered text to aid in understanding script
gridID Object ID Strings
outparamName Parameter for retrieved number of rows in the grid
args Optional Arguments
LAST A marker indicating the end of the argument list. Not required if Optional Arguments are used.

The sapgui_grid_get_rows_count data retrieval function gets the number of rows in a grid.

Return Values

This function returns LR_PASS (0) on success or LR_FAIL (1) on failure.

Parameterization

You can parameterize all string (char type) arguments.