2007 Nov 05 7:05 AM
Hi Abapers ,
I have a problem in which there is a requiremenr to convert the given amount into the alphabets of indonesian language ...
plz tell me is there any FM available to do so ....
Plz help it is urgent
Thnks
Sahil
Hi Abapers ,
I have a problem in which there is a requiremenr to convert the given amount into the alphabets of indonesian language ...
plz tell me is there any FM available to do so ....
Plz help it is urgent
Thnks
Sahil
2007 Nov 05 7:06 AM
2007 Nov 05 7:07 AM
2007 Nov 05 7:14 AM
Hi,
use Function Module : HR_IN_CHG_INR_WRDS
take help from code as below :
Data : amt type PC207-BETRG VALUE '1234.90'.
data : amt_in_words(100).
CALL FUNCTION 'HR_IN_CHG_INR_WRDS'
EXPORTING
amt_in_num = amt
IMPORTING
AMT_IN_WORDS = AMT_IN_WORDS
EXCEPTIONS
DATA_TYPE_MISMATCH = 1
.
write : amt_in_words.
Regards,
Sandeep Kaushik
2007 Nov 05 7:20 AM
Hi Sahil,
To convert into ur required language.
u can use FM
CALL FUNCTION 'SPELL_AMOUNT'
EXPORTING
AMOUNT = 0
CURRENCY = ' '
FILLER = ' '
LANGUAGE = SY-LANGU
IMPORTING
IN_WORDS =
EXCEPTIONS
NOT_FOUND = 1
TOO_LARGE = 2
OTHERS = 3
here u input ur amount
and change to language what u r using(instead of EN)
and store it in_words only.
If it is helpfull pls reward pts.
Regards
Srimanta
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |