Options for XML/HTML OutputBesides 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
Parameter Name |
Component Type |
Meaning |
XSFCMODE |
SSFXSFCMOD |
Use this parameter to determine which settings you want to evaluate for XSF:
|
XSF |
SSFXSF |
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 |
Use this parameter to specify the output mode:
|
XSFOUTDEV |
RSPOPNAME |
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 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 |
Meaning |
XSFFORMAT |
SSFXSFFRMT |
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 |
Prerequisite: XSFFORMAT = 'X'. Determines the URL to which you want to pass the values of the HTML form. See: Evaluating Form Input |
The XDF document contains all data that you pass at the interface of the Smart Form.
Parameter Name |
Component Type |
Meaning |
XDFCMODE |
SSFXDFCMOD |
Use this parameter to determine which settings you want to evaluate for XDF:
|
XDF |
SSFXDF |
|
XDFOUTMODE |
SSFXDFOMOD |
Use this parameter to specify the output mode:
|
XDFOUTDEV |
RSPOPNAME |
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. |