Show TOC

Configuring the System for Large Form Generation by StitchingLocate this document in the navigation structure

Prerequisites

  • The Adobe Document Services are installed on AS Java 7.20 or higher.

  • The ADS version is 8.20... or higher (for example 820.2009x).

  • Form bundling is enabled.

Context

In special cases, business applications require the creation of large PDF forms containing more than 1.000 (up to 20.000) pages, for example printing of the General Ledger. Depending on the operating system, Adobe Document Services (ADS) have a technical limitation regarding the form size.

When creating large documents using ADS there are limitations with regard to the maximum number of pages (see SAP Notes 1009567 Information published on SAP site and 894389 Information published on SAP site). To be able to create large PDF documents, you need to implement an application-side workaround.

Workaround: Stitching bundled forms to one PDF form

The creation of large forms can be achieved through a workaround: Applications split large forms into smaller ones and bundle them, so that the Forms Processing Framework can invoke the ADS with a bundle of forms. The ADS render the single forms from the bundle and stitch them together to one large PDF file.

To avoid timeouts when generating large forms, you need to set up the system to allow a long processing time .

Procedure

  1. On the AS ABAP, in transaction SM59, create a special ADS connection with an increased timeout.
  2. On the AS Java, increase the timeout of the Internet Communication Manager (ICM) in the profile icm/server_port_0 = PROT=HTTP, PORT=5$(SAPSYSTEM)00, TIMEOUT=<seconds>.
  3. On the AS ABAP, adjust the profile parameter icm/HTTP/max_request_size_KB to enable the transfer of a huge amount of data.

Results

The system now supports the generation of large PDF forms “stitched” together from several smaller forms. To enable stitching in the application program , do the following:

  • When calling the function module FP_JOB_OPEN, set the parameter ASSEMBLE to the value 'S'.

    For more information, see Form Interface Parameters of the Application .

  • Select the output mode Print and (or) Archive or PDF return .

The ADS are called when the application closes the job (function module FP_JOB_OPEN). The ADS provides the final “stitched” form according to the scenario: The PDF file is retrieved by the application or handed over to the ArchiveLink.

Restrictions

It is not possible to assemble single PDF documents via this interface.

Example

Test report FP_CHECK_BATCH_PDF_RETURN in the ABAP system

Note

In the test program, you have the following options:

  • You can choose to have all forms bundled in a single PDF.

  • If you have chosen to have all forms bundled in a single PDF, you can also choose the stitching for large PDFs. This option is available only if the ADS support it.