i m using the following function module to convert amount to words for USD. but the result is coming in lakhs and crores .. i want the amount in thousands and millions .
CALL FUNCTION 'SPELL_AMOUNT'
AMOUNT = val
CURRENCY = 'USD'
LANGUAGE = SY-LANGU
IN_WORDS = IN_WORDS.
SPELL_VAL = IN_WORDS-WORD.
val = 231,620.00
words = TWO HUNDRED THIRTY-ONE THOUSAND SIX HUNDRED TWENTY DOLLARS
above is the output i get in development server for the f.m. and is exactly what i want.
but for the same example, in production server , the output is
words = TWO LAKH THIRTY-ONE THOUSAND SIX HUNDRED TWENTY DOLLARS
and suggestions ????