cancel
Showing results for 
Search instead for 
Did you mean: 

How to select the last node with selectNode()

04-05-2020 11:24 PM
490 views 0 comments
0 Likes
SAP Managed Tags
Subscribe

Hey all,

I'm currently working on a script that automates a contract process on tcode me21n. I'm currently facing a problem where a table inside of a shell object displays all created contracts along side a check box to individually select them. So if I want to select the first contract the instruction would be something like:

selectNode("1")

And I figured that selecting the last items would be something like

selectNode("-1")

However I keep getting an error in my script.

What is the proper way to always select the final node?

Thanks in advance!

0 Likes

Accepted Solutions (0)

Answers (0)