2006 Aug 04 9:45 AM
i got problem of calculating the sum of amount and had to display in the words in the layout its spell_amount can be used in the layout of using subroutine
i got problem of calculating the sum of amount and had to display in the words in the layout its spell_amount can be used in the layout of using subroutine
2006 Aug 04 9:49 AM
Hi sarath,
1. In the driver program itself,
we have to take a variable
(for amount in words)
2. pass it to the FM SPELL_AMT
3. then use this variable in the layout.
regards,
amit m.
2006 Aug 04 9:49 AM
Sarath,
You can calculate summing in SAPSCRIPT layout by using the syntax SUMMING <var1> into <var2>.
regards
2006 Aug 04 9:50 AM
if u want to use perform for spell_amount...
u have to do all the select operation in perform and find out the total amount in perform than u can convert it to words.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |