cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to select the last node with selectNode()

Former Member
0 Likes
461

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!

Accepted Solutions (0)

Answers (0)