Example: sapgui_grid_click_current_cell
The following example uses sapgui_grid_click_current_cell and sapgui_grid_double_click_current_cell to emulate a user clicking and double-clicking on the currently active cell.
lr_save_string( "/app/con[0]/ses[0]/wnd[0]/usr/cntlBCALV_GRID_DEMO_0100_CONT1/shellcont/shell", "GridID");
sapgui_grid_select_cell("(0, Booking total)", "{GridID}", "0", "PAYMENTSUM", BEGIN_OPTIONAL, "AdditionalInfo=sapgui1026", END_OPTIONAL);
sapgui_grid_click_current_cell("Click Current Cell", "{GridID}", LAST );
sapgui_grid_double_click_current_cell("Double Click Current Cell", "{GridID}", LAST );