Example: sapgui_tree_open_node_context_menu

The following example uses sapgui_tree_open_node_context_menu to open the context menu for a node.

sapgui_tree_set_selected_node("HTML Control", 
    "shellcont/shell", 
    "000730", LAST );
sapgui_tree_open_node_context_menu("(CtrlTree)", 
    "shellcont/shell", // Tree ID
    "000730", // Node ID
    BEGIN_OPTIONAL, 
        "AdditionalInfo=sapgui1025", 
    END_OPTIONAL);