Adobe Form Dynamic Variable
Adobe Form Dynamic Variable
layout.
Step 1.
Declare some global datas to be used as dynamic variables in the adobe form. In a real scenario
these values will be send to the Adobe Form from the driver ABAP program or the Webdynpro
application. I am skipping that part since it is already explained in my previous document about Online
Adobe Forms section.
Since this Adobe Form is not called by a driver program I am hard coding the values into these
variables.
Step 2
Step 3:
Now import design from an external file. You need to first convert the design file like .doc file into
a .pdf file, this is important because adobe form will not accept any other format design. There are so
many third party free softwares are available to convert files to pdf, even online free pdf convertors
are available.
To import the pdf file go to Tools->Import->Choose file
Now you can see the imported design layout in the Design View. All the fields are editable. Now we
can place our dynamic variables in the layout wherever it is required.
Step 4
Now import the dynamic variables into the layout.
Select the text box you want to add the variable or create a new text window and place it where you
want the dynamic variable.
If you want to add the dynamic variable in a position inside a sentence place the cursor on the
position of the sentence and right click
Now click on floating field
Now you can see a Text field within a “{ }” symbol has appeared, this is the dynamic variable that will
capture the incoming values from the driver program/Webdynpro.
Now go to the binding tab on the right side of the design view in the object pallette.Then click on icon
on the right side of the Default Binding field
Since the current floating field doesn’t have any relation with the global variable which are passing the
values into. We need to update the binding properties of the current Floating Field. So select on the
default binding icon and select the global variable you want to place from the list as shown in the
below screen shot.
Select on Update the properties and click ok.This will replace the floating variables default binding
properties with the properties of our global variable. And from now on the floating field will act as a
container to display the values that we are passing to the global variable.
Now the name of the floating variable will also be replaced by the global variable name. This will help
us in identifying the several floating fields accordingly.
Do the same for all the required fields where the dynamic values are required.
Now save and activate the adobe form.
Step 5-Output