Use of LINE-COUNT in Lists
When specifying a fixed number of lines (LINE-COUNT) for
each list page in the REPORT
or NEW-PAGE statement, you should be aware of the following:
-
In general terms, you should use the default value (0 = no fixed number of lines per list page) for
the LINE-COUNT specification because this is the only way you can achieve formatting appropriate for the screen without any arbitrary page break.
-
When printing, the user should be able to define the page size to suit the printer. Therefore, the program should not specify the page size, but rather allow for meaningful results with any page size.
-
Defining a fixed number of lines makes sense only with lists with a fixed page layout, but you should always consider whether it would not be better to use a SAPscript layout set.
-
If you use the default setting (no ...LINE-COUNT), the
system assumes an internal page length of 60000 lines. If a list has more than 60000 lines, there is an automatic page break.