A report contains PRINT-CONTROL statements. When you
execute the report online, the PRINT-CONTROL statements have no effect.
The PRINT-CONTROL statement only has an effect during printing - e.g.
when starting a report with "Execute and print", in SUBMIT ...
TO SAP-SPOOL, and after the statement NEW-PAGE PRINT ON. When a list
is output to the screen, the statement is ignored.
The "Print" function in the display of an online list is only
suitable for "test" printouts. The list (which was actually formatted
for screen display) is output on a printer in its present form.
Problems in this printout:
- The online list normally consists of one long page. The page must
be divided into separate pages; in the process, the page header
is copied to the start of each printed page. As a result, page
number 1 generally appears at the top of each page. For this
reason, a value for the page number is displayed in the footer
(in long lists).
- The online list is normally as wide as the user window. The
window size is often changed by the user. As a result, each
printout will have slightly different formatting.
- When the print width is less than the page width, lines will
be cut off at the end.
- The online list does not contain any information on print control
from the PRINT-CONTROL statements.
Print with "Execute and print", SUBMIT ... TO SAP-SPOOL, or
NEW-PAGE PRINT ON
Key word: ABAP/4 printing
No comments:
Post a Comment