Application Development 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: 

Double click second time on ALV Tree node, leading to short dump.

Former Member
0 Kudos

Hi All,

I have a strange problem in ALV tree.

In my program I have 4 nodes as following.

->Others

->Original

->Doc1

->Doc2

I'm using "CL_gui_alv_tree" to display the above list.

Now requirement is to dispaly a tick mark(icon_checked) beside original, Doc1 & Doc2. Tick mark(icon_checked)

beside Original is constant it will not change, but at any given point of time tick mark(icon_checked) should be there either for Doc1 or Doc2, but not both.

Lets say if user click on Doc1 then tick mark(icon_checked) should be displayed next to doc1 and it should be clear beside doc2.

similarly if doc2 is double clicked, then tick mark(icon_checked) should be displayed next to doc2 and removed beside doc1.

I'm able to meet this requirement using the event double click and method change_node & frontend_upate.

Now the probelm is.

when the list is displayed for the first time. There will not be any tick mark(icon_checked) beside doc1 or doc2, it should be displayed next to Original only.

Now if I doubel click on doc1 for first time, it displays icon next to it,

when I double click on Doc2 for first time, its placing icon next to Doc2 and removing from Doc1.

Again when I double click on Doc1 for second time, its placing icon next to Doc1 and removing from Doc2.

Again when I double click on Doc2 for second time, its leading to short dump and Error is as follows.

" A RAISE statement in the program "CL_GUI_CFW====================CP" raised the

exception

condition "CNTL_ERROR".

Since the exception was not intercepted by a superior

program, processing was terminated. "

No matter how many times i double click on Doc1, i'm not getting this error. But only on Doc2 node for the second time, i'm getting this error.

I cant say its presentation server error, all other tree program are working fine in the system.

Please share your views.

Thanks in Advance.

2 REPLIES 2

Former Member
0 Kudos

Solved it by myself

0 Kudos

Hi M R A,

I am also facing the same problem.... can you please tell me how you solved this?