Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

alv tree checkbox problem

hi guys i have this problem

i am using an alv tree with a checkbox

CLEAR gs_fieldcat.

gs_fieldcat-col_pos = 10.

gs_fieldcat-reptext = 'Bo.Ejecutivo'.

gs_fieldcat-scrtext_s = 'Bo.Ejecutivo'.

gs_fieldcat-fieldname = 'CHECK'.

gs_fieldcat-tabname = 'IT_FINAL'.

gs_fieldcat-checkbox = 'X'.

gs_fieldcat-edit = 'X'.

gs_fieldcat-outputlen = '5'.

APPEND gs_fieldcat TO gt_fieldcat_tree.

and when the user select a row from the alv tree i use

CALL METHOD g_alv_tree->get_selected_nodes


ct_selected_nodes = lt_selected_node.

LOOP AT lt_selected_node INTO l_selected_node .

CALL METHOD g_alv_tree->get_outtab_line


i_node_key = l_selected_node


e_outtab_line = wa_finalop.

APPEND wa_finalop TO it_finalop.


the problems comes when the user wants to tickmark the checkbox, because when i get the selected row the checkboxfield is initial . what should i do to update the checkbox field value ? help

Former Member
Not what you were looking for? View more on this topic or Ask a question