Share this page

# sapgui_table_fill_data

Table Functions

Enter table data parameter in table.

    int sapgui_table_fill_data( const char *description, const char *tableID, const char *paramName, [args,] LAST );

description | User entered text to aid in understanding script
tableID | Object ID Strings
paramName | The name of a parameter of type table containing the data to be loaded in the table specified with tableID. paramName is passed in parameter braces: "{dataParam}".
args | Optional Arguments
LAST | A marker indicating the end of the argument list. Not required if Optional Arguments are used.

sapgui_table_fill_data is recorded when you enter data in a table and press Enter. The table parameter paramName is created automatically. The table parameter can be edited in VuGen after recording to change the data.

You can also create the table parameter manually in VuGen and enter this function manually.

## 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 show the use of sapgui_table_fill_data.

    sapgui_table_fill_data("Table",

        "usr/tblRSDEMO02TC_COLS",

        "{data}",

        BEGIN_OPTIONAL,

            "AdditionalInfo=sapgui2026",

        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: