Example: sapgui_table_get_text

The following example uses sapgui_table_get_text to confirm successful entry of a text in a cell.

sapgui_table_get_text("Get the city before change",
    "usr/tblRSDEMO_TABLE_CONTROLTABLE_CONTROL",
    "15",
    "2",
    "PreviousCity", 
    LAST );
sapgui_table_set_text("(15, 'Depart.city')", 
    "usr/tblRSDEMO_TABLE_CONTROLTABLE_CONTROL", 
    "15", 
    "2", 
    "Philadelphia", LAST );
sapgui_table_get_text("Confirm change, should be 'Philadelphia'",
    "usr/tblRSDEMO_TABLE_CONTROLTABLE_CONTROL",
    "15",
    "2",
    "NewCity", 
    LAST );