Skip to Content
avatar image
Former Member

ALV report output more than 255

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    avatar image
    Former Member
    Jan 27, 2010 at 12:57 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 27, 2010 at 12:58 PM

    Hi,

    In the first Line itself..

    Declare line-size 800 etc.

    Regards

    Arbind

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 27, 2010 at 01:00 PM

    Hi.

    I have used...

    Please find the below example....

    REPORT yap3 no STANDARD PAGE HEADING line-SIZE 1022.

    Regards

    Arbind

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 27, 2010 at 01:02 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 27, 2010 at 02:23 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded