Share this page

# Example: sapgui_call_method_ex

In this example, the first child of a TreeView root has two sub children, "Item1" and "Item2". sapgui_call_method_ex invokes the SAP method, GetSubNodesCol.

    sapgui_call_method_ex("usr/cntlTREE_CONTAINER/shellcont/shell",
        "GetSubNodesCol",
        "MySubNode",
        "Child1", LAST );

After the call, parameter MySubNode_1 contains the string "Item1", parameter MySubNode_2 contains the string "Item1" and parameter MySubNode_count is equal to "2".

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: