ABAP Keyword Documentation →  ABAP − Reference →  Calling and leaving program units →  Calling ABAP Programs →  Calling Executable Programs →  SUBMIT →  SUBMIT - list_options → 

SUBMIT - spool_options

Short Reference

Syntax

... SPOOL PARAMETERS pri_params
    [ARCHIVE PARAMETERS arc_params]
    WITHOUT SPOOL DYNPRO... .


Effect

These additions are used to supply the spool request with spool and archiving parameters. The latter are necessary if you want to archive the spool list using ArchiveLink.

The addition SPOOL PARAMETERS passes the spool parameters in a structure pri_params of data type PRI_PARAMS from ABAP Dictionary. If archiving is specified in pri_params, archiving parameters must be passed using the addition ARCHIVE PARAMETERS in a structure arc_params of data type ARC_PARAMS from ABAP Dictionary.

Structures of data types PRI_PARAMS and ARC_PARAMS must be filled by the function module GET_PRINT_PARAMETERS. When calling the function module, you can set individual or all spool parameters in the program and/or display a spool dialog window. The function module creates a set of valid spool and archiving parameters for use as pri_params and arc_params and adds these to its output parameters.

If the structures pri_params or arc_params are initial, the spool parameters or archiving parameters created by a call of the function modules GET_PRINT_PARAMETERS with initial input values are used.

The addition WITHOUT SPOOL DYNPRO suppresses the spool dialog box that is displayed as standard when you use the addition TO SAP-SPOOL.

Notes