2008 Jun 17 8:25 AM
HELLO ALL.
WHEN I MKE AN INVOICE SHEET I NEED TO CONVERT A TOTAL PRICE TO WORDS
THANKS.
2008 Jun 17 9:19 AM
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 .
HELLO ALL.
WHEN I MKE AN INVOICE SHEET I NEED TO CONVERT A TOTAL PRICE TO WORDS
THANKS.
2008 Jun 17 8:26 AM
hi,
to convert amount to words use ' SPELL_AMOUNT' function module.
reward points if hlpful.
2008 Jun 17 8:28 AM
Ahmed,
if you want convery into INR than HR_IN_CHG_INR_WRDS would help else Spell_amount.
Amit.
2008 Jun 17 8:30 AM
hiiii
use spell_word FM.it will solve your problem
reward if useful
thx
twinkal
2008 Jun 17 8:34 AM
2008 Jun 17 9:18 AM
Request you to kindly use a meaningful subject line than just typing Hi, help etc
Thanks for understanding.
Regards
Raja
2008 Jun 17 9:19 AM
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 .
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |