Application Development 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: 

Translate net price to word

former_member220801
Participant
0 Kudos

I know there is a function 'SPELL_AMOUNT' to translate number to word.

e.g. 124.00 to one hundred and twenty-four

this function return words which stick to together if the amount reaches million... Any better methods?

besides, how about if there is currency in front of it?

Any function to translate USD 124.00 to US Dollars one hundred and twenty-four?

(or where the text of the currency is stored?)

Thanks!

3 REPLIES 3

suresh_datti
Active Contributor
0 Kudos

Hi Gunadm,

I am not aware of any alternative to 'SPELL_AMOUNT'. Currency Code Names are stored in table TCURT.

Regards,

Suresh Datti

Former Member
0 Kudos

Hi,

Try to use this funtion module's

AIPB_CURRENCY_EXTERNAL_TO_SAP

AIPB_CURRENCY_SAP_TO_EXTERNAL

If it helps out ,kindly reward point and close the thread.

Regards,

Irfan Hussain

former_member182371
Active Contributor
0 Kudos

Hi,

in the documentation of fm 'SPELL_AMOUNT' you can see that table <b>T015Z</b> is used for conversion.

Please do check that the values of this table are correct for your problem.

Best regards.