cancel
Showing results for 
Search instead for 
Did you mean: 

sap scripts

Former Member
0 Kudos

hi,

How to convert Price of amount in words?

uday kiran

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Uday,

As Jelena said we need to use the Fun Module :SPELL_AMOUNT

pls pass this as required...

Pls go to se37 and enter the values so that you can see what you are getting exactly...

Description ...

Function module SPELL_AMOUNT converts an amount or number into words. It

can be used as follows:

1. Convert a number into words

To do this, the transfer parameters LANGUAGE and AMOUNT have to be

entered.

2. Convert an amount into words

To do this, the fields LANGUAGE, CURRENCY, and AMOUNT have to be

entered.

3. Set the number of places before and after the decimal point for an

amount

To do this, the parameters CURRENCY and AMOUNT have to be entered.

The LANGUAGE field must be transferred with the value SPACE! This

option optimizes the runtime of the function module.

The structure SPELL transfers the converted amounts. The FB enters the

number of places before and after the decimal point in the NUMBER and

DECIMAL fields, the amount in words in the WORD and DECWORD fields, and

the figure in words in the DIGnn fields. The numbers converted into

words can be protected by a star or some other FILLER.

If you need further assistance pls let us know, Happy to help u

Regards,

Viveks

Jelena
Active Contributor
0 Kudos

Use the function module SPELL_AMOUNT. You might need ABAPer's help with this.