on 09-14-2007 9:57 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.