01-27-2010 12:49 PM
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
01-27-2010 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
01-27-2010 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
01-27-2010 1:10 PM
01-27-2010 2:06 PM
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
01-27-2010 12:58 PM
Hi,
In the first Line itself..
Declare line-size 800 etc.
Regards
Arbind
01-27-2010 1:00 PM
Hi.
I have used...
Please find the below example....
REPORT yap3 no STANDARD PAGE HEADING line-SIZE 1022.
Regards
Arbind
01-27-2010 1: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
01-27-2010 2: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.
01-28-2010 5:23 AM
01-28-2010 1:44 PM
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