Forum Discussion

roli62's avatar
roli62
Occasional Contributor
2 years ago

How to work on a SAP ShellTree object and where to find SAP methods documentation?

I have bee using SAPWebGui for testing but I found that the SAPGui is more reliable and I am trying to switch over. But here I am facing issues with addressing objects.   I am testing SAPGui Releas...
  • rraghvani's avatar
    2 years ago

    The coding will be something like,

     

    var shelltree = sapsession.FindById("wnd[0]/usr/cntlTREE_CONTAINER/shellcont/shell/shellcont[1]/shell"); // Get tree control
    shelltree.currentCellRow = 2
    shelltree.doubleClickCurrentCell;

     

     

    See GuiTree Object to see methods and parameters, and Special Functions of the Tree Structure to understand the tree structure.

     

    Also, if you do a internet search, you can get snippets of coding.