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: 

Convert Amount to Words in sap

former_member219737
Participant
0 Kudos

H Experts,

I have tried converting the amount to words using FM - HR_IN_CHG_INR_WRDS , But, it has gone for Dump .

If the value is quite small, its accepting, but if it is huge...it is not accepting it.

Is there any other way, can i achieve it .

Dump Parameters :

Input : AMT_IN_NUM - 1895173939.15

Output - Dump - RAISE DATA_TYPE_MISMATCH.

Regards,

KArthik S

4 REPLIES 4

former_member196331
Active Contributor
0 Kudos

I hope other function module also available.

call function 'SPELL_AMOUNT'   Have you know or Tried.

Sandra_Rossi
Active Contributor
0 Kudos

What dump? Did you check the SAP corrections? Otherwise, I guess you'd better reproduce the issue using a standard form, and then ask the SAP support to investigate.

vinita_kasliwal
Active Contributor
0 Kudos

H Karthik
The reason you get that error is because the first line of the FM says the maximum number is 1000000000 and your number is greater than this value

The only way is to copy this and create a higher maxno value and should work you may also want to include text as well like what do you call  it after a crore etc..

Refer screenshot below

Regards

Vinita

Chintu6august
Contributor
0 Kudos

Hi,

you can make use of FM HR_IN_CHG_INR_WRDS or SPELL_AMOUNT.

thank you!!