Example: sapgui_tree_set_checkbox
The following example uses sapgui_tree_set_checkbox to select and clear a checkbox.
// Select the box
sapgui_tree_set_checkbox("Child1 Col. 1, Column3, True",
"usr/cntlTREE_CONTAINER/shellcont/shell", // treeID
"Child1", // nodeKey
"Column3", //itemName
"True", //value
BEGIN_OPTIONAL,
"AdditionalInfo=info10110",
END_OPTIONAL);
// Clear the box
sapgui_tree_set_checkbox("Child1 Col. 1, Column3, False",
"usr/cntlTREE_CONTAINER/shellcont/shell",
"Child1",
"Column3",
"False",
BEGIN_OPTIONAL,
"AdditionalInfo=info10109",
END_OPTIONAL);