FIELD-SYMBOLS <mod_cell> LIKE LINE OF er_data_changed->mt_mod_cells().
    LOOP AT er_data_changed->mt_mod_cells() ASSIGNING <mod_cell>.
      FIELD-SYMBOLS <grid_line> LIKE LINE OF grid_table().
      READ TABLE grid_table ASSIGNING <grid_line> INDEX <mod_cell>-row_id.

      IF <mod_cell>-fieldname = 'TEST1' AND <mod_cell>-value = 'X'.
        <grid_line>-test = 'X'.
        <grid_line>-test2 = ' '.

      ELSEIF <mod_cell>-fieldname = 'TEST1' AND <mod_cell>-value = ' '.
        <grid_line>-test = ' '.
        <grid_line>-test2 = 'X'.

      ELSEIF <mod_cell>-fieldname = 'TEST2' AND <mod_cell>-value = 'X'.
        <grid_line>-test = ' '.
        <grid_line>-test2 = 'X'.

      ELSEIF <mod_cell>-fieldname = 'TEST2' AND <mod_cell>-value = ' '.
        <grid_line>-test = 'X'.
        <grid_line>-test2 = ' '.

      ELSE.
      ENDIF.
    ENDLOOP. 
 
 
 
Serkan AKKAVAK
Computer Engineer
ABAP Developer & SAP S/4 HANA Logistics Team Lead
Contact : serkurumsal@yandex.com