Share this page

# sapgui_grid_fill_data

Grid Functions

Enter table data parameter in a grid.

    int sapgui_grid_fill_data( const char *description, const char *gridID, const char *paramName, [args,] LAST );

description | User entered text to aid in understanding script
gridID | Object ID Strings
paramName | The name of a parameter of type table containing the data to be loaded in the grid specified with gridID. 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_grid_fill_data enters table data parameter in a grid. It is recorded when you enter data in a grid 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 shows the use of sapgui_grid_fill_data.

Copy code

    sapgui_grid_fill_data("shell",
        "usr/subSUB0:SAPLMEGUI:0016/subSUB2:SAPLMEVIEWS:1100/subSUB2:SAPLMEVIEWS:1200/subSUB1:SAPLMEGUI:3212/cntlGRIDCONTROL/shellcont/shell",
           "{data_1}",
           BEGIN_OPTIONAL,
                "AdditionalInfo=sapgui2069",
        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: