Entering content frame

Function documentation Controlling the Spool Dialog Locate the document in its SAP Library structure

Use

In the application program, you want to adjust the spool dialog to your requirements when printing a PDF-based form, or hide the spool dialog completely.

Note

If a form is migrated from a Smart Form, or if it is compatible with Smart Forms, the spool dialog is controlled by different parameters.

For more information, see the following:

Structure linkControlling the Spool Dialog in the Smart Forms documentation

Prerequisites

The DEVICE parameter of the structure SFPOUTPUTPARAMS must have the value ’PRINTER’.

Features

The following Changing parameters (set with the function module FP_JOB_OPEN) are relevant for controlling the spool dialog:

Fields from the Structure SFPOUTPUT (Included in SFPOUTPUTPARAMS) for Controlling the Spool Dialog

Field

Component Type

Data Type (Length)

Meaning (when set)

NODIALOG

FPNODIALOG

CHAR(1)

Suppress user dialog

Note: is located directly in SFPOUTPUTPARAMS

TITLE

FPTITLE

CHAR(50)

Title of the dialog box

NOPREVIEW

FPNOPREVIEW

CHAR(1)

Suppress print preview

NOPRINT

FPNOPRINT

CHAR(1)

No print from print preview

NOARCHIVE

FPNOARCHIVE

CHAR(1)

No archiving from print preview

IMMEXIT

FPIMMEXIT

CHAR(1)

Exit preview immediately after printing

NOPRIBUTT

FPNOPRIBUTT

CHAR(1)

No pushbuttons

Activities

In the application program, call the function module FP_JOB_OPEN and specify the required parameters. To set a parameter with the data type CHAR(1), specify the value ’X’ (for example, NODIALOG = ’X’, to suppress the user dialog).

 

See also:

Example: Calling Forms in an Application Program

 

Leaving content frame