Show TOC

Statically Activating XSF OutputLocate this document in the navigation structure

Prerequisites

If you want to use spool 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).

Context

If you want the output of a form to always be in XSF format, you can set this format statically in the SAP Form Builder. However, you can overrule this setting from within the application program if required (see: Output Options).

Procedure


  1. Call your form in change mode and double-click on the Form Attributes node.

  2. On the Output Options tab you find the Output box. To statically activate XSF output, set the Output Format to XSF Output.

  3. Select an Output Mode:

    • Application: At the function module interface, SAP Smart Forms returns the form as table to the application program (see: Dynamically Activating XSF Output).

    • Spool: SAP Smart Forms sends the form to spool processing. Now you can specify an output device. It should have printer type 'XSF'.

  4. Activate your form.

Results

As long as you do not overrule the static setting from within the application program, SAP Smart Forms returns the form in XSF format when you call the generated function module.