Skip to Content
author's profile photo Former Member
Former Member

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

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Aug 23, 2011 at 04:10 PM

    Solved it by myself

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.