‎2006 Oct 07 11:56 AM
i have written a program using the function spell_amount and i got the output. now i need it in the format whole number and decimal without the skip statement.
for instance 12.345.678,30 should be spelled as one hundred and twenty three thousands four hundred fifty six hundred seventy eight AND three zero.
can u please give reply
‎2006 Oct 07 11:59 AM
Hi nagaveni,
1. u can use the fm HR_IN_CHG_INR_WRDS
regards,
amit m.
‎2006 Oct 07 12:02 PM
‎2006 Oct 07 12:05 PM
Hi again,
1. use like this.
2.
report abc.
DATA : AMT LIKE PC207-BETRG.
DATA : WRDS(500) TYPE C.
AMT = 569045.
CALL FUNCTION 'HR_IN_CHG_INR_WRDS'
EXPORTING
AMT_IN_NUM = AMT
IMPORTING
AMT_IN_WORDS = WRDS
EXCEPTIONS
DATA_TYPE_MISMATCH = 1
OTHERS = 2
.
WRITE 😕 AMT.
WRITE 😕 WRDS.
regards,
amit m.
‎2006 Oct 07 12:03 PM
‎2006 Oct 07 12:45 PM
hi,
use this.
CALL FUNCTION 'SPELL_AMOUNT'
EXPORTING
amount = amount
currency = 'INR'
filler = ' '
language = 'E'
IMPORTING
in_words = amountrs.
rgds
anver
pls mark hlpful asnwers