Besides the standard format for print output (OTF), SAP Smart Forms offers the following output formats:
XSF (XML for Smart Forms), see Output in XSF Format
HTML (Hypertext Markup Language, see Output in HTML Format
XDF (XML Data for Forms), see Output in XDF Format.
The parameters below refer to these output formats. It is not possible to generate several different output formats in one call of the generated function module.
Back to: Output Options
Options for XSF Output
Parameter Name |
Component Type Data Type(Length) |
Meaning |
XSFCMODE |
SSFXSFCMOD CHAR(1) |
Use this parameter to determine which settings you want to evaluate for XSF:
|
XSF |
SSFXSF CHAR(1) |
If set and if XSFCMODE = 'X' (see above), the generated output is XSF, otherwise it is OTF, or XDF. You cannot have more than one output format at the same time. For an output in HTML format, XSF output must have been activated. |
XSFOUTMODE |
SSFXSFOMOD CHAR(1) |
Use this parameter to specify the output mode:
|
XSFOUTDEV |
RSPOPNAME CHAR(4) |
Prerequisite: XSFOUTMODE = 'S'. Determines the output device in the spool (usually a printer name of type XSF). If TDDEST is filled as well, the system ignores XSFOUTDEV. |
Output in HTML Format
Output in HTML format enables you to develop Web forms for Internet applications. The following parameters only have an effect if XSF output was activated before (see below).
Parameter Name |
Component Type Data Type(Length) |
Meaning |
XSFFORMAT |
SSFXSFFRMT |
CHAR(1) Prerequisite: XSFOUTMODE = 'A'. If set, SAP Smart Forms uses an XSLT program to create CSS and HTML output, in addition to XSF. The CSS style sheet is embedded in the HTML output. See: Output in HTML Format and XML/HTML Output Structure. |
XSFACTION |
SSFACTION CHAR(255) |
Prerequisite: XSFFORMAT = 'X'. Determines the URL to which you want to pass the values of the HTML form. See: Evaluating Form Input |
Options for XDF Output
The XDF document contains all data that you pass at the interface of the Smart Form.
Parameter Name |
Component Type Data Type(Length) |
Meaning |
XDFCMODE |
SSFXDFCMOD CHAR(1) |
Use this parameter to determine which settings you want to evaluate for XDF:
|
XDF |
SSFXDF |
CHAR(1) If set and if XDFCMODE = 'X' (see above), the output is XDF, otherwise it is OTF or XSF. You cannot have more than one output format at the same time. |
XDFOUTMODE |
SSFXDFOMOD CHAR(1) |
Use this parameter to specify the output mode:
|
XDFOUTDEV |
RSPOPNAME CHAR(4) |
If you have set XDFOUTMODE to 'S', you can use this parameter to specify an output device for the spool output (usually a printer name of type XSF). If TDDEST is filled as well, XDFOUTDEV is ignored. |