Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Set cursor / mark selected tree node

Missschaaa
Participant
0 Likes
1,243

Hello guys,

is it possible to set the cursor on a special tree node or lets say better mark the tree row like in my screenshot? I'm working with CL_GUI_ALV_TREE.

I'm not talking about how to get the node information etc. this all works fine. It's just some nice to have feature on the dynpro screen. Of course when I manually click on the node it will get marked. But in my case I can search via object search for tree nodes and after the object is inputed I want that the tree automatically marks the selected node from object search.

I thought at GET_SELECTED_ROWS method but it looks like it is only for internal row selection but not on dynpro setting cursor / marking the row.

tree.png

Regards
Michael

1 REPLY 1
Read only

grzegorz_smrek
Discoverer
0 Likes
895

Hi, did you find any solution of that problem? I have the similar problem. I got tree with expanded nodes on the lest site and details on the right. I must mark somehow node that is active on the beginning. It is not root one, unfortunately.