cancel
Showing results for 
Search instead for 
Did you mean: 

FM 'SPELL_AMOUNT' returns incorrect words for currency 'CLP' and language 'ES'

former_member199670
Participant
0 Kudos
503

Hello All,

I am using FM 'SPELL_AMOUNT' to get the amount in words for CLP currency (no decimal) with ES language which will be printed in the form output.

For the amount 23,184,818 the FM returns with 'VEINTITRES MILLONES 100 OCHENTA Y CUATRO MIL OCHOCIENTOS DIECIOCHO' which seems incorrect.

The correct words are 'VEINTITRÉS MILLONES CIENTO OCHENTA Y CUATRO MIL OCHOCIENTOS DIECIOCHO'.

I did go through some of the post about this and tried without giving currency in the input as well but still the result is same.

Please provide your suggestion or relevant note for this issue.

Sandra_Rossi
Active Contributor

Just to see better what is different:

VEINTITRES MILLONES 100    OCHENTA Y CUATRO MIL OCHOCIENTOS DIECIOCHO

VEINTITRÉS MILLONES CIENTO OCHENTA Y CUATRO MIL OCHOCIENTOS DIECIOCHO

So, E -> É and 100 -> CIENTO

Sandra_Rossi
Active Contributor
0 Kudos

In my system, I get:

VEINTITRES MILLONES CIENTO OCHENTA Y CUATRO MIL OCHOCIENTOS DIECIOCHO
Sandra_Rossi
Active Contributor

All names are customized in table T015Z (referring to the note indicated by Dominik)

former_member199670
Participant

Hello sandra.rossi,

Thanks for your response.

Even i am also getting the same as follow in my other project system if i run that FM without currency.

VEINTITRES MILLONES CIENTO OCHENTA Y CUATRO MIL OCHOCIENTOS DIECIOCHO

Only in Mexico system i am facing that certain issue.

Thanks

Sandra_Rossi
Active Contributor

Still works without any problem with CLP.

Do you have a minimal reproducible program that fails in Mexico and succeeds in your other system? Did you make sure that the table T015Z has the same values in both systems?

Accepted Solutions (1)

Accepted Solutions (1)

DominikTylczyn
Active Contributor

Hello sreemani

Check out the note 417880 - SPELL_AMOUNT: Spanish

Best regards

Dominik Tylczynski

former_member199670
Participant

Hello Dominik Tylczynski,

Thanks for your quick response.

I guess the note 417880 is old one and we are in higher support package.

I have gone through those corrections manually and could see its already there in the system.

Thanks

DominikTylczyn
Active Contributor

sreemani

The value of the 417880 note is that it provides the T015Z table that drives the SPELL_AMOUNT function. You can adjust its content according to your needs.

former_member199670
Participant

Hello 3a9e4ce873a94034b33dc62b0ce600ee and sandra.rossi

Thanks your continues response on this issue.

Yes, there is a record in the table which needs to be changed as follow.

From : ES X 1 100 ; (101 - 199)

TO : ES X 1 CIENTO ; (101 - 199)

Post this change, I am able to get correct wordings for the given amount.Thanks Manimaran K
Sandra_Rossi
Active Contributor
0 Kudos

sreemani Thanks for the feedback!

Answers (0)