09-26-2016 10:08 AM
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
09-26-2016 10:21 AM
I hope other function module also available.
call function 'SPELL_AMOUNT' Have you know or Tried.
09-26-2016 11:27 AM
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.
09-26-2016 11:23 PM
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
09-27-2016 6:27 AM
Hi,
you can make use of FM HR_IN_CHG_INR_WRDS or SPELL_AMOUNT.
thank you!!