Share this page

# sapgui_table_is_radio_button_selected

Table Functions

Checks if radio button in a table is selected.

    int sapgui_table_is_radio_button_selected( const char *description, const char *tableID, const char *row, const char *column, [args,] LAST );

description | User entered text to aid in understanding script
tableID | Object ID Strings
row | Row number. The first data row is numbered zero (0). If there is a header row it is numbered (-1).
column | Column number. The first column is numbered zero (0).
args | Optional Arguments
LAST | A marker indicating the end of the argument list. Not required if Optional Arguments are used.

The sapgui_table_is_radio_button_selected verification function returns true if a radio button in table is selected.

## Return Values

This function returns True (-1) or False (0).

## Parameterization

You can parameterize all string (char type) arguments.

## Example

In the following example, the sapgui_table_is_radio_button_selected function checks if a radio button is selected. If not, it is selected.

    if (! sapgui_table_is_radio_button_selected("Check Selection",

        "usr/tblRSDEMO02TC_SPFLI",

        "5",

        "7",

        BEGIN_OPTIONAL,

            "WhyDoThis=To check if already selected",

        END_OPTIONAL))

    {

         sapgui_table_select_radio_button("Select it",

            "usr/tblRSDEMO02TC_SPFLI",

            "5",

            "7",

            BEGIN_OPTIONAL,

                "WhyDoThis=Simon said",

            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: