‎2006 Nov 23 6:31 AM
Hi
Can you please help me in optimizing, i.e when we shrink th columns and say save layout the resized columns width should be as it is...
but in my ALV it is saved as after coming to original length.
please & pplease help me
I am using function modules and tried with outputlen but not working for me...
‎2006 Nov 23 6:35 AM
Hi Alekhya,
There is field colwidth_optimize in the structure IS_LAYOUT.
Set this field value to 'X'. (colwidth_optimize = 'X').
Thanks
Ramakrishna
‎2006 Nov 23 6:37 AM
‎2006 Nov 23 10:09 AM
Anver,
Thanks for quick response, but not getting the desired output..
please help me...
‎2006 Nov 23 10:10 AM
hi,
pls look at this link.
http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_enhanced.htm
it contains the full code.
kinldy compare ur code with that.
it will help u.
rgds
anver
‎2006 Nov 23 10:29 AM
Anver,
Thanks for quick response, but not getting the desired output..
please help me...
‎2006 Nov 23 10:31 AM
‎2006 Nov 23 10:15 AM
wa_layout-colwidth_optimize = 'X'.
and pass the layout to the FM
this should work