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

Write statement length

Former Member
0 Likes
2,875

Hi All,

I am trying to print some values through write statement. The values beyond column 140(approx) are not visible.

Till how many columns we can write?

Is there any way to extend it, say I want to write in a row till 300 columns. Is this possible, if yes how?

Regards,

Vijay

7 REPLIES 7
Read only

VXLozano
Active Contributor
0 Likes
1,701

Check the REPORT statement help. You will find some additions/variants, one of them is LINE-SIZE. You define your output wide through it.

I remember to have read something preventing the use of wides larger than 132 characters, but I used some bigger ones in the past.

Maybe you must re-plan your program and use some ALV grid/list...

Read only

Former Member
0 Likes
1,701

Hi,

Using LINE-SIZE I am able to write in simple program.

But in my case I am using Block List ALV. Inside block ALV I am displaying some part using classical report. In classical report part I need to display till say 300 columns.

Even after using LINE-SIZE it's not showing columns beyond 150.

Please suggest what could be reason.

Regards,

Vijay

Read only

VXLozano
Active Contributor
0 Likes
1,701

One of the function REUSE_ALV_BLOCK_LIST_DISPLAY's parameters, IS_PRINT has the field "no_change_print_params". Check it.

Check also the value of I_SCREEN_END_COLUMN in your call.

Read only

Former Member
0 Likes
1,701

Hi,

ADD line-size to your report statement.,

report ztest line-size 320.

Thanks,CSR

Read only

former_member491305
Active Contributor
0 Likes
1,701

Hi ,

You can extend upto 1,023 character.For this you have to change line-size in Report statement .

REPORT rep LINE-SIZE 255.

Read only

Former Member
0 Likes
1,701

Please try this

change

Report <reportname>.

to

Report <reportname> LINE-SIZE 300.

Reward if useful

Read only

Former Member
0 Likes
1,701

report ztest line-size 256

line-count 256 no standard heading.

try this.