Skip to content

ABAP Keyword Documentation →  ABAP − Reference →  Obsolete Language Elements →  Obsolete User Dialogs →  Obsolete Statements in List Processing →  Obsolete Spooling 

Obsolete Specification of Spool Parameters

When using the statements

to create spool lists, it must be ensured that either the spool parameters window is displayed or that a consistent set of spool 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 spool 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 spool parameters, see Spool 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

flag expects a single-character text field, where a space character activates the parameter and any other character deactivates the parameter. KEEP IN SPOOL has the reverse semantics of the parameter RELEASE of the function module. 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