cancel
Showing results for 
Search instead for 
Did you mean: 

SAP - Get text value of a node

Former Member
0 Kudos

Hi All,

I'm trying to get the text value of a selected node. Can anyone help me figure out what is wrong with below code. Im getting the error in the bold line.

WF = ActiveSheet.Range("E" & i).Value

session.findById("wnd[0]/usr/tabsVIEW_STRIP/tabpSSCV/ssubSUBSCREEN01:SAPLSWL7:0110/cntlMAIN_CONT/shellcont/shell/shellcont[0]/shell").selectedNode = WF

ActiveSheet.Range("F" & i).Value = (session.findById("wnd[0]/usr/tabsVIEW_STRIP/tabpSSCV/ssubSUBSCREEN01:SAPLSWL7:0110/cntlMAIN_CONT/shellcont/shell/shellcont[0]/shell").selectedNode = WF).Text

Thank you,

Michael

Accepted Solutions (0)

Answers (1)

Answers (1)

stefan_schnell
Active Contributor
0 Kudos

Hello Michael,

you find a similar discussion here. You can find a few examples how to read values of nodes and their descriptions. Hope it answers your question, otherwise let us know so we can support you.

Cheers

Stefan