cancel
Showing results for 
Search instead for 
Did you mean: 

Footer in ALV

Former Member
0 Kudos

Hi,

i want to display all table rows in my ALV without a footer and without empty lines. Is that possible?

At the moment i am using

l_value->if_salv_wd_table_settings~set_footer_visible( if_salv_wd_c_table_settings=>footer_visible_false ).

My problem is that now a lot of empty rows or only the rows up to the set_visible_row_count are displayed. Any solution for that?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Marco,

Just write the logic like, Before setting Set_visible_row_count, Find out the number of records and set them in Set_visible_row_count. So that you won't get any empty records and will display all records in an ALV Table.

Warm Regards,

Vijay

Former Member
0 Kudos

Thanks again. Problem solved.

Thought i could set the lines only at WDINIT.

Answers (1)

Answers (1)

Former Member
0 Kudos

An easier way is to put "-1" in set_visible_row_count. This works also in "Set row count" for TableView UIelement in your layout.