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: 

Buffer displayed records for ALV Table

Former Member
0 Kudos

Dear Experts,

when showing large tables (whide structures, many records) I'm facing the issue of reloading times, when a user scrolls down the ALV. I guess this relates to rebuffering the records from the AppServer to the GUI. Is there any way on setting up how many records are loaded initially?

Thanks a lot in advance,

Peter

6 REPLIES 6

ravi_lanjewar
Contributor
0 Kudos

Hi,

It is ALV display standard functionallity.

Try this.

Go to change layout, Then select display tab, It has many check box, Check the display total lines above the entries.

It will display, Total no. of line are in alv display.

0 Kudos

Hi,

acutally I don't get this hint. No I've got my sum line at the top of the grid.

But what I wanted to achieve, is that the data is buffered so there's no reloading time when scrolling down in the grid.

Thanks,

Peter

emanuel_sanchez
Participant
0 Kudos

Hello Peter,

Were you able to resolve this issue? I'm facing the same problem.

Any hints?

Kind regards!!

0 Kudos

Well, I can only guess, but I think that ALV is clever enough to not pass whole table to the front-end at the moment of first display. As soon as the user scrolls, the ALV control makes a call to the back-end and fetches the data to be shown from the internal table. You can verify if it is the case by checking statistical records.

former_member194613
Active Contributor
0 Kudos

what is the actual problem ... you might thing that it is feature not a bug.

The ALV sends only some records to the frontend and reloads others when they are really needed to be displayed.

What would you like to change?

Maybe your problem is only a bad sort! Try to sort in a way that the most interesting records come with the initial load. Or try to select better in way that your result is smaller. These are simple examples, but maybe it can guide you in the direction to a proper solution.

Siegfried

former_member192616
Active Contributor
0 Kudos

Hi Peter,

for questions like this, i think, the underlying reason of the question should be reconsidered. As the others said, ALV works as designed. The question for me is: WHY do you want all records at once on the frontend?

Kind regards,

Hermann