cancel
Showing results for 
Search instead for 
Did you mean: 

"spell" strange behavior

sergio_cifuentes
Participant
0 Kudos

I got the spell-amount and the spell-decimal in a sap script, my first questions is how this variables are filled? because, if i use the exact same sap script with different company code but with the same amount, it prints different values for example:

Sapscript Company Code Value Prints

zfi_chq 4000 &SPELL-WORD(50)& CON &SPELL-DECIMAL(2)&/100 1692.32 "UN MIL SEISCIENTOS NOVENTA Y DOS**********************CON 32/100" GOOD

zfi_chq 5000 &SPELL-WORD(50)& CON &SPELL-DECIMAL(2)&/100 1692.32 "UN MIL SEISCIENTOS NOVENTA Y DOS blank space (about 20) CON 32/100" BAD

My second question is, are there any configuration or table value that determines the filled character in the spell-amount??

thanks,

Sergio.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Sergio,

This is vamsykrishna.

As u know how to display amount in words using spell_amount.

iam correctly displaying the amount but amount in decimal is not coming.

can u please give me the idea or some code or any changes in spell_amount Function module.

This is an urgent requirement.

pl help me regarding this.

mail id: vamsyy&tsth.info

Former Member
0 Kudos

use this function module u can get the decimals also.

HR_IN_CHG_INR_WRDS

IF HELPFUL GIVE ME THE POINTS.

Regards,

Venkat

Answers (0)