Show TOC

Background documentationCreation of Interactive PDF-Based Print Forms

 

You create an interactive offline form by filling the parameter /1BCDWB/DOCPARAMS with the value X or F in the generated function module for creating a PDF-based print form of the component FILLABLE in the structure SFPDOCPARAMS. The result of entering the value F is that the name of the form is added to the XML data. This enables you to assign to a scenario the data that users enter and that you receive in the SAP system.

By activating the DYNAMIC component in the structure SFPDOCPARAMS, you can also make the form dynamic.

In an application form of the print workbench, you can request interactive forms in any exit of data retrieval using the following program code:

* set interactive .

formc-flg_pdf_interactive = 'F'.

We recommend that you use the following user exit points for requesting interactive forms:

  • Start Exit of the application form

  • Exit Before Loop of the document level

You can also make interactive forms dynamic using the following program code:

* set dynamic form

c-flg_pdf_dynamic = abap_true.

Example

Using the application form FKKCORR_EXP_SAMPLE_INTACT_PDF, you generate an interactive form for changing address data for the original recipient of correspondence (correspondence tool).