on 11-05-2009 6:01 AM
Hi Experts,
My standard ALV display is displaying only 10 rows.
My requirements is to display 20 rows.
Please advise.
Regards,
Chitrasen
Use this :
l_value->if_salv_wd_table_settings~set_visible_row_count( '20 ).
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(
).
l_value->if_salv_wd_table_settings~set_visible_row_count( '20 ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi ,
u can set the row count to any number , here I am setting it to 5 using the method set_visible_row_count
1 Change the visible row count to u20185u2019
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 lo_value TYPE REF TO cl_salv_wd_config_table.
lo_value = lo_interfacecontroller->get_model(
).
lo_value->if_salv_wd_table_settings~set_visible_row_count( '5' ).
u can also go thru this useful links for CONFIGUIRING ALV :
Configuring ALV
I hope it shud solve ur query.
regards,
amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
you can do it other way also...
go to the administrative of the web dynpro Application.
Step: In SE80 ,Double on the name of you Web Dynpro Application .
Step2:Select Web Dynpro Application Menu on the Menu Bar.
Step3:Select Test-> Execute in Administrative Mode from the Menu bar selected.
So you applications opens in adminstartive mode .
click on SETTINGS of the ALV table.
in the DISPLAY tab you can set the no.of visble rows.
give this view some name.
if you want to transport it to others systems Save it with the Transport Request.
since you have done this in administartive mode its same for all the users.
Regards,
Priya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
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.