INCLUDE
ARTICLE
Missing Print Parameters in NEW-PAGE
You can only use the NEW-PAGE PRINT ON statement to declare
print parameters in ABAP Objects , provided there is no user dialog
needed.
In ABAP Objects, the following statement causes an error message:
NEW-PAGE PRINT ON NO DIALOG.
Correct syntax:
DATA pripar TYPE pri_params,
arcpar TYPE arc_params.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
IMPORTING out_parameters = pripar
out_archive_parameters = arcpar
...
NEW-PAGE PRINT ON NO DIALOG
PARAMETERS pripar
ARCHIVE PARAMETERS arcpar.
Cause:
Printing without a user dialog and without consistent print parameters
leads to errors in the printout.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved