on 04-29-2008 5:52 AM
Hi,
I am using the alv component usage and mapping the data . in the interface controller my question is is there any way tht i can reduce the number of rows visibile in the table ..since we are getting the data from the coponent usage i am not finding any way to reduce the no of rows in the table plz help
Thanks in advance
Regards,
Sana
Hi Sultana,
You can use the method SET_VISIBLE_ROW_COUNT of Interface IF_SALV_WD_TABLE_SETTINGS.
First instanciate the ALV.
Please refer the following code.
l_Value->IF_SALV_WD_TABLE_SETTINGS~SET_VISIBLE_ROW_COUNT( '5' ).
Thanks.
Edited by: Viji on Apr 29, 2008 7:08 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sana,
Once you have instantiated the used component, use the interface method GET_MODEL() of the interface controller of SALV_WD_TABLE component to configure the ALV according to your needs.
If the component use is ALV,
DATA: l_ref_interfacecontroller type ref to iwci_salv_wd_table.
l_ref_interfacecontroller = wd_this->wd_cpifc_alv().
DATA: l_value type ref to cl_salv_wd_config_table.
l_value = l_ref_interfacecontroller->get_model().
l_value->if_salv_wd_table_settings~set_visible_row_count( '5' ).
Regards,
Chitrali
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
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.