on 06-20-2008 4:42 PM
Dear Experts,
How to set the number of records in the ALV output as 10..i.e .. When user executes WD application the output
of the ALV output table should contains only 10 records in every page.
Thanks in advance.
Hi Venkat
Use the method SET_VISIBLE_ROW_COUNT of interface IF_SALV_WD_TABLE_SETTINGS.
the following code may help you.
DATA: l_ref_INTERFACECONTROLLER TYPE REF TO IWCI_SALV_WD_TABLE .
DATA : lr_table_settings TYPE REF TO if_salv_wd_table_settings.
l_ref_cmp_usage = wd_This->wd_CpUse_Appr( ).
if l_ref_cmp_usage->has_active_component( ) is initial.
l_ref_cmp_usage->create_component( ).
endif.
l_ref_INTERFACECONTROLLER = wd_This->wd_CpIfc_Appr( ).
data:
l_VALUE type ref to Cl_Salv_Wd_Config_Table.
l_VALUE = l_ref_INTERFACECONTROLLER->Get_Model(
).
lr_table_settings = l_value.
lr_table_settings->set_visible_row_count( 10).
Regards
Naresh
Edited by: Naresh Kumar Malik on Jun 20, 2008 11:46 AM
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.