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

Empty ALV Field

Former Member
0 Likes
395

Hey,

I've a field in my ALV that is empty as it will be used to physically write on the print out. I cant seem to get it to output to 50 characters long even by using Outputlen = 50 in fieldcat.(only outputs length of header txt e.g. 'Free text')

Only way go it working was having the heading 'Free text......................... ' So the last fullstops forced it to output the whole title length.

Any ideas?

Hey,

I've a field in my ALV that is empty as it will be used to physically write on the print out. I cant seem to get it to output to 50 characters long even by using Outputlen = 50 in fieldcat.(only outputs length of header txt e.g. 'Free text')

Only way go it working was having the heading 'Free text......................... ' So the last fullstops forced it to output the whole title length.

Any ideas?

1 REPLY 1
Read only

Former Member
0 Likes
346

Hi,

Use the following parameter in LAYOUT.

COLWIDTH_OPTIMIZE by using this while developing the layout,you can meet your requirement.

Reward,if useful.

Thanks,

Chandu