2009 Mar 10 11:05 AM
Hi friends,
I have created an ALV output with 'REUSE_ALV_GRID_DISPLAY' FM and not by OO ALV. In my output I am not able to see full column heading and data and all. How can we optimize the ALV cell.
Thanks,
Venkat.
2009 Mar 10 11:08 AM
fieldcat-seltext_l you can give and you will get the output fully
2009 Mar 10 11:07 AM
hi,
You need to pass the value to the outputlen parameter in fieldcalatlog for every field.
or
pass 'X' to colwidth_optimize in layout
2009 Mar 10 11:07 AM
Hi
gw_layout-colwidth_optimize = gc_x.
Pass this in is_layout.
Pushpraj
2009 Mar 10 11:08 AM
fieldcat-seltext_l you can give and you will get the output fully
2009 Mar 10 11:08 AM
Did you try with layout option colwidth_optimize, if not try with that. and also post your field catalog population code.
2009 Mar 10 11:09 AM
Hi,
In layout structure pass the below parameter
columnwidth_optimize = 'X'(it will display full length)
Thanks
Ramakrishna Pathi
2009 Mar 10 11:09 AM
2009 Mar 10 11:10 AM
Hello,
Did you pass the Column Width Optimize param to the ALV Layout ?
Or pass the OUTPUTLEN parameter to the fieldcatalog for the fields which are causing problem as suggested by Avinash.
BR,
Suhas
2009 Mar 10 11:33 AM
1) in the data section declare
DATA:IT_layout TYPE slis_layout_alv.
then keep a subroutine like the following one in your report:
PERFORM build_layout CHANGING IT_layout.
FORM build_layout CHANGING C_it_layout TYPE slis_layout_alv.
C_it_layout-zebra = 'X'.
C_it_layout-colwidth_optimize = 'X'.
ENDFORM. " build_layout
hope it solve your Problem.
Thanks.