i'm in trouble with method check_changed_data. i though i was to trigger any changes in my editable alv.
in pbo i've:
SET HANDLER g_event_receiver->handle_data_changed FOR grid1.
and in the pai:
save_ok = ok_code.
CLEAR ok_code.
CASE save_ok.
WHEN 'EXIT' OR 'BACK'.
PERFORM exit_program.
WHEN '&DATA_SAVE'.
CALL METHOD grid1->check_changed_data
IMPORTING
e_valid = l_valid.
IF l_valid = 'X'.
PERFORM call_transaction.
ENDIF.
WHEN OTHERS.
* do nothing
ENDCASE.
i had expected the call_transaction only if some changes are made in the alv, but i allways have l_valid = 'X'.
where do i make a mistake?