on 2012 May 10 10:51 PM
Hi all,
How to expand ALV list vertically so that more records are displayed?
Thanks,
Kiran
Hi,
Try this to set height to 20 rows.
DATA lo_interfacecontroller TYPE REF TO iwci_salv_wd_table .
lo_interfacecontroller = wd_this->wd_cpifc_alv( ).
DATA lv_value TYPE REF TO cl_salv_wd_config_table.
lv_value = lo_interfacecontroller->get_model(
).
CALL METHOD lv_value->if_salv_wd_table_settings~set_visible_row_count
EXPORTING
value = 20
.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
DATA lo_cmp_usage TYPE REF TO if_wd_component_usage.
lo_cmp_usage = wd_this->wd_cpuse_alv( ).
IF lo_cmp_usage->has_active_component( ) IS INITIAL.
lo_cmp_usage->create_component( ).
ENDIF.
DATA lo_interfacecontroller TYPE REF TO iwci_salv_wd_table .
lo_interfacecontroller = wd_this->wd_cpifc_alv( ).
DATA l_value TYPE REF TO cl_salv_wd_config_table.
l_value = lo_interfacecontroller->get_model(
).
* Set your row count here
l_value->if_salv_wd_table_settings~set_visible_row_count( '50' ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
68 | |
9 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.