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

report

Former Member
0 Likes
568

What is the maximum value for Line-Size in the Report?

6 REPLIES 6
Read only

Former Member
0 Likes
546

Hi

Its 255.

Reward All helpfull Answers........

Read only

Former Member
0 Likes
546

<b>LINE-SIZE col</b>

Effect

Creates a report with col columns per line.

If the LINE-SIZE specification is missing, the line length corresponds to the current screen width. The system field SY-LINSZ contains the current line size for generating lists. The maximum width of a list is 1023 characters. You should keep lists to the minimum possible size to improve useability and performance (recommendation: LINE-SIZE < 132). For very wide lists (LINE-SIZE > 255), you should consult the notes for using LINE-SIZE

greater than 255.

Notes

The specified LINE-SIZE must not appear in quotation marks.

If the you want the report list (i.e. the output) to be printable, do not define a LINE-SIZE with a value greater than 132 because most printers cannot handle wider lists. You cannot print lists wider than 255 characters at all using the standard print functions. To print the contents of the lists, you need to write a special print routine that arranges the data in shorter lines (for example, using the PRINT ON addition in the NEW-PAGE statement.

At the beginning of a new list level, you can set a fixed line width for the level using the ... LINE SIZE addition to the NEW-PAGE statement.

Example

REPORT ZREPNAME LINE-SIZE 132.

Read only

Former Member
0 Likes
546

Hi,

its 1023.

rgds,

bharat.

Read only

Former Member
0 Likes
546

Hi

Sorry..I have done a mistake..its 1023

Read only

Former Member
0 Likes
546

hi naga

The maximum line length permitted is 255 characters.

The Line Length corresponds to the current screen width. The system field

SY-LINSZ contains the current line size for generating reports.

REWARD IF USEFUL.....

Read only

Former Member
0 Likes
546

hi mrudula,

Hi,

maximum line-size is 1023.

reward some points if helpful.

rgds,

suresh babu aluri.