Sunteți pe pagina 1din 6

Scenario: To print three copies of a particular document and the first copy should mention as Customer copy, second

one
as Bank copy and the third one say College copy.
Create a Smart Form using the transaction SMARTFRMS.
!n this demo, "e "ould print in the Copies "indo" "hether it is #ank copy, company copy or
others.
Create a secondary "indo" as sho"n #elo":

Select $indo" type as %Copies $indo"& as sho"n #elo":

Also name your "indo" and gi'e it a proper description. (o not change any other settings.

Ad)ust the "indo" si*e using the Form +ainter a'aila#le on the application tool#ar.

The 'aria#le SFS,-C+,C./T "ould pro'ide us count of the copy "hether it is a first copy,
second copy and others. $e "ould use this field to print the o"ner of the copy.
$e "ould define a string, "hich "ould hold the name of the copy 0#ank copy and others1
depending on the 'alue of SFS,-C+,C./T. (efine a 'aria#le in the glo#al definition as
sho"n #elo":

/o" select your Copies "indo", right click 2 Select Create Flo" 3ogic +rogram 3ines

4nter the follo"ing code:
(o not forget to enter the 'aria#le T45T in the output parameters.
/o" create a te6t #y selecting the Copies "indo", right click Create Te6t.
!n this, )ust enter the field name as sho"n #elo" #y selecting insert field.

/o" include a te6t in the Main "indo" as "ell "ith some content.

Sa'e and acti'ate. Test your Smart Form.
!n the print pre'ie" screen, enter the num#er of copies as 7

Check the output:

S-ar putea să vă placă și