Start of Content Area

Procedure documentation Bundling Forms when Creating PDFs  Locate the document in its SAP Library 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 is available in Form Bundling.

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 also 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.

This graphic is explained in the accompanying text

Example

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

 

End of Content Area