on 09-04-2011 5:25 PM
Hi Experts,
I am using two ALV view containers in parallel to show the different outputs. I have inlcuded both IN TRANSPARENT container for alignment.
Here heights of ALV tables are varying based volume of data.
( I am getting column size problem if I used lo_value->if_salv_wd_table_settings~set_fixed_table_layout (abap_true). )
Please can you suggest how to fix this issue?
Advance thanks,
Regards,
BBC
hi Achari,
To fix ALV columns ...
l_column = l_table->if_salv_wd_column_settings~get_column( 'SORDERID' ).
l_column->set_fixed_position(
exporting
value = cl_wd_abstr_table_column=>e_fixed_position-left ).
Please check this thread.. thomas answer..
also check this wiki
https://wiki.sdn.sap.com/wiki/display/Snippets/WebDynproABAP-FixingaColumninan+ALV
cheers,
Kris.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks kissnas for your help.
I did the changes for all columns like .
DATA:lt_columns TYPE salv_wd_t_column_ref,
ls_columns TYPE salv_wd_s_column_ref,
lr_column TYPE REF TO cl_salv_wd_column.
CALL METHOD l_value2->if_salv_wd_column_settings~get_columns
RECEIVING
value = lt_columns.
loop at lt_columns into ls_columns.
lr_column = ls_columns-r_column.
case ls_columns-id.
when 'SELECT'.
CALL METHOD l_column->set_fixed_position
EXPORTING
value = cl_wd_abstr_table_column=>e_fixed_position-left.
when 'SIGNAL'.
CALL METHOD l_column->set_fixed_position
EXPORTING
value = cl_wd_abstr_table_column=>e_fixed_position-left.
when 'DOCNUM'.
CALL METHOD l_column->set_fixed_position
EXPORTING
value = cl_wd_abstr_table_column=>e_fixed_position-left.
endcase.
endloop.
Now I am getting problem with columns are resized, because of that I am not able to see some of the captions of columns and some of the values also.
Please can u suggest ? have to increse the length of column or any way is there to fix this issue.
Regards,
BBC
User | Count |
---|---|
95 | |
11 | |
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.