cancel
Showing results for 
Search instead for 
Did you mean: 

Show all rows in ALV

Former Member
0 Kudos

Hi,

i use an ALV and want to show all exsiting rows. Until now i can only see the first 10 rows. How can i do that?

regards,

Sharam

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

hi,

can u get all rows using a scrollbar ??

if so, i think you have got this in your code :

settings->if_salv_wd_table_settings~set_scrollable_col_count(

'10' ).

juste delete it.

If not, can you please clarify your problem.

Mayaa

Former Member
0 Kudos

What do u mean by u can c only the first 10 rows? Only 10 rows at a time or just 10 rows with no scroll option?

If its the former case, then check the ALV settings. If its the latter, check the number of rows in ur transparent table or ur ABAP query

Former Member
0 Kudos

Sharam, just an addition to Naresh solution: be careful when setting the number of visible rows within tables or ALV, as it can increase considerably the time needed for the page to load.

Regards,

Andre

Former Member
0 Kudos

Try This

lr_table_settings ?= l_value

data:

lr_header type ref to cl_salv_wd_header.

lr_header = lr_table_settings->get_header( ).

lr_table_settings->set_visible_row_count( 2 ).

You can pass the no of visible rows you want in this method set_visible_row_count. in this code its 2.

Regards

Naresh