You are on page 1of 13

In this demo we will create an adobe form which displays text in two different languages

(English or French) based on the given condition. This functionality is achieved by using
TEXT !"#$E% in adobe forms.
%tep&' Go to transaction SFP and create an interface for the Adobe form.

(ote' Maintain Interface type )*)+,"ictionary *ase interface. (IN ECC6.0 ersion!
%tep-' Create an import parameter as sho"n be#o"$

%tep.$ Sa%e and Acti%ate the interface.
%tep/' No" &o to transaction %martforms to create 'e(t Mod)#e for the *an&)a&e Con%ersion+
Se#ect 'e(t Mod)#e and Enter 'e(t Mod)#e Name , C#ic- on
create.
.ere+ "e are con%ertin& En&#ish te(t to French te(t+ so "e ha%e to enter the French
con%ersion of the En&#ish te(t.
Text &' TEXT I( E(0$I%1.
C#ic- on Sa%e.
Simi#ar#y create the te(t mod)#e for te(t French to En&#ish.
Text -' TEXT I( F2E(31
Text .' TEXT I( IT)$I)(
%TE+ 4' /nce the 'e(t mod)#es are created+ Go to 'ransaction SFP to desi&n form b)i#der
for the interface 5TEXT!"#$E6TE+$)TE.
%TE+ 7' C#ic- on Create.

%TE+ 8'
After c#ic-in& on create+ the system "o)#d prompt yo) for the Interface name and description.
In Interface Name tab $ 0'E1'M/23*E4'EMP*A'E.
In 2escription $ Form for the *an&)a&e Con%ersion.
No" the fo##o"in& screen appears$


%TE+ 9'
5i&ht C#ic- on Form name in the conte(t area and create Ne" Fo#der.


%TE+ :'
2ra& , 2rop Flag& fie#d from the import part in to the Conte(t
area.

%TE+ &;'
5i&ht C#ic- on (ew F!$"E2+ create three te(ts for the te(t mod)#es.
%TE+ &&'
2o)b#e c#ic- on the ne" fo#der. 'he fo##o"in& screen appears. C#ic- on
Condition
%TE+ &-'
2o)b#e6C#ic- on 'e(t and maintain the properties as sho"n be#o".
"escription as 3onvert TEXT I(T! E(0$I%1 into F2E(31
Text Type ' Text odule
Text (ame ' Text odule name (<=test6french>)
Text $anguage ' <F2>


5epeat the abo%e step for the other te(ts as "e##.
%TE+ &.'
C#ic- on *ayo)t.
/n the #eft side p#atter+ in data %ie"+ "e can %ie" a## the fie#ds that "e defined in the conte(t part.
(In this e(amp#e+ f#a&7 and three te(ts!

%TE+ &/'
In o)r #ayo)t+ #et )s a#so inc#)de a #o&o and some te(t as "e##.
Go to Master Pa&e. From *ibrary Pa#ette+ insert ima&e fie#d and te(t into the master pa&e.
Enter te(t in te(t fie#d and Enter ima&e in ima&e fie#d and chec- the chec-bo( 8Embedded ima&e
data9.

%TE+ &4'
Go to :ody Pa&e.
Create fo##o"in& three te(t fie#ds$
'e(t in En&#ish
'e(t in French
'e(t in Ita#ian.
No" ri&ht c#ic- on the te(t fie#d and se#ect the option 8f#oatin& fie#ds9.

No" "e need to do the bindin& for the te(t fie#d. Se#ect the te(t fie#d 8'e(t in En&#ish9+ C#ic- on
pa#ette c#ic- on ob;ect &o to bindin& tab. P#ease see the fo##o"in& screenshot for the bindin&.

No" repeat the abo%e step for bindin& the other t"o te(t fie#ds.
%TE+ &4 , -'
Second "ay is 2ra& , 2rop from the 2ata %ie".
<)st be#o" the te(t fie#d dra& , drop the te(t fie#d from the data %ie"+ in this case yo) don=t ha%e to do the bindin&+ it "i##
assi&n a)tomatica##y.
%TE+ &7'
C#ic- on Sa%e and Acti%ate it.
%TE+ &8'
C#ic- on E(ec)te. )ssign ?alue <X> to Flag&. !therwise it only display in English. If F$)0&
has value <X> than test will display in English @ French *oth.
!utput'

You might also like