Application Development and Automation 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: 
Read only

amount in words

Former Member
0 Likes
693

Hi,

I have to get the total amount in words. Im using spell_amount FM.

suppose amount is 330.40

If the currency is INR it should get the amount like Rupees three hundred thirty and forty only

If the currency is USD it should get the amount like Dollar three hundred thirty and forty only.

How can i get this.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
628

Hi,

Use Program RF_SPELL to get total amount in WORDS.

But i am not sure we can get like "Rupees three hundred thirty and forty only" instead it would be like THREE HUNDRED THIRTY FORTY.

Or else u can use the same FM spell_amount to get the amount in words. Here u may need to combine the 2 fields in the structure of exporting parameters like WORD and DECWORD.

If u need to get Ruppes or Dollar infront of it u may have to pick it from table TCURC, i believe....by putting currency as input....

Regards,

ABAPer 007

Hi,

I have to get the total amount in words. Im using spell_amount FM.

suppose amount is 330.40

If the currency is INR it should get the amount like Rupees three hundred thirty and forty only

If the currency is USD it should get the amount like Dollar three hundred thirty and forty only.

How can i get this.

3 REPLIES 3
Read only

abapdeveloper20
Contributor
0 Likes
628

Hi,

Use this FM based on your selection conditon

CONVERT_TO_FOREIGN_CURRENCY Translate local currency amount into foreign currency

CONVERT_TO_LOCAL_CURRENCY Translate foreign currency amount to local currency

Regards

Lakshmiraj

Read only

Former Member
0 Likes
629

Hi,

Use Program RF_SPELL to get total amount in WORDS.

But i am not sure we can get like "Rupees three hundred thirty and forty only" instead it would be like THREE HUNDRED THIRTY FORTY.

Or else u can use the same FM spell_amount to get the amount in words. Here u may need to combine the 2 fields in the structure of exporting parameters like WORD and DECWORD.

If u need to get Ruppes or Dollar infront of it u may have to pick it from table TCURC, i believe....by putting currency as input....

Regards,

ABAPer 007

Read only

Former Member
0 Likes
628

Use FM SPELL_AMOUNT

Rewards if this helps you