This document is divided into the following four main sections:
• Introduction: Some words about the Adobe Interactive Forms
• Interface creation: Interfaces include input and output parameters for the form, and also global data and subroutines that the form uses.
• Adobe Interactive Forms creation: An introduction to the Adobe LiveCycleDesigner. An easy example of use is included in this section
• Form execution using ABAP code: Flow logic to execute the form when it has been created. Including an easy example of ABAP code.
Adobe Interactive Forms technology includes two kinds of functionality:
➢ Creation of forms using Adobe LiveCycle designer, more powerful and including more options thanSapScript and Smartforms editors.
➢ Allowing users several types of interaction with the form:
o It allows filling in information directly on the form before being printed out. This includes marking checkbox, drop down lists, search helps for date fields and so on.
o Forms can be directly viewed in SAP using Adobe Reader, with all its options (searching forinformation, direct access to different pages, zooms...).
o It allows adding buttons to the forms, which can execute XML functions. For example, after filling the information, user can push the 'Submit to SAP' button, and data introduced can be saved into dictionary tables.
Technical requirements needed for the creation of Adobe Interactive Forms are the following.
➢ SAP GUIVersion 6.40 or higher.
➢ Adobe LiveCycle Designer 7.1 or higher (This version can be installed from SAP Service Marketplace by following instructions from OSS note 962763).
➢ Adobe Reader 7.0 or higher.
It is highly recommended the knowledge of Smartforms design before starting with the Adobe Interactive forms design, since both technologies use some similar basic concepts.
Maintransaction used to create, modify and view Interfaces and Adobe Forms is SFP (Form builder).
General view of transaction SFP:
2. Interface creation
Before starting the creation of the form, it's necessary to create an interface, which will include input and output parameters, and global data, types and routines that the form will use.
A single interface can be used inseveral Adobe Forms.
Steps to create an interface are the following:
▪ First of all, in SFP transaction, mark Interface, introduce desired name and press Create.
▪ In the following screen, introduce a description, select Interface type and then press Save. Interface types can be:
o ABAP Dictionary-Based Interface.
o XML Schema-Based Interface.
▪ After introducing Package, following screen will appear.
▪ In Properties tab, interface description and type can be modified.
▪ In Interface tab, following parameters will be defined:
o Form Interface:
▪ Import: Form input data (They must have an existing type from the data dictionary).[pic]
▪ Export: Data returned by form. (They must have an existing type from the data dictionary).
▪ Tables: Tables received/returned by form (They must have an existing table type from the data dictionary).
▪ Exceptions: Returned by form's function if an error occurs.
o Global definitions: Definition oftypes, global data and field symbols that will be managed by the form.
▪ Code initialization: ABAP code to assign initial values to the fields in the form. Code input and output parameters have to be declared on top in order to be used.
▪ FORM routines: Subroutines to be called by the form....