on 02-21-2010 9:04 PM
Hi All - I need to control the ALV size in the screen, I have an ALV with 15 columns and I want to avoid the HORIZONTAL Scrolling so I can see all my DATA at once.
I try the method SET_WIDTH but maybe I'm doing something wrong.
Is very helpful if code is provided.
thanks!
Jason PV
Hello,
To fix the table. Use fixed TAble layout,
Then you can fix the width of each column also
Best regards,
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
data l_salv_wd_table type ref to iwci_salv_wd_table.
l_salv_wd_table = wd_this->wd_cpifc_alv( ).
data l_table type ref to cl_salv_wd_config_table.
l_table = l_salv_wd_table->get_model( ).
l_table->if_salv_wd_table_settings~set_width( '100%' ).
l_table->if_salv_wd_table_settings~set_scrollable_col_count( 8 ).
l_table->if_salv_wd_table_settings~set_fixed_table_layout( abap_true ).
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.