When starting a background report, someone may forget to clear the "Print immediately" checkbox on the "Background Print Parameters" screen. This simple code, placed before the first WRITE statement, will save listing in spool and heaps of paper.
if not sy-batch is initial.
new-page print on immediately ''
keep in spool 'X'.
else.
new-page.
endif.
Requires Free Membership to View
When you register, you will start receiving targeted emails from my award-winning team of editorial writers. Our goal is to keep you informed on the hottest topics and biggest challenges faced by SAP professionals today.
Hannah Smalltree, Editorial DirectorThis was first published in August 2002