
In the application that calls a form template, you can use the function module FP_JOB_OPEN to make settings for the form output and spool control with Adobe Document Services (ADS).
You control the output by using the parameters (IE_OUTPUTPARAMS) of the structure SFPOUTPUTPARAMS, which are described in the following table.
Parameters of the Structure SFPOUTPUTPARAMS
(a) Parameters for Controlling Form Output
|
Parameters for Controlling Form Output |
Description |
|---|---|
|
GETPDF |
Requests that ADS return the finished form M = Requests that ADS returns the finished forms when bundling is activated |
|
GETPDL |
Requests that ADS returns the printer data |
|
GETXML |
Requests the business data of the application in an XML file (ADS does not generate a form.) |
|
PREVIEW |
Generates a print preview (You can suppress this option by using the relevant parameter for spool control.) |
|
CONNECTION |
Option to specify the name of the connection to ADS, if this differs from the standard name ADS. |
|
ADSTRLEVEL |
Defines the level of detail of the runtime information; values range from 01 to 10. More information: Setting Runtime Error Analysis in the Application Program |
|
JOB_PROFILE |
Specifies additional statements for form processing using ADS. The statements must exist in an XML file and ADS must be configured accordingly. Entry: Name of XML file |
|
BUMODE |
Controls form bundling when called by the application program. The values are as follows:
More information: Bundling Form Templates in a Call |
|
ASSEMBLE |
Merges multiple forms into a single PDF file. Values:
Caution
The ASSEMBLE parameter is only effective when bundling is activated. This is either set using the table FPCONNECT or the parameter BUMODE has the value M. More information: Bundling Forms when Creating PDFs Note
Use the feature query to check whether ADS supports this option. More information: SAP Note 1063237 |
|
PARALLEL |
Parallel processing of print requests More information: Reducing Runtime of Print Requests by Parallel Processing |
|
PDFVERSION |
Specifies the PDF version of the form. For example, to generate a PDF form of PDF version 1.7, enter 1.7. You only need to make this entry if you want a different PDF version to the default version generated by ADS. |
|
PDFTAGGED |
Controls the generation of PDF forms with or without tags, using the following values:
|
|
PDFCHANGESRESTRICTED |
Defines the usage rights for forms with the following values:
When the program is called, the system creates a PDF form with the specified change options. The form is encrypted with a random password. The usage rights cannot be changed. To create a form with changed usage rights, you must run your application program again with new parameter values. |
|
PDFNORM |
Defines the PDF standard for the generation of PDF documents
More information: Generating Forms in PDF/A Format |
|
ARCMODE |
Controls the output of forms to be archived. The values are as follows:
|
|
XFP |
Activates the XFP output More information: Making Forms Available for External Applications |
|
XFPOUTPUTDEV |
Sets the output device for the XFP output |
|
XFPTYPE |
Determines the XFP variant using the following values:
|
(b) Parameters for Spool Control
|
Parameters for Spool Control |
Description |
|---|---|
|
DEST |
If the value of this parameter is initial or *, the system selects the output device stored in the user master data. Caution
If you have not specified an output device in the user master data, the system displays the print dialog to prompt you to select an output device. However, if the print program is running in background mode, a runtime error occurs because the print dialog cannot be displayed. |
|
NODIALOG |
Hides the spool dialog from users |
|
REQNEW |
Generates a new spool request |
|
REQIMM |
Specifies that the form is to be output immediately Required value: * |
|
REQDEL |
Deletes the spool request after form output Required value: * |
|
TITLE |
Displays the form name (title) in the spool dialog |
|
NOPREVIEW |
Does not allow a print preview (print preview button is not shown) |
|
NOPRINT |
Does not allow print output from the print preview |
|
NOARCHIV |
Does not allow archiving from the print preview |
|
IMMEXIT |
Print preview is closed immediately after output |
|
NOPRIBUTT |
Hides the print button to start printing |
If you want to output a form migrated from Smart Forms or a Smart Forms-compatible form, other spool control parameters apply.
More information: Controlling the Spool Dialog in the Smart Forms documentation