cancel
Showing results for 
Search instead for 
Did you mean: 

ALV Scrolls to last row

Former Member
0 Kudos

Hello everybody,

I have a problem with my WebDynpro ALV. When I am using the calculation functions the ALV scrolls down to the totals line. When I set "Display Calculations at Start of Table" it scrolls to the first row in the Table (which is in fact the behaviour I want to achieve).

Is it possible to convince my ALV to start at the first row and displaying the totals at the bottom of the Table? I have searched in the cl_salv_wd_config_table, but I did not find anything what soved my problem.

Anyone any ideas?

Thanks

Daniel

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Are you using the standard ALV total functioanlity or custom caluculation.

Can you be more clear in your requriement.

Check the method cl_salv_wd_config_table -

IF_SALV_WD_TABLE_SETTINGS~SET_FIRST_VISIBLE_ROW to set the first visible row.

Regards,

Lekha.

Former Member
0 Kudos

Hi Lekha,

I am using the standard ALV method.

In fact the SET_FIRST_VISIBLE_ROW is the solution. I allready tried it, but only at ALV initialization time. So when I fill my Data Structure the ALV recalculates the totals and then jumps to the last resultline. When I call the SET_FIRST_VISIBLE_ROW method afterwards everything is fine.

thank you

Daniel

Answers (0)