Skip to Content
0
Former Member
Aug 24, 2010 at 09:48 PM

How do I refresh a ALV OM?

39 Views

I am using the code below. After the ALV shows up on the screen, the user can select rows and click on the execute button, at that point the data is changed. My problem is that I need to put the changed data back on the screen. If I kill the program and run it gain the new data will appear on the screen, but I want it to appear right away. Any ideas?

-


CALL METHOD cl_salv_table=>factory

IMPORTING

r_salv_table = gr_table

CHANGING

t_table = int_edids_alv.

CATCH cx_root INTO oref.

gr_events = gr_table->get_event( ).

CREATE OBJECT event_handler.

SET HANDLER event_handler->on_execute FOR gr_events.

gr_table->display( ).

-