Skip to Content
0
Sep 17, 2007 at 11:43 AM

Double click event for ALV tree

208 Views

Hello,

Could you pls. assist in the following:

1) I have an ALV tree on the left hand side.

2) I have registered double_click event on ALV tree. If the user double clicks on the tree node a detail ALV grid appers on the right hand side.

3) I have a refresh button also in which I rebuild the data in the ALV tree.

4) Now if the we refresh and then double click on the tree node then the node_double_click event of tree which returns node_key_sender parameter, returns the key values which are incremented beginning from the end of first time display. Say first time the tree has 100 entries and I double click on 1st node, then the event returns node_key as 1. Now after refresh again I double click on 1st node the event returns node_key as 101 and so on with each subsequent refresh.

On refresh button I am clearing my tree table and building it again.

Any pointers in this regard are appreciated.

Thanks.

Regards,

Gajendra.