Independent of the static settings on XSF output, you may want to print a form in XSF format or select a different output mode or output device for the form output.
If you want to usespool processing for XSF output, in the system at least one printer of type 'XSF' must be set up. SAP Smart Forms stores XSF in the spool in binary format to prevent information from being lost in conversions (see also: Output of XML Documents).
data: output_options type SSFCOMPOP,
job_output_info type SSFCRESCL.
output_options-xdfcmode = 'X'.
output_options-xdf = SPACE.
output_options-xsfcmode = 'X'.
output_options-XSF = 'X'.
output_options-XSFOUTMODE = 'S'.
output_options-XSFOUTDEV = 'P863'.
If theTDDEST parameter of the output options contains a value, SAP Smart Forms ignores XSFOUTDEV .
Since theXSFCMODE field is set, the value of field XSF determines whether OTF or XSF is generated (you cannot have both in the same call):
With output mode'A' SAP Smart Forms returns the form as table. The table is returned using the XSFDATA parameter of the formal parameter JOB_OUTPUT_INFO of the generated function module.
With output mode'S' SAP Smart Forms sends the form to spool processing.