Control Structure

Import parameter of the generated function module: CONTROL_PARAMETERS

Component type: SSFCTRLOP

Back to Overview .

Parameter Name

Component Type Data Type(Length)

Description

NO_OPEN

TDSFFLAG

CHAR(1)

You use these parameters to include several forms into one print request . When calling the generated functions modules, set the parameters as follows:

  • 1 st call: NO_OPEN = SPACE.

    NO_CLOSE = 'X'.

  • n th call: NO_OPEN = 'X'. NO_CLOSE = 'X'.

  • last call: NO_OPEN = 'X'. NO_CLOSE = SPACE

    .

NO_CLOSE

TDSFFLAG

CHAR(1)

DEVICE

TDDEVICE

CHAR(8)

Output device. Possible values: ' PRINTER ', ' TELEFAX ', ' MAIL '. If you do not enter a vlaue in this field, SAP Smart Forms sends the output to the printer (' PRINTER ' is default).

NO_DIALOG

TDSFFLAG

CHAR(1)

Suppresses all output dialog windows.

PREVIEW

TDPREVIEW

CHAR(1)

If you specified NO_DIALOG='X' , you can set this parameter to at least branch to the print preview.

GETOTF

TDGETOTF

CHAR(1)

If this parameter is set, SAP Smart Forms only returns the OTF table without printing, displaying, or faxing the form. Therefore, you should use the NO_DIALOG parameter to suppress the spool dialog. The application program can use the field JOB_OUTPUT_INFO-OTFDATA (export parameter) to access the OTF table.

LANGU

TDSPRAS

LANG(1)

Laguage in which to print the form.

REPLANGU1

TDSPRAS

LANG(1)

If the form does not exist in the language specified in LANGU , SAP Smart Forms evaluates these fields in the given sequence for the second choice.

REPLANGU2

TDSPRAS

LANG(1)

REPLANGU3

TDSPRAS

LANG(1)

STARTPAGE

TDOBJNAME

CHAR(30)

Usually, the first draft page of the Smart Form is the start page, with which the processing of the form logic starts. You can use this parameter to overrule this standard setting.