Share this page

# Example: sapgui_grid_select_columns

The following example uses sapgui_grid_select_columns to select one, two and three columns.

    // Store the Grid ID in a variable

    lr_save_string
        ("usr/cntlBCALVC_TOOLBAR_D100_C1/shellcont/shell",
        "GridID");

    sapgui_grid_select_columns("Select One Column",
            "{GridID}",
            "CONNID",
            LAST );

    sapgui_grid_select_columns("Select two columns",
            "{GridID}",
            "CONNID", "CITYFROM", //Select two columns
            BEGIN_OPTIONAL,
                "AdditionalInfo=sapgui1019",
            END_OPTIONAL);

    sapgui_grid_select_columns("Select three non-adjacent columns",
            "{GridID}",
            "CONNID", "CARRID", "CITYFROM", LAST );

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