Show TOC

Bundling Forms when Creating PDFsLocate this document in the navigation structure

Use

Forms are sent to Adobe Document Services (ADS) for processing. You can optimize communication with ADS by bundling forms in a single call. In SAP NetWeaver 7.0 SPS 12 and higher, the procedure described here bundles forms for which you specify "PDF Return" (that is, create a PDF) in your application program. You can only bundle PDF forms that are not interactive.

Prerequisites

Bundling must be enabled in the table FPCONNECT.

More information: Bundling Form Templates in a Call

Restrictions

Note that bundling when creating PDFs does not support the job profile SetUIpermission. For more information about the job profiles provided by SAP, see SAP Note 1743567 Information published on SAP site.

Procedure

Modify the application program that calls the forms as follows:

  1. In the parameter of the function module FP_JOB_OPEN, set the field GETPDF to the value 'M’.

    Caution

    You cannot specify that a PDL is created (GETPDL) in the same call.

  2. Insert the function module FP_GET_PDF_TABLE after the generated function module has been called and again after FP_JOB_CLOSE. FP_GET_PDF_TABLE gets all the PDFs returned by ADS.

Result

The application program enables forms to be bundled when created as PDFs.

The following figure shows you how the form call is handled in the program.

Example

One example of forms being bundled when PDFs are created is shown in the program FP_CHECK_BATCH_PDF_RETURN.