Hi All
I have created an ALV Report in which Final Internal Table(Fields to be displayed) is having a Field as CheckBox.
Problem is when I'm clicking multiple checkboxes only single field of table is getting updated but I want multiple rows to be updated. I have tried by using loop also but no use.
Please check the code.
case r_ucomm.
when '&DATA_SAVE'.
loop at it_data into wa_data.
read table it_fpla into wa_fpla with key vbeln = wa_data-vbeln.
if sy-subrc = 0.
if wa_data-check = 'X'.
read table it_fplt into wa_fplt index rs_selfield-tabindex.
if sy-subrc = 0.
update fplt
set faksp = ' '
where fplnr = wa_fplt-fplnr and fkdat = wa_fplt-fkdat.
endif.
endif.
endif.
endloop.
Regards.