Skip to content

ABAP Keyword Documentation →  ABAP - Reference →  Obsolete Language Elements →  Obsolete User Dialogs →  Obsolete Statements in List Processing →  Obsolete Printing 

Obsolete Print Parameters

When using the statements

to create print lists, you must ensure that either the print parameters window is displayed or that a consistent set of print parameters is passed. The additions

  • [SPOOL] PARAMETERS
  • ARCHIVE PARAMETERS

of the statements above are used to pass the spool parameters. They use the function module GET_PRINT_PARAMETERS to pass filled structures to the SAP spool system The statements NEW-PAGE PRINT ON NO DIALOG and SUBMIT ... TO SAP-SPOOL WITHOUT SPOOL DYNPRO used without passing spool parameters at the same time produce a syntax error in classes and a syntax warning outside of classes.

As well as these additions, the obsolete additions in the table below also exist. Each of these additions passes only one print parameter, and cannot therefore ensure the consistency and completeness of the passed parameters. These obsolete additions were replaced by the additions [SPOOL] PARAMETERS and ARCHIVE PARAMETERS. The second column of the table provides, for each obsolete addition, the corresponding input parameter of the function module GET_PRINT_PARAMETERS. The required value should be passed to this parameter instead of using the addition. For the meaning of the print parameters, see Print Parameters Overview.

Obsolete Addition Input Parameters
ARCHIVE MODE arcmode ARCHIVE_MODE
COPIES cop COPIES
COVER PAGE flag (only for SUBMIT) COVER_PAGE
COVER TEXT text LIST_TEXT
DESTINATION dest DESTINATION
DATASET EXPIRATION days EXPIRATION
DEPARTMENT dep DEPARTMENT
IMMEDIATELY flag IMMEDIATELY
KEEP IN SPOOL flag RELEASE
LAYOUT layout LAYOUT
LINE-COUNT line LINE_COUNT
LINE-SIZE col LINE_SIZE
LIST AUTHORITY auth AUTHORITY
LIST DATASET dsn DATA_SET
LIST NAME name LIST_NAME
NEW LIST IDENTIFICATION flag NEW_LIST_ID
RECEIVER user RECEIVER
SAP COVER PAGE mode SAP_COVER_PAGE

You must specify a single-character text field for flag, with a space character activating the parameter and any other character deactivating the parameter. KEEP IN SPOOL has the reverse semantics of the function module's parameter RELEASE. This means that a space character passes an "X" to the function module. In all other cases, the parameters correspond to the possible values for the input parameters of the function module.

Other versions: 7.31 | 7.40 | 7.54