14 - Adobe Forms
14 - Adobe Forms
1
Introduction
▪ In adobe form, we need to create an interface, the same interface can be used in
2
Introduction(Contd.)
▪ Adobe livecycle designer (ADLC) is required to design a layout with the help of adobe
forms.
3
Adobe Forms & Smartforms Comparison
▪ Smartforms are not interactive forms whereas adobe forms are Interactive
smartforms.
▪ In smartforms - The form interface, global definitions, pages, windows are all together
whereas in adobe forms - The form interface, global definitions are the part of interface.
4
Types of Interfaces in Adobe Forms
5
Types of Interfaces in Adobe Forms
1. ABAP dictionary-based interface - This interface has different standard parameters in the
form interface.
2. XML schema-based interface - We use this interface type if we create forms in form
3. Smartform compatible interface - This interface also has different standard parameters
6
Types of Layouts in Adobe Forms
1. Standard layout
2. ZCI layout
3. xACF layout
7
Types of Layouts in Adobe Forms
1. Standard Layout - Use this layout type for PDF-based print forms or for interactive forms
used in an offline scenario(for sending by e-mail) and not integrated in a web dynpro
environment at runtime.
2. ZCI Layout - Zero client installation (ZCI) technology is used to integrate the form at
8
Types of Layouts in Adobe Forms(Contd.)
3. xACF Layout - The active components framework technology is used to integrate the
form at runtime in web dynpro applications. ActiveX must be enabled in the browser.
4. Unknown layout type - The form has not yet been classified. This is the case if we are
creating a new form or editing a form created with an older version of SAP Netweaver.
9
System Variables in Context tab for ABAP Dictionary based Interface
▪ The default system variables in the context tab for ABAP dictionary based interface are
as follows:
1
0
Various Views of Adobe Forms
Design view - This view is used for designing the layout elements in adobe forms.
Hierarchy - In this view all the layout elements are available in hierarchical order.
1
1
Master Page
▪ Every form design contains at least one master page that adobe livecycle designer
creates automatically.
▪ They help to facilitate design consistency because they can provide a background and
layout format for more than one of the body pages in a form design.
1
2
Body Page
▪ Each body page derives its page size and orientation from a master page.
▪ By default, each body page is associated with the default master page that adobe
▪ Each body page is created with a default sub form that covers the whole page.
1
3
Integration into Programs
▪ We need to call the adobe form from the program. To integrate the adobe form in the
1. FP_JOB_OPEN
2. FP_FUNCTION_MODULE_NAME
3. FP_JOB_CLOSE
1
4
Integration into Programs
1. FP_JOB_OPEN - This function module is used to open the Job. We can set the default
1
5
Scripting Languages in Adobe Forms
▪ Depends upon the requirement, we can use the scripting languages in adobe forms. In
1. FormCalc
2. JavaScript
1
6
Formcalc
▪ FormCalc is the best choice to work on functions like - date and time, financial,
1
7
JavaScript
▪ FormCalc is default scripting language in designer, but Java script is more ideal for
1
8
Adobe Forms Translation into Other Languages
1
9
Sending Adobe Form as an E-Mail Attachment
▪ To send the PDF form as an e-mail attachment, we will make use of the various standard
classes of SAP related to BCS( Business Communication Services). The various standard
CL_BCS
CL_DOCUMENT_BCS
CL_SAPUSER_BCS
CL_CAM_ADDRESS_BCS
2
0
Sending Adobe Form as an E-Mail Attachment
CL_BCS - This class is used for creating the send request, adding the recipient, sending
CL_DOCUMENT_BCS - This class is used for creating the document, adding the
attachment etc.
2
1
Sending Adobe Form as an E-Mail Attachment
10. Send
11. Commit
2
3
Important Points
2. ADS Connection - Adobe Document Services Server. We can check the connection of
2
4
Q&A
2
5
Q&A
2
6
Thank You
2
7