Share this page

# 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.

## Example

The following example uses sapgui_table_set_column_selected to select the third column in a table.

    sapgui_table_set_column_selected("Depart.city",

        "usr/tblRSDEMO02TC_SPFLI",

        "2",

        "True",

        BEGIN_OPTIONAL,

            "AdditionalInfo=sapgui1035",

        END_OPTIONAL);

Tips to improve your search results... VuGen Function Reference Version 26.1 Function Reference 26.1 All View Local Help Center View Online Help Center Version: