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

sapgui_table_set_column_selected

Example: sapgui_table_set_column_selected Table Functions

Selects or deselects a table column.

int sapgui_table_set_column_selected( const char *description, const char *tableID, const char *column, const char *isSelected, [args,] LAST );
description User entered text to aid in understanding script
tableID Object ID Strings
column Column number. The first column is numbered zero (0).
isSelected "True" or "False
args Optional Arguments
LAST A marker indicating the end of the argument list. Not required if Optional Arguments are used.

sapgui_table_set_column_selected emulates a user clicking on a column header in a table.

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.