on 01-10-2011 1:13 PM
Hi all,
I have two ALV in two different group container one below the other, I want the width of both ALV to be the same independent
of the number of columns in it. I tried by setting the width using if_salv_wd_table_settings~set_width( ) for both the ALV and
have passed the same value for both, but it is not getting reflected. I also tried with if_salv_wd_table_settings~fixed_table_layout( ) but that also didn't work. Is there any way to set both alv of same width.
in WDA the size of output displayed for ALV...doesnt depend on container size....it depends on the size of the node u hav alloted to it.....
so if there is a node of 10 attributes....its size is obviously more then a node whose size is 6 columns...
if u want to play wit the size....shift to table display....
in table display u can change the width right from the property which u c int he layout area.....
TABLE would b a better option for u
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>
> Hi all,
> I have two ALV in two different group container one below the other, I want the width of both ALV to be the same independent
> of the number of columns in it. I tried by setting the width using if_salv_wd_table_settings~set_width( ) for both the ALV and
> have passed the same value for both, but it is not getting reflected. I also tried with if_salv_wd_table_settings~fixed_table_layout( ) but that also didn't work. Is there any way to set both alv of same width.
Hi,
are those group container has the same width as well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mohsin ,
Just try with :-
DATA LR_TABLE_SETTING TYPE REF TO IF_SALV_WD_TABLE_SETTINGS.
LR_TABLE_SETTING->SET_WIDTH (' Set requiered WIDTH ' ).
LR_TABLE_SETTING->SET_FIXED_TABLE_LAYOUT( ABAP_TRUE ).
Check wheather it works.
Thanks & Regards,
Monishankar C
Edited by: MonishankarC on Jan 10, 2011 3:01 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
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.