2004 Sep 07 11:30 AM
Hi guys,
I have a function module to conver the amount in INR into words.
viz. input : 123.50 INR --> One Hundred Twenty Three Rupees & Fifty Paise.
I hardcoded the text 'Rupees' & 'Paise' in it. but I want to capture the text based on the Currecy code.
I want to enhance the FM to more generic one. i.e. I should work for all the currencies.
Can anyone suggest me a FM or table name to capture them.
Thanks in Advance,
Hi guys,
I have a function module to conver the amount in INR into words.
viz. input : 123.50 INR --> One Hundred Twenty Three Rupees & Fifty Paise.
I hardcoded the text 'Rupees' & 'Paise' in it. but I want to capture the text based on the Currecy code.
I want to enhance the FM to more generic one. i.e. I should work for all the currencies.
Can anyone suggest me a FM or table name to capture them.
Thanks in Advance,
2004 Sep 07 12:23 PM
Hi Surendher,
1. FM : function spell_amount
2. Currency code : -> see table TCURT
( only for the main unit)
to spell main (rupee) and 2nd unit (paise) ,
you've to copy and expand table TCURT:
e.g.: MANDT SPRAS WAERS LTEXT KTEXT UNIT2
001 EN INR Indian Rupees Rupees Paise
001 EN EUR Euro Euro Cent
Grx Andreas
2004 Sep 08 6:02 AM