Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Numer of rows of a SALV

Hello

I use in a webdynpro-application a SALV.

I know that I can configure the number of rows in the WDDOINIT-method.

DATA:
        lr_cmp_usage     TYPE REF TO if_wd_component_usage,
        lr_if_controller TYPE REF TO iwci_salv_wd_table,
        lr_cmdl          TYPE REF TO cl_salv_wd_config_table,
        lr_col           TYPE REF TO cl_salv_wd_column.

  lr_cmp_usage = wd_this->wd_cpuse_usage_alv( ).
  IF lr_cmp_usage->has_active_component( ) IS INITIAL.
    lr_cmp_usage->create_component( ).
  ENDIF.

  lr_if_controller = wd_this->wd_cpifc_usage_alv( ).
  lr_cmdl = lr_if_controller->get_model( ).

  lr_cmdl->if_salv_wd_table_settings~set_visible_row_count( '20' ).

I had configured the number of rows(20) before a long time.

Now I had the requirement to change the number of rows to 25.

If I change the number of rows from 20 to 25 and start again my webdynpro-application i get 20 rows.

What the problem?

Why doesn't it work correct?

Former Member
Not what you were looking for? View more on this topic or Ask a question