
Control Structure
Import parameter of the generated function module:
CONTROL_PARAMETERSParameter |
Component Type |
Description |
NO_OPEN |
TDSFFLAG |
You use these parameters to include several forms into one print request. When calling the generated functions modules, set the parameters as follows:
NO_CLOSE = 'X'. NO_CLOSE = 'X'. NO_CLOSE = SPACE . |
NO_CLOSE |
TDSFFLAG | |
DEVICE |
TDDEVICE |
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 |
Suppresses all output dialog windows.
SAP Smart Forms requires an output device, which you must specify either statically in the form or in the user profile or in the |
PREVIEW |
TDPREVIEW |
If you specified NO_DIALOG='X' , you can set this parameter to at least branch to the print preview. |
GETOTF |
TDGETOTF |
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.
If you set the |
LANGU |
TDSPRAS |
Laguage in which to print the form. |
REPLANGU1 |
TDSPRAS |
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 | |
REPLANGU3 |
TDSPRAS | |
STARTPAGE |
TDOBJNAME |
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. |