I have two ALV s in same module pool screen. These two ALV s has editable check boxes.
1st one is ok fine with clicking check boxes. But when im clicking a check box in 2nd alv, it brings the error dump with "Field symbol has not been assigned yet"
This Error Occurred with register_edit_event in 2nd alv.
Please Explain why is this Happened?? Code segment are bellow.
This is 1st ALV
_____________________________________________________________
call method p_gv_alv->set_table_for_first_display
exporting
i_save = 'U'
is_layout = gv_layout
* it_toolbar_excluding = p_gv_excl_functions
changing
it_outtab = p_itab
it_fieldcatalog = p_gv_fieldcatalog
exceptions
invalid_parameter_combination = 1
program_error = 2
too_many_lines = 3
others = 4.
call method p_gv_alv->set_ready_for_input
exporting
i_ready_for_input = 1.
call method p_gv_alv->register_edit_event
exporting
i_event_id = cl_gui_alv_grid=>mc_evt_modified.
create object event_receiver.
set handler: event_receiver->handle_data_changed_finished for p_gv_alv.\
This is 2nd ALV
________________________________________________________________
call method q_gv_alv->set_table_for_first_display
exporting
i_save = 'U'
is_layout = gv_layout_opt
* it_toolbar_excluding = q_gv_excl_functions
changing
it_outtab = q_itab
it_fieldcatalog = q_gv_fieldcatalog
exceptions
invalid_parameter_combination = 1
program_error = 2
too_many_lines = 3
others = 4.
call method q_gv_alv->set_ready_for_input
exporting
i_ready_for_input = 1.
call method q_gv_alv->register_edit_event
exporting
i_event_id = cl_gui_alv_grid=>mc_evt_modified.
create object event_receiver.
set handler: event_receiver->handle_data_changed_finished for q_gv_alv.