Sets the focus to a cell in a SapGui table control.
SapGui.bdh
SapGuiTableSetFocusCell( in sControl : string allownull, 
                         in nRow     : number, 
                         in nCol     : number,
                         in sTimer   : string optional ) : boolean; 
               	 | Parameter | Description | 
|---|---|
| sControlId | The table's unique id. | 
| nRow | The row where to set the value | 
| nCol | The column where to set the value | 
| sTimer | Timer name for measurements. | 
transaction TMain
  var
    sConnID : string;
  begin
    // Connecting to SAP
    sConnID := SapGuiOpenConnection(" /SAP_CODEPAGE=1100 /FULLMENU 10.5.2.198 0 /3");
    SapGuiSetActiveConnection(sConnID);
    SapGuiSetActiveSession("ses[0]");
    // SAP
    SapGuiSetActiveWindow("wnd[0]", "SAP", SAPGUI_MATCH_Exact);
    SapGuiWindowAction(SAPGUI_WND_MAXIMIZE);
    // Logon to SAP System
    // Before running a test you have to customize the password parameter!
    SapGuiIgnoreError(SAPENGINE_STATUSBAR_CHANGED, SEVERITY_SUCCESS);
    ThinkTime(3.4);
    SapGuiLogon("ddic", "*******", "000", "");
    SapGuiPressButton("usr/btn%_AUTOTEXT005", " Simulate inbound call");
    // Daten des Anrufs eingeben
    ThinkTime(22.6);
    SapGuiSetActiveWindow("wnd[1]", "Daten des Anrufs eingeben", SAPGUI_MATCH_Exact);
    SapGuiTableSetText("usr/tblSAPLPHOAD102_ADDITIONAL", 0, 3, "asdf");
    SapGuiTableSetFocusCell("usr/tblSAPLPHOAD102_ADDITIONAL", 1, 2, "D102_ADD_DATA-KEYNAME");
    // caretPosition
  end TMain;