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: 

How to increase line-size beyond 255

Former Member
0 Kudos

hi all,

In my classical report , columns after line-size 255 was cut and display in another row , but i want it to continue in a single row beyond 255, i tried and given

line-size 400, But it's not giving the required result. Please help and provide the solution for this problem.

thanks in advance,

Regards,

Vivek

12 REPLIES 12

amit_khare
Active Contributor
0 Kudos

Check your report as u can use maximum of 1023 value with line-size.

0 Kudos

Hi Amit,

I tried using line-size upto 1023 , but still no solution , I don't know why is it happening , Please provide some other solution if any.

thanks,

regards,

Vivek

Former Member
0 Kudos

Run it in foreground.

Rob

0 Kudos

hi ,

I am running it in foreground only.

thanks

0 Kudos

Then you should see the full line when you display the output, but not when you print it.

Rob

0 Kudos

hi,

But i am not getting it in my foreground output also, I don't know why ?

thanks

0 Kudos

Hi Vivek,

Count the total number of characters of all your output fieds in your final output internal table and give the same count in your line size.Please let me if you still the issue.

Cheers...

0 Kudos

Try this -

for writing the fields after 255 characters you have to use WRITE AT statement, instead of WRITE, as WRITE will not work for line-size > 255 chars.

Regards,

Amit

<b><REMOVED BY MODERATOR></b>

Message was edited by:

Alvaro Tejada Galindo

0 Kudos

What happens if you run this:

REPORT ztest MESSAGE-ID 00 LINE-SIZE 400.

ULINE.

Rob

0 Kudos

hi ,

code like this gives output upto 255 , and the columns after that comes on next row instead of giving line-size even higher say 1023.

thanks

0 Kudos

For the example I gave, it all printed on one line.

Rob

Former Member
0 Kudos

Hi Vivek,

Are you handling Print parameters? If so, pass the line-size and line-count also.

Reward points.

Thanks and Regards,

Sampath