‎2006 Sep 04 8:28 AM
Hi,
Can anyone send a sample code for keeping check boxes for the last level nodes(leaves) of the tree?
very urgent. points are assured.
Regards,
Srinivas
‎2006 Sep 04 8:32 AM
<b>BCALV_TREE_VERIFY</b>
when u run this standared code there is option for display item with check box click it and execute...
‎2006 Sep 04 8:41 AM
Hi check out this coding
DATA: lt_item_layout TYPE lvc_t_layi,
ls_item_layout TYPE lvc_s_layi,
v_alv type ref to cl_gui_alv_tree.
ls_item_layout-fieldname =v_alv->hierarchy_column_name.
LS_ITEM_LAYOUT-CLASS = CL_GUI_COLUMN_TREE=>ITEM_CLASS_CHECKBOX.
LS_ITEM_LAYOUT-EDITABLE = 'X'.
APPEND ls_item_layout TO lt_item_layout.
try this and let me know the result.
regards
Ram
‎2006 Sep 04 9:02 AM
Hi Ram,
Can you please check the code. Its giving short dump.
Can you edit the code and give me plz?
Regards,
Srinivas
‎2006 Sep 04 8:45 AM
‎2006 Sep 04 9:06 AM
‎2006 Sep 04 9:16 AM
Hi initially it has shown a systax error saying, The field "hierarchy_column_name" is unknown.There is a field with similar name "c_hierarchy_column_name".
I have modified the code as mentioned. Now i got the short dump..."Access not possible using 'NULL' Object reference.
Regards,
Srinivas
‎2006 Sep 04 10:12 AM
BETTER CHECK OUT THIS STANDARD ALV PROGRAM
<b>BCALV_TREE_DEMO</b>
RAM