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: 

abap help - for refreshing result screen.

Former Member
0 Kudos

Hi SAP Guru,

I'm a beginner in the SAP ABAP world and i have been asked to look into whether the result of a selection screen can be update automatically every 5 minutes  instead of the user manually refreshing the screen via the selection criteria search screen or using a refresh button.

Any advice would be helpful.

Thanks.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
4 REPLIES 4

venkateswaran_k
Active Contributor
0 Kudos

Hi Charles

You have to do following steps:

1.  Add a Icon  (Refresh) in your application tool bar using PF_STATUS

2. Capture the sy-ucomm   (upon user pressing the refresh button )

3. In your code check for the sy-ucomm = Refresh then you re process your internal table that you used for displaying the ALV. 

4. call again  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

Regards,

Venkat

Former Member
0 Kudos

rosenberg_eitan
Active Contributor
0 Kudos

Hi,

http://scn.sap.com/thread/1513206

Contain my solution .

Also look at program SAP_TIMER_DEMO

Regards.

former_member184569
Active Contributor