Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Tools
Adobe LiveCycle Designer
• SAP Interactive Forms by Adobe offer you the following
business advantages:
• ● Interactive functions automate the creation of data for SAP
systems
• ● Full integration into the SAP development environments for
Java and ABAP
• ● User-friendly tools reduce the time and costs associated
with creating form layouts.
• ● The usage of the PDF format means that forms retain their
appearance regardless of the environment they are used in.
• SAP Interactive Forms by Adobe offer the following basic
functions:
• ● Create form templates for the layout that include logos or
pictures
• ● Generate documents by merging form templates and
current system data
• ● Edit forms online or offline
• ● Forms can be filled in advance automatically with specific
data from SAP applications and then sent to the correct
recipients using secure methods
• ● Automatic consistency checks for forms
• ● Activate enhanced functions such as comments
• ● Digital signatures and form certification
• ● Send completed forms to the SAP application with
automatic updates of the business data
Use of PDF Forms
1. Order confirmation.
2. Invoices
3. Account statements
4. Checks
5. Salary statements
6. Delivery notes
7. Customs forms
8. Industry-specific forms, such as quality forms in the
automotive Industry
ADS (Adobe Document Services)
• FP_PDF_TEXT_00. : To confirm ADS is installed or not?
• If I ADS is installed , then it provides the ADS version
information.
• FP_TEXT_00 : To check ADS is working or not.
• FP_CHECK_DESTINATION_SERVICE : standard documentation
available for this report and a few details of other objects it
interacts with such as tables, function modules, includes etc. If
you would like to see the full code listing simply enter
FP_CHECK_DESTINATION_SERVICE into the relevant SAP
transaction such as SE38 or SE80.
• This report checks the configuration of the destination service
and the ICF service sap/bc/fpads.
• FP_CHECK_HTTP_DATA_TRANSFER :This report checks the
configuration of the destination service and the ICF
service sap/bc/fp.
Creating PDF
Using transaction 'SFP' to go to Form Builder or through SE80
(to create an interface and then the form).
Before creating a PDF, you need to have an interface which
contains all the fields which you will be using in the form.
Hence before creating a form you need to create an Interface
and assign this interface in the pop-up, which comes while you
create the respective form.
SFP stands for SAP Forms Process.
The steps involved in developing PDF are :
• Definition
You specify the page layout for a form, and determine the order of
the pages that have differing structures. Texts, data, tables, and
various other types of objects
can be displayed in the output range of a form page.
• The following different page types can be used to structure a form:
1.Master pages
2.Body pages
You can position various elements on these pages:
1.Standard objects
a.)Static objects such as texts, graphics, squares and rectangles,
circles, lines.
b.)Dynamic objects such as buttons, checkboxes, date/time fields,
drop-down etc.
2.User-defined objects
3.Barcodes.
• Create the interface.
Click in the corresponding check box, enter the name and
create the interface.
Enter the description and save it as a local object. In the end,
you get the screen
below.
• Form Interface:
When you click the field 'Import', you get the above screen.
Here you can add ( ) the fields we need in the form. Here I
have added the field 'EMPLOYEE_NAME' and
activated the interface.
• Note that the parameter, '1BCDWB/DOCPARAMS' is common
for all interfaces. It comes by default and this has a type of
SFPDOCPARAMS. This parameter is used
to pass the country key, language and other related details
while calling the form through the standard function module.
Activities
1.Double-click the node to open the properties screen.
2.You can now change general properties such as the name or
description of the node, or set the node as Active or Inactive.
3.Only active nodes are sent to the layout in the Form Builder,
and used in the form output.
4.Depending on the chosen node, the system also displays
additional node-specific properties, as well as the general
properties. For an
explanation, see the description of the node.
5. As well as the properties, for some nodes you can also
specify conditions for the form output.
Conditions
Use
1.You can define conditions for individual nodes, or for whole
sub hierarchies of the context.
2.A node, or all its sub nodes, is then only processed if the
related condition is met.
3.To select from two alternative sub hierarchies in the form
output, use the alternative node.
Prerequisites
A node exists for which you want to define conditions. This
node must allow conditions to be defined.
•
Features
You can define conditions using logical relationships.
• Once the required parameters are included in the context, you
can now go to the layout to design the form. Click in the tab
'Layout' and you get the screen below, which is basically the
Adobe designer.
1.You create the body and master pages for the form design in
the Layout Editor.
2.You can also view and edit the form design and preview the
form (the form that the user will work with) in PDF.
3.The Layout Editor contains four tabs: Body Pages, Master
Pages, XML Source, and PDF Preview.
Types of Form layout
• Live Cycle Designer offers two types of form layout
techniques for you to work with:
Static layout :
These forms have fixed layouts. When presented to the end
user, the form retains its original layout, regardless of the
amount of data available to fill the form.
Dynamic layout :
A form with a dynamic layout is designed to expand or shrink
according to the amount of data available to fill it.
• What's in a form design?
The following key components make up a form design:
1.Master pages
2.Body pages
3.Content areas
4.Subforms
5.Fields
6.Boilerplate objects
Master Pages
1.Button
2.Check box
3.Date/time field
4.Drop-down list
5.Image field
6.Text field
7.List box
8.Numeric field
Boilerplate objects
Boilerplate objects are read-only objects that improve the
aesthetic appeal of a form and may provide context or
assistance for users. They can be added to
body pages or master pages.
The following objects are boilerplate objects:
1.Circle
2.Image
3.Line
4.Rectangle
5.Text
• Palettes provide easy access to the tools without cluttering
your workspace. Palettes can include one or more tabs, each
containing common properties.
For example, all objects are stored in the Library palette. As
you can see in the following figure, the objects are further
grouped into tabs.
* PRINT:
• * Sets the output parameters and opens the spool job
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
IE_OUTPUTPARAMS = FP_OUTPUTPARAMS
EXCEPTIONS
CANCEL =1
USAGE_ERROR =2
SYSTEM_ERROR =3
INTERNAL_ERROR =4
OTHERS = 5.
IF SY-SUBRC <> 0.
<error handling>
ENDIF.
• * Get the name of the generated function module
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
EXPORTING
I_NAME = '<form name>'
IMPORTING
E_FUNCNAME = FM_NAME.
IF SY-SUBRC <> 0.
<error handling>
ENDIF.
• * Call the generated function module
CALL FUNCTION FM_NAME
EXPORTING
/1BCDWB/DOCPARAMS = FP_DOCPARAMS
CUSTOMER = CUSTOMER
BOOKINGS = BOOKINGS
CONNECTIONS = CONNECTIONS
* IMPORTING
* /1BCDWB/FORMOUTPUT =
EXCEPTIONS
USAGE_ERROR =1
SYSTEM_ERROR =2
INTERNAL_ERROR = 3.
IF SY-SUBRC <> 0.
<error handling>
ENDIF.
• * Close the spool job
CALL FUNCTION 'FP_JOB_CLOSE'
* IMPORTING
* E_RESULT =
EXCEPTIONS
USAGE_ERROR =1
SYSTEM_ERROR =2
INTERNAL_ERROR =3
OTHERS = 4.
IF SY-SUBRC <> 0.
<error handling>
ENDIF.
Troubleshooting
Features
1. You are provided with various function modules for
troubleshooting purposes.
2. You can use these function modules to extract the following
information:
3. Texts about the cause of the error (with the
FP_GET_LAST_ADS_ERRSTR FM)
4. A trace of the Adobe document services (with the
FP_GET_LAST_ADS_TRACE FM)
• Ex :
Step 1: Create the Form Interface.
• Go to transaction SFP(Form Builder).
• Create Interface(ZOVH_INTERFACE) by selecting Interface
radio button.
• Provide interface Description and Select ABAP Dictionary-
Based Interface as Interface Type.
• Save as Local object or transportable object.
• Interface Tab ->import ->Create three importing
parameters(PERNR, ENAME, BUKRS).
• Save and Activate.
Step 2: Create and Design the Form