Skip to Content
0
Former Member
Sep 11, 2006 at 03:28 PM

ALV grid modifying cell content

1199 Views

Hi ,

I'm woking on a class based ALV GRID program.

In it i have to change the content of one cell when another cell content is changed.

I have done the using

  • 1.Handle data changed in grid

METHOD handle_data_changed.

PERFORM data_changed USING er_data_changed.

ENDMETHOD.

*2

DAta : pw_data_changed2 TYPE REF TO

cl_alv_changed_data_protocol.

CALL METHOD pw_data_changed2->modify_cell

EXPORTING i_tabix = pwl_row_id

i_fieldname = pw_fldname

i_value = pw_fldvalue.

The problem is the cell contents are changing only when i press enter button. Is there any way as soon as i change the contents of one cell other cell contents also changes.

Regards

Srikanth