Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How do I refresh a ALV OM?

Former Member
0 Kudos

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( ).

-


1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hello ,

make use of Method REFRESH before executing User Command.

regards

Prabhu

3 REPLIES 3

Former Member
0 Kudos

Hello ,

make use of Method REFRESH before executing User Command.

regards

Prabhu

uwe_schieferstein
Active Contributor
0 Kudos

Hello

You may have a look at the sample report in thread

(unfortunately the formatting has been lost).

Regards

Uwe

Former Member
0 Kudos

Thank you guys