on 10-15-2007 12:19 PM
hi guru's,
i hav a need to print total amount in words in sap script , how can i ?
eg : tot amt = Rs 1000 ( in figures)
in words : one thousand rupees only .
i hope i'l get the answer.
with regards.
Narasimha.
hi Lakshmi,
try it plx
DATA v_int TYPE i VALUE '1000'.
DATA words LIKE SPELL.
CALL FUNCTION 'SPELL_AMOUNT'
EXPORTING
AMOUNT = v_int
LANGUAGE = SY-LANGU
IMPORTING
IN_WORDS = words
.
WRITE words-word.
Regards,
Allan Cristian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
use this F.M
CALL FUNCTION 'HR_IN_CHG_INR_WRDS'
EXPORTING
amt_in_num = SUM
IMPORTING
AMT_IN_WORDS = WORDS
EXCEPTIONS
DATA_TYPE_MISMATCH = 1
OTHERS = 2
.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check with spell_amount.
Assign points if useful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
Use the FM <b>SPELL_AMOUNT</b>
reward points.
regards,
sujatha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.