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

Get the node key while using button on toolbar

Former Member
0 Likes
569

HI All

I'm using alv tree (class - CL_GUI_ALV_TREE ) and I want to add a button

to the toolbar (class - CL_GUI_TOOLBAR ) that User can delete

a row from the tree .

assume the user put the cursor on row

how can i know on which node_key is it ?

I am using the event function selected for the button ...

Regards

Alex

1 REPLY 1
Read only

Former Member
0 Likes
343

Alex,

check this sample program BCALV_TREE_04

call method g_alv_tree->get_selected_nodes

changing

ct_selected_nodes = lt_selected_nodes.

Thanks

Bala Duvvuri