SUBMIT - spool_options

Syntax

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


Extras:

1. ... SPOOL PARAMETERS pri_params

2. ... ARCHIVE PARAMETERS arc_params

3. ... WITHOUT SPOOL DYNPRO

Effect

These additions are used to supply the spool request with print and archiving parameters. The latter are required if the print list is to be archived using ArchiveLink.

Notes

Use of the addition WITHOUT SPOOL DYNPRO without transferring print parameters is no longer allowed in ABAP objects. In other objects, the print parameters are derived from the user master record, as far as possible.

Addition 1

... SPOOL PARAMETERS pri_params

Effect

The addition SPOOL PARAMETERS is used to transfer the print parameters in a pri_params structure that belongs to the data type PRI_PARAMS from the ABAP Dictionary.

Addition 2

... ARCHIVE PARAMETERS arc_params

Effect

If you specify in pri_params that archiving is to take place, archiving parameters with the addition ARCHIVE PARAMETERS must be transferred in a structure arc_params belonging to the data type ARC_PARAMS from the ABAP Dictionary.

Structures belonging to the data types PRI_PARAMS and ARC_PARAMS can only be filled by the function module GET_PRINT_PARAMETERS. When this function module is accessed, some or all of the print parameters can be specified in the program and/or a print dialog box can be displayed. The function module creates a set of valid print and archiving parameters for use as pri_params and arc_params and adds these to its output parameters.

Addition 3

... WITHOUT SPOOL DYNPRO

Effect

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