Application Development 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: 

alv column width larger

Former Member
0 Kudos

Hi guys,

I have creted an ALV report but the list is showing columns that are very small (i understand that it depends on the size of field i.e. in data element, I even changed the data element size also but still no use) and always I have to drag the column in the report to make it bigger. Is there any way that I can make the column bigger initially.

Please advise.

Regards,

FS

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

While building the fieldcatalog, for particular field you can use ls_fieldcat-outputlen =somenumber. It will display according to it.

Thanks,

Sriram Ponna.

6 REPLIES 6

Former Member
0 Kudos

Hi,

While building the fieldcatalog, for particular field you can use ls_fieldcat-outputlen =somenumber. It will display according to it.

Thanks,

Sriram Ponna.

former_member386202
Active Contributor
0 Kudos

Hi,

Do like this

wa_layout-colwidth_optimize = 'X'.

Regards,

Prashant

Former Member
0 Kudos

Hi, Try This.

set

colwidth_optimize = 'X'. for the fields

Award points if useful.

jayakummar
Active Participant
0 Kudos

hai,

use outputlen field in fieldcat .

this is the fieldcat field to give a lenth of the field to display...

plzz reward points if useful

regards,

jai.m

Former Member
0 Kudos

hi

good

fieldcatalog-outputlen = x.

In x position you can enter the length you want, it will work fine.

thanks

mrutyun^

Former Member
0 Kudos

Thanks. works fine.