Skip to Content
0
Former Member
Jan 12, 2009 at 05:17 AM

ALV Editable

30 Views

HI all,

i am working on ALV Editable display where i need to save the edited data.i have a pblm while saving the data.when i am changing one cell the remaining cells data is getting as blank.please help here is my code in the perform of the evernt data_changed_finished.

loop at p_et_good_cells into wa_et_good_cells.

READ TABLE it_final ASSIGNING <fs_final> INDEX wa_et_good_cells-row_id.

IF sy-subrc = 0.

CASE wa_et_good_cells-fieldname.

WHEN 'DATE25'.

<fs_final>-date25 = wa_et_good_cells-value.

PERFORM change_hrs_sd CHANGING it_final.

WHEN 'DATE26'.

<fs_final>-date26 = wa_et_good_cells-value.

WHEN 'DATE27'.

<fs_final>-date27 = wa_et_good_cells-value.

WHEN 'DATE28'.

<fs_final>-date28 = wa_et_good_cells-value.

WHEN 'DATE29'.

<fs_final>-date29 = wa_et_good_cells-value.

WHEN 'DATE30'.

<fs_final>-date30 = wa_et_good_cells-value.

WHEN 'DATE31'.

<fs_final>-date31 = wa_et_good_cells-value.

WHEN 'DATE32'.

<fs_final>-date32 = wa_et_good_cells-value.

WHEN 'DATE33'.

<fs_final>-date33 = wa_et_good_cells-value.

WHEN 'DATE34'.

<fs_final>-date34 = wa_et_good_cells-value.

WHEN 'DATE35'.

<fs_final>-date35 = wa_et_good_cells-value.

WHEN 'DATE36'.

<fs_final>-date36 = wa_et_good_cells-value.

WHEN 'DATE37'.

<fs_final>-date37 = wa_et_good_cells-value.

WHEN 'DATE38'.

<fs_final>-date38 = wa_et_good_cells-value.

WHEN 'DATE39'.

<fs_final>-date39 = wa_et_good_cells-value.

WHEN 'DATE40'.

<fs_final>-date40 = wa_et_good_cells-value.

WHEN 'DATE41'.

<fs_final>-date41 = wa_et_good_cells-value.

WHEN 'DATE42'.

<fs_final>-date42 = wa_et_good_cells-value.

WHEN 'DATE43'.

<fs_final>-date43 = wa_et_good_cells-value.

WHEN 'DATE44'.

<fs_final>-date44 = wa_et_good_cells-value.

WHEN 'DATE45'.

<fs_final>-date45 = wa_et_good_cells-value.

WHEN 'DATE46'.

<fs_final>-date46 = wa_et_good_cells-value.

WHEN 'DATE47'.

<fs_final>-date47 = wa_et_good_cells-value.

WHEN 'DATE48'.

<fs_final>-date48 = wa_et_good_cells-value.

ENDCASE.

clear wa_et_good_cells.

unassign <fs_final>.

ENDIF.

ENDLOOP.

please help.