ALV Change data not working

SAP Change data is not getting displayed on the ALV output.

The Internal table will show the changed data but the output displays the old one only.

Do the below Steps it will solve the issue.

CALL METHOD go_grid->refresh_table_display
* EXPORTING
* IS_STABLE =
* I_SOFT_REFRESH =
EXCEPTIONS
finished = 1
OTHERS = 2.

CALL METHOD go_grid->free
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
OTHERS = 3.

CALL METHOD go_cont->free
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
OTHERS = 3.

CALL METHOD go_grid->set_table_for_first_display
EXPORTING
i_save = ‘X’
i_default = ‘X’
is_layout = ls_layout
CHANGING
it_outtab = gt_final
it_fieldcatalog = gt_fieldcat
EXCEPTIONS
invalid_parameter_combination = 1
program_error = 2
too_many_lines = 3
OTHERS = 4.

CALL METHOD go_grid->register_edit_event
EXPORTING
i_event_id = cl_gui_alv_grid=>mc_evt_modified
EXCEPTIONS
error = 1
OTHERS = 2.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. ” IF SY-SUBRC NE 0

Leave a Reply

Your email address will not be published. Required fields are marked *