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: 

PUSHBUTTON IN ALV TREE

Former Member
0 Kudos

Hi all,

When I create a ALV TREE output with cl_gui_alv_tree, during output display I want a pushbutton to be displayed BEFORE each row.The row should not be editable.When I select the button, the whole row should be selected.

What extra code should I add in my program?

Thanks a lot in advance .

Regards,

Tarak

2 REPLIES 2

Pawan_Kesari
Active Contributor
0 Kudos

put a field CHK type CHAR01 in internal table whihch is being used for ALV grid.. then in layout pass this field name as

ls_lay-box_fname = 'CHK' .

Edited by: Pawan Kesari on Oct 6, 2008 6:33 PM

0 Kudos

Hi,

I am not using Grid , i am using cl_gui_alv_tree for alv tree. For this i need to add a pushbutton on each row of the output.

Thanks,