on 04-05-2007 10:21 AM
I have a problem in converting the amount in figures to words.how can i do this by writing code inside smartforms itself.
Hi Nisha,
Did you use SPELL_AMOUNT function module? or
HR_IN_CHG_INR_WRDS
Regards,
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nisha
you can write code inside a smartform by creating program lines under the window.
in the program lines,give in input and output parameters ,these are nothing but the inputs u use inside the code and output parameters are the final variable(s) which you will displaying the text in.
use the function module SPELL_AMOUNT
for this pass the variables
CALL FUNCTION 'SPELL_AMOUNT'
EXPORTING
AMOUNT = '100.00'
CURRENCY = ' v_waers'
FILLER = ' SPACE'
LANGUAGE = SY-LANGU
IMPORTING
IN_WORDS = IN_WORDS
EXCEPTIONS
NOT_FOUND = 1
TOO_LARGE = 2
.
hope this is clear.
Reward points if helpful.
Regards
Zarina
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.