Application Development and Automation 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: 
Read only

alv tree checkbox problem

alejandro_romero2
Participant
0 Likes
433

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

CHANGING

ct_selected_nodes = lt_selected_node.

LOOP AT lt_selected_node INTO l_selected_node .

CALL METHOD g_alv_tree->get_outtab_line

EXPORTING

i_node_key = l_selected_node

IMPORTING

e_outtab_line = wa_finalop.

APPEND wa_finalop TO it_finalop.

ENDLOOP.

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

2 REPLIES 2
Read only

uwe_schieferstein
Active Contributor
0 Likes
396

Hello Alejandro

The solution can be found in

Regards

Uwe

PS: Please avoid cross-posting.

Read only

alejandro_romero2
Participant
0 Likes
396

I solved by my self but the answer was very helpfull