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 report output more than 255

Former Member
0 Kudos

Hi All,

I have write alv list report

when i declare like

WRITE: / SY-ULINE(265).

it gave me error " Length specification "(265") exceeds fields length ("255").

i also write in report heading

"REPORT ZSIMPLE line-SIZE 500."

Where is the problem.

Thanks In Advance.

Regards,

Sam

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

You cannot provide line size as more than 255

If you want to show output more than 255 characters, you can use horizontal scrollbar

Use SCROLL statement

9 REPLIES 9

Former Member
0 Kudos

Hi

You cannot provide line size as more than 255

If you want to show output more than 255 characters, you can use horizontal scrollbar

Use SCROLL statement

0 Kudos

Thanks Radhika,

can you explain me how to use scroll.

Thanks

0 Kudos

The [SCROLL LIST|http://help.sap.com/abapdocu_70/en/ABAPSCROLL.htm] statement is used to force the position of the display of a spool in an ABAP report.

Regards,

Raymond

Former Member
0 Kudos

Hi,

In the first Line itself..

Declare line-size 800 etc.

Regards

Arbind

Former Member
0 Kudos

Hi.

I have used...

Please find the below example....

REPORT yap3 no STANDARD PAGE HEADING line-SIZE 1022.

Regards

Arbind

raymond_giuseppi
Active Contributor
0 Kudos

The field SY-ULINE is defined as 255 characters long (check via SE11 on SYST structure or read [ABAP System Fields |http://help.sap.com/abapdocu_70/en/ABENSYSTEM_FIELDS.htm]), so you cannot use the first 265 characters (that is what SY-ULINE(265) means), try to WRITE: SY-ULINE(255), SY-ULINE(10). (The maximum line size of a report is 1023 - [LINE-SIZE width|http://help.sap.com/abapdocu_70/en/ABAPREPORT_LIST_OPTIONS.htm#!ABAP_ADDITION_2@2@])

Regards,

Raymond

Former Member
0 Kudos

HI Sam,

USe this code...

WRITE:/1 sy-uline(254),

254 sy-uline(18).

this way you can extend the uline

I hope this helps you.

0 Kudos

Hi Vijaya,

But it's write on second line not same line.

Thnaks.

0 Kudos

Since [Note 454462 - ALV print: Printing width over 255 columns|https://service.sap.com/sap/support/notes/454462] you can print ALV list til 1023 character, you may need to force [print parameter|http://help.sap.com/abapdocu_70/en/ABENPRINT_PARAMETERS_OVERVIEW.htm]

Regards,

Raymond