I am facing an issue in removing the empty lines in ALV. I have a dynamic ALV created.
Even if i bind just 7 rows, it displays additional empty rows. Some of the columns in the ALV are of type DEC. I am not sure if this is the reason why it displays the empty rows. I have replaced the zeros of these columns by space using format properties.
I provided the below set of coding to remove empty rows. But these rows still appear.
DATA: lo_table_settings TYPE REF TO if_salv_wd_table_settings.
lo_table_settings ?= wd_this->go_alv_model.
lo_table_settings->set_display_empty_rows( abap_false ).
Can you suggest me how i could delete the empty rows or maybe disable entire rows?