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: 

automatically scroll down alv report every 10 seconds

0 Kudos

Hi All . My requirement is such that i need to automatically scroll down alv report every 10 seconds and set timer to fetch data every 2 mins minutes . Used Cl_gui_timer to fetch data but is it possible to automatically scroll down without giving any input .

8 REPLIES 8

Sandra_Rossi
Active Contributor
0 Kudos

Do you use alv list, or salv, or alv OM, or WDA alv... ? Need a precise answer please.

0 Kudos

me->get_data( ) .

I. CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR' IMPORTING e_grid = ob_grid.

CALL METHOD ob_grid->check_changed_data .

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC

' EXPORTING i_structure_name = 'ZGS_SEWMAT' TABLES t_outtab = me->gt_final.

me->ob_timer->run( ) .

0 Kudos

ALV OM because i find using the gui_timer easy , have used REUSE_ALV_GRID_DISPLAY_LVC for now i can change it based on whichever is feasible ..

Jelena
Active Contributor
0 Kudos

Why on Earth do you need this? I get the automatic refresh but scrolling? This must be one of the weirdest questions posted on SCN...

raghug
Active Contributor

Guessing the data keeps going up and the user's want to see the newest data without scrolling themselves... maybe a status board?Reverse the sort and put the new data on top 🙂

0 Kudos

Client wants live data on a big screen 🙂

0 Kudos

Actually the list will not cross 70 items but need to keep updating entries within those 70 items

Jelena
Active Contributor
0 Kudos

Why 70 items? This is getting curioser and curioser...

Based on the comments, it seems you're trying to implement some kind of live data feed similar to, say, a news agency or a stock exchange. ALV is clearly not the right tool for that. Sorry but this seems like you need a completely different design here.