on 10-11-2012 7:40 PM
I found the answer. This issue arises if I use edit_mode_mass and empty_rows=false.
This code worked for me:
*-Do not display empty rows.
lo_model->if_salv_wd_table_settings~set_display_empty_rows( value = abap_false ).
*-On the this view, edit_mode_mass conflicts with empty_rows=false.
lo_model->if_salv_wd_table_settings~set_edit_mode( if_salv_wd_c_table_settings=>edit_mode_standard ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi len,
While binding data to the ALV from the internal table , check is there any row with empty values .
Regards
Arvnd
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Len,
If you do not want to display empty rows, you shall set the value to false instead of true in set_display_empty_rows.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Len,
You can refer standard SAP Component for reference how they did that.
Component : SALV_WD_TEST_TABLE_PROPS
View : TABLE
Method : SET_TABLE_SETTINGS (Line 38)
See how they are doing it you can use the same approach. I hope it helps.
Thanks
Ashish Sharma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.