Example: sapgui_grid_click

The following example uses sapgui_grid_click to set the input focus on the first row, column "STATUSSICON".

// Save the Grid ID in variable "GridID"
lr_save_string(
	"usr/subSUB0:SAPLMEGUI:0013/subSUB2:SAPLMEVIEWS:1100/subSUB2:SAPLMEVIEWS:1200/subSUB1:SAPLMEGUI:3212/cntlGRIDCONTROL/shellcont/shell",
       "GridID");
sapgui_grid_click
   ("Select Row one, status column", //Any text
    "{GridID}",               // Grid ID
    "0",                         // First Row
    "STATUSICON",    // Column
    BEGIN_OPTIONAL,
        "AdditionalInfo=info1041", 
    END_OPTIONAL);