Download as pdf or txt
Download as pdf or txt
You are on page 1of 15

Community Topics Groups Answers Blogs Events Programs Resources

Ask a Question Write a Blog Post Login / Sign

Bince Mathew
January 27, 2013 | 5 minute read

Step By Step Method To Create An Adobe


Form With Dynamic Variables Along With An
External Layout
Follow
 9  28  113,534
 Like
Hi all,

 RSS Feed This document is about how to bring dynamic variables into a string in adobe forms layout just like
in smartforms.One of the common practices in bringing dynamic variables into adobe forms is using a
string variable declaration in the Adobe Interface level and concatenate each and every sentence that
contains a dynamic variable into the string. This is done in the Coding part of the Interface. But this
method has many disadvantages, One of the main problems with this approach is it’s a nightmare with
adjusting the alignment with other fields or sentences in the adobe form, also the spacing will not be
proper if the length of the variables differ for different cases.

Also creating a required design in adobe form is also very time consuming so in this tutorial i will
explain on how to import a layout to adobe form. Although predefined templates are available in the
adobe form, it will not be suitable every time. And my solution may or may not apply to your specific
requirements am just explaining one alternative to this common practice. In some cases we rely on
converting the design to an image and placing it as background in Adobe Forms, But that approach also
has many disadvantages and limitations in some cases.

This a full tutorial from creation of adobe forms to importing the dynamic variables. Those who are
interested only in the dynamic variable part go to step 4.

Step by step methods to create an adobe form with dynamic variables along with
an external layout.

Step 1.
Create an interface �rst for the adobe form.

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.
Save and activate the adobe form interface.

Step 2

Now create an adobe form layout.

Drag and drop the global variables of the interface into the context of our adobe form layout.
Change the Lyout Type To ZZCI Layout.

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 �oating �eld

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 �elds where the dynamic values are required.

Now save and activate the adobe form.

Step 5-Output
Execute the adobe form

Alert Moderator

Assigned Tags

SAP Interactive Forms by Adobe | adobe form | adobe form custom layout | adobe forms dynamic variable |

adobeforms | �oating variable | import desing

View more... 

Similar Blog Posts 


How to place an SE78 image on an Adobe Form Sort and Dynamic Sub-Total in Adobe Forms in S/4 HANA
By Former Member Jun 09, 2014 Public cloud
By Sudipta Raut May 04, 2020

Frequently asked Questions on Adobe Forms


By Former Member Jul 10, 2012

Related Questions 
Convert to XML Submit Button In Web Dynpro Layout not working.
By Former Member Nov 17, 2008 By sarang akhare Dec 24, 2008

Interactive Fields display error


By Former Member Jul 22, 2008
9 Comments

You must be Logged on to comment or reply to a post.

Former Member
November 5, 2013 at 9:58 am

Good Document ..

Like 0 | Share

Former Member
April 14, 2014 at 12:11 pm

Nice document..Bince

Best Regards,

Praveen Srivastava

Like 0 | Share

Now you can see the dynamic variables coming in the Serial number, Vendor Name, Date and Total Value
fields.
Former Member
July 1, 2014 at 5:24 amHope this tutorial was helpful.

this document is too ged.

But what if I want to change bacgrund depends on company code .

How to do this and where to store all these images?

Like 0 | Share
Ranjana Sharma
March 14, 2017 at 3:20 am

Good one!

Thanks.

Like 0 | Share

Former Member
September 26, 2017 at 11:27 am

Nice one Bince

Like 0 | Share
AVIJEET NEGEL
December 27, 2017 at 6:00 pm

I do have an issue in adobe form, where i am not able to �nd a solution for this. Please help me.
I have given Header and footer on MASTER PAGE so that it will get printed in every pages . And in the Design View(Body
page) i have dragged an internal table with few �eld. So I want my internal table records to get printed in between header
and footer area. If the records exceeds then it should be printed on the next page followed by the same header and footer.
How to achieve this functionality in adobe form .please help me .

Like 0 | Share

Silent Visitor
January 9, 2018 at 6:39 am

Hello AVIJEET NEGEL 

Have a look at this


Find us on
Hope that works.

Privacy Terms of Use


Regards

Legal Disclosure Copyright


Silent Visitor.

Trademark
Like 0 | Share Cookie Preferences

Newsletter Support
AVIJEET NEGEL
January 21, 2019 at 7:06 am

You might also like