2006 Oct 04 11:52 AM
any table is available for cuurency details
ex : inr -
Rupees and paise
USD -
Dollers and cents
like that..
2006 Oct 04 11:55 AM
Hello Vijay,
U can make use of TCURC & TCURT.
If useful reward.
Vasanth
2006 Oct 04 11:53 AM
2006 Oct 04 11:54 AM
2006 Oct 04 11:54 AM
2006 Oct 04 11:55 AM
hi Vijay,
try table
TCURC
Regards,
Preema
*Reward points for helpful answers
2006 Oct 04 11:55 AM
Hello Vijay,
U can make use of TCURC & TCURT.
If useful reward.
Vasanth
2006 Oct 04 11:56 AM
Hi Vijay,
Try table T500w. It contains currency per country and the valid date from and to.
Regards.
2006 Oct 04 11:57 AM
Hi,
If your looking for the text check table
<b>TCURT</b>
Regards,
2006 Oct 04 11:58 AM
Hi vijay,
<b>In TCURC
The fields waers is the code and LTEXT or KTEXT will give you the description for the code</b>
PLZ check...
REgards,
Ajith
MArk if useful
2006 Oct 04 12:05 PM
thanx all.
in these tables it is giving the details of rupees/dinar
etc. but they r not providing the details regarding paise..
2006 Oct 04 12:14 PM
i think, decimal related is not maintained in SAP.
as per the country it will be converted .
lets say 100.10 INR
means 100 rupees and .1 rupee.
in INDIA, it will be calculated how much a rupee for its paise like that.
Correct me,if i am wrong.
here is the small code about SPELL_AMOUNT function module, here we can give the curr field also
REPORT YTEST no standard page heading .
data : tline like tline occurs 0 with header line,
SPELL LIKE SPELL OCCURS 0 WITH HEADER LINE.
data amouno type p DECIMALS 5 value '5455555.65461'.
CALL FUNCTION 'SPELL_AMOUNT'
EXPORTING
AMOUNT = amouno
<b>CURRENCY = 'USD'</b>
* FILLER = ' '
LANGUAGE = SY-LANGU
IMPORTING
IN_WORDS = SPELL
EXCEPTIONS
NOT_FOUND = 1
TOO_LARGE = 2
OTHERS = 3
.
WRITE : / 'Amount in Number: ',AMOUNO.
WRITE : / 'Amount in Word: ',SPELL-WORD, 'AND DECIMALS' , SPELL-DECWORD.
Regards
Srikanth
Message was edited by: Srikanth Kidambi
2006 Oct 04 12:21 PM
hai srikanth
i have to print the amount according to the country specifec in words
if i use spell_amount it will give in US format.
if i use HR_IN_CHG_INR_WRDS it is giving in indian format because in this FM they r hard coded according to india..
but i need to print the amount of hongkong and ......
so how to fetch them.
2006 Oct 04 12:28 PM
Hi Vijay,
did you try FM SPELL_AMOUNT with language change.
it uses language component to change to words.
Hope this help you.
Regards,
Amit
You also have to check that do your system is configured for that language check it out in T002 table.
there you will get the language key for ll the stored values in your system.
Also by default that FM uses EN therefore you should pick the right one.
Message was edited by: Amit Khare
2011 Apr 27 1:23 PM