Share this page

# sapgui_table_select_combobox_entry

Table Functions

Selects an entry from the list and inserts into a table cell.

    int sapgui_table_select_combobox_entry( const char *description, const char *tableID, const char *row, const char *column, const char *entryKey, [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).
entryKey | Key to list entry in combo box
args | Optional Arguments
LAST | A marker indicating the end of the argument list. Not required if Optional Arguments are used.

sapgui_table_select_combobox_entry selects item entryKey from a combo box and enters the value in the table cell at row and column.

## 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_select_combobox_entry to choose British Airways from a combo box containing airlines, and enters the value in the first column of the first row of the table.

    sapgui_table_select_combobox_entry("(0, 'Airline carrier')",

        "usr/tblRSDEMO_TABLE_CONTROLTABLE_CONTROL",

        "0",

        "0",

        "BA",

        BEGIN_OPTIONAL,

            "Value=British Airways",

            "AdditionalInfo=info1019",

        END_OPTIONAL);

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