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

HELLO ALL I NEED HELP

Former Member
0 Likes
952

HELLO ALL.

WHEN I MKE AN INVOICE SHEET I NEED TO CONVERT A TOTAL PRICE TO WORDS

THANKS.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
923

use this..

REPORT ZTESTPROG004.

DATA words LIKE SPELL.

parameters: p_number type i.

CALL FUNCTION 'SPELL_AMOUNT'

EXPORTING

AMOUNT = p_number

LANGUAGE = SY-LANGU

IMPORTING

IN_WORDS = words

.

WRITE words-word.

or use this ..

parameters:p_amt like PC207-BETRG.

data: word(50) type c .

CALL FUNCTION 'HR_IN_CHG_INR_WRDS'

EXPORTING

amt_in_num = p_amt

IMPORTING

AMT_IN_WORDS = word .

write:/ word .

use this..

REPORT ZTESTPROG004.

DATA words LIKE SPELL.

parameters: p_number type i.

CALL FUNCTION 'SPELL_AMOUNT'

EXPORTING

AMOUNT = p_number

LANGUAGE = SY-LANGU

IMPORTING

IN_WORDS = words

.

WRITE words-word.

or use this ..

parameters:p_amt like PC207-BETRG.

data: word(50) type c .

CALL FUNCTION 'HR_IN_CHG_INR_WRDS'

EXPORTING

amt_in_num = p_amt

IMPORTING

AMT_IN_WORDS = word .

write:/ word .

6 REPLIES 6
Read only

GauthamV
Active Contributor
0 Likes
923

hi,

to convert amount to words use ' SPELL_AMOUNT' function module.

reward points if hlpful.

Read only

Former Member
0 Likes
923

Ahmed,

if you want convery into INR than HR_IN_CHG_INR_WRDS would help else Spell_amount.

Amit.

Read only

Former Member
0 Likes
923

hiiii

use spell_word FM.it will solve your problem

reward if useful

thx

twinkal

Read only

Former Member
0 Likes
923

HI,

USE FM HR_IN_CHG_INR_WRDS

RGDS.,

SUBASH

Read only

athavanraja
Active Contributor
0 Likes
923

Request you to kindly use a meaningful subject line than just typing Hi, help etc

Thanks for understanding.

Regards

Raja

Read only

Former Member
0 Likes
924

use this..

REPORT ZTESTPROG004.

DATA words LIKE SPELL.

parameters: p_number type i.

CALL FUNCTION 'SPELL_AMOUNT'

EXPORTING

AMOUNT = p_number

LANGUAGE = SY-LANGU

IMPORTING

IN_WORDS = words

.

WRITE words-word.

or use this ..

parameters:p_amt like PC207-BETRG.

data: word(50) type c .

CALL FUNCTION 'HR_IN_CHG_INR_WRDS'

EXPORTING

amt_in_num = p_amt

IMPORTING

AMT_IN_WORDS = word .

write:/ word .