Example: sapgui_grid_selection_changed

In this example, sapgui_grid_selection_changed outputs a message confirming that the selection was changed. In this example, the selection did not change.

sapgui_grid_press_F4("'Overview', F4", 
        "usr/cntlBCALVC_TOOLBAR_D100_C1/shellcont/shell", 
        BEGIN_OPTIONAL, 
            "AdditionalInfo=sapgui1047", 
        END_OPTIONAL);    
    lr_message("Selection Changed %d",
        sapgui_grid_selection_changed("Changed",
            "usr/cntlBCALVC_TOOLBAR_D100_C1/shellcont/shell",
            LAST)
        );
Example: Output: Selection Changed 0