Application Development and Automation 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: 
Read only

abap help - for refreshing result screen.

Former Member
0 Kudos
334

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
Read only

Former Member
0 Kudos
275
4 REPLIES 4
Read only

venkateswaran_k
Active Contributor
0 Kudos
275

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

Read only

Former Member
0 Kudos
276
Read only

rosenberg_eitan
Active Contributor
0 Kudos
275

Hi,

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

Contain my solution .

Also look at program SAP_TIMER_DEMO

Regards.

Read only

Former Member