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

automatically scroll down alv report every 10 seconds

Former Member
0 Likes
2,285

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 .

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

Sandra_Rossi
Active Contributor
0 Likes
1,941

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

Read only

Former Member
0 Likes
1,941

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

Read only

Former Member
0 Likes
1,941

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

Read only

Jelena_Perfiljeva
Active Contributor
0 Likes
1,941

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

Read only

raghug
Active Contributor
1,941

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 🙂

Read only

Former Member
0 Likes
1,941

Client wants live data on a big screen 🙂

Read only

Former Member
0 Likes
1,941

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

Read only

Jelena_Perfiljeva
Active Contributor
0 Likes
1,941

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.