Wednesday, July 30, 2008

Integrating a PDF Form in a Web Dynpro Application Web Dynpro ABAP Integrating Forms

This chapter describes the procedure for using a PDF form in a Web Dynpro application with the various scenarios.

Form Integration for the Various Scenarios

Scenario

Procedure

Print

Interactive

Integrating (Interactive) Forms

Offline

Integrating Existing Forms

Digital Signatures

Digital Signatures in Form Integration

Form Data in XML Format

In the procedure for the print scenario and the interactive scenario, only the two properties templateSource and dataSource of InteractiveForm were bound to the view context. The templateSource property contains information about the form template, while the context node, to which the dataSource property was bound, contains the values to be displayed in the form as individual Web Dynpro context attributes.

You can store or process the values of the form, completed at runtime by user input, in XML format. To do this, you have to include an additional attribute of type XSTRING in the view context. You then bind the pdfSource property of the UI element InteractiveForm to this context attribute (see offline scenario).

The XML representation of the PDF values can be read and processed here. Using a suitable template and this XML data, you can create a complete PDF again at a different point.

The transfer of form data from an XSTRING attribute, whose contents originate from the back end, into separate attributes of a Web Dynpro context node is not supported.

No comments:

Archive