Skip to Content

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

alv tree checkbox problem

hi i have this little problem , im using an alvtree and i am creating the field catalog like this

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-COL_OPT = 'X'.

gs_fieldcat-outputlen = '5'.

APPEND gs_fieldcat TO gt_fieldcat_tree.

then when the user select a row i use this

CALL METHOD g_alv_tree->get_selected_nodes

CHANGING

ct_selected_nodes = lt_selected_node.

CALL METHOD g_alv_tree->get_outtab_line

EXPORTING

i_node_key = l_selected_node

IMPORTING

e_outtab_line = wa_finalop.

but if i mark the chekbox, the work area check field is empty i dont know why any idea?

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