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

alv column width larger

Former Member
0 Likes
1,078

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
Read only

Former Member
0 Likes
1,035

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
Read only

Former Member
0 Likes
1,036

Hi,

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

Thanks,

Sriram Ponna.

Read only

former_member386202
Active Contributor
0 Likes
1,035

Hi,

Do like this

wa_layout-colwidth_optimize = 'X'.

Regards,

Prashant

Read only

Former Member
0 Likes
1,035

Hi, Try This.

set

colwidth_optimize = 'X'. for the fields

Award points if useful.

Read only

jayakummar
Active Participant
0 Likes
1,035

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

Read only

Former Member
0 Likes
1,035

hi

good

fieldcatalog-outputlen = x.

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

thanks

mrutyun^

Read only

Former Member
0 Likes
1,035

Thanks. works fine.