Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

error in function module spell_amount

Former Member
0 Likes
552

Hi Experts ,

I have a problem while i'm using fm spell_amount.it is reading write amount in figures but while conversion into words i'm getting error(wrong amount) .

Thanks&Regards.

ANDREWS.

2 REPLIES 2
Read only

Former Member
0 Likes
444

Hi,

Can you tell me what values are you passing to this function module ?

You can also try using this function module - HR_IN_CHG_INR_WRDS

Regards,

Danish.

Edited by: Danish2285 on Mar 2, 2012 5:09 PM

Read only

Former Member
0 Likes
444

Hi,

If you pass the following values into the FM,


AMOUNT                          10000
CURRENCY                        INR
LANGUAGE                        EN

you will get the output as


IN_WORDS                           000000000000100000 2 ONE HUNDRED

Here the last two digit of the amount is considered as decimal place in INR currency.

Check whether you are passing the right amount with considering decimal places according to the passed currency.