on 04-24-2007 6:24 AM
HI ALL
i need to print the field &BSEG-WRBTR& in a script but the issue is if the &RF140-BEZSHKZG(2)& is DEBIT den i need to print the field &BSEG-WRBTR& under the column Debit amount and if the &RF140-BEZSHKZG(2)& is CREDIT den i need to print the firld &BSEG-WRBTR& under the Credit amount column and also please tell me how to have the total of the &BSEG-WRBTR& and print it in words....pleae help
vijay
Hi Vijay,
Here you can use tabs to position the field &BSEG-WRBTR& under the column you want. Something like -
/: IF &RF140-BEZSHKZG(2)& EQ 'DR'
P1 &BSEG-WRBTR&
/: ELSE
P1 ,, &BSEG-WRBTR&
/: ENDIF
You can define a paragraph format P1 with tab set as per your column width.
For printing total in words you can use the FM 'SPELL_AMOUNT'.
Hope this helps!
Regards,
Saurabh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hai,
To Have total,<b>Use the Summing into option</b> available in script.
To printt it in words,
<b>Use the FM SPELL_AMOUNT,</b>
And store the words in a string variable.
(Declare a variable of string type)
<b>Pass this to the scipt</b> using WRITE_FORM(Better to use Text Element).
Hope this helps you.
<b>Reward points if it helps you.</b>
Regds,
Rama Chary.Pammi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.