Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Column Width optimize in ALV_LIST

Former Member
0 Likes
1,647

Hi,

I am working on REUSE_ALV_LIST_DISPLAY.

I have a requirement as to optimize some columns width and not to optimize

some columns width in the output.

I know the way of setting the

layout-colwidth_optimize = 'X'.

But it will optimize the whole columns in the layout.

Is there any way that i can set the column optimize property at

field level in field catalog or to overide the optimize property for

some fields.

Thanks.

2 REPLIES 2
Read only

Sandeep_Panghal
Product and Topic Expert
Product and Topic Expert
0 Likes
757

The layout settings will be apllied to all the columns in the list.

Yu may try setting the OUTLEN for the fields you want to optimise while createing the fieldcatalog for these fields and emphaise = 'X' these fields to make the look better.

Read only

Former Member
0 Likes
757

Hi,

Pass outputlen in the field catalog with the output length value.