on 11-30-2011 3:38 PM
Hi ,
I have designed an alv webdynpro table with some records.
But in out put i want to dispaly max 10 rows default.
can anybody tell me the code or the solution?
Thanks
Rakshar.
thank you....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi rakesh .
All thye ALV table settings are handeled by the if_salv_wd_table_settings interface you can get the reference of it and you can do setting as per your requirement
*------- Get Model--------
DATA lo_value TYPE REF TO cl_salv_wd_config_table.
lo_value = l_ref_interfacecontroller->get_model( ).
*---------- ALV table settings.
DATA: l_table_settings TYPE REF TO if_salv_wd_table_settings .
l_table_settings ?= lo_value.
*--------Setting row count
l_table_settings ->if_salv_wd_table_settings~set_visible_row_count( 10 ).
Regards
Chinnaiya P
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use this
Lo_value->if_salv_wd_table_settingssetvisible_row_count( 10 ).
Regards
Srinivas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Use the method IF_SALV_WD_TABLE_SETTINGS~SET_VISIBLE_ROW_COUNT of CL_SALV_WD_CONFIG_TABLE to set the number of rows visible.
Hope this helps!
Best Regards,
Srilatha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
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.