on 04-29-2008 12:34 PM
hello experts,
i am using spell_amount function but not getting output,
can any one pls tell how to pass those parameters, i have one amount field , thal value ineed to convert into words , but when i am executing my report its going into dump. when simply iam displaying that with write statement its showing in words after displying my smartform.
thanks
priyanshu
Hi,
Please check this
DATA: L_AMOUNT(10) TYPE N,
SPELL LIKE SPELL.
CALL FUNCTION 'SPELL_AMOUNT'
EXPORTING
LANGUAGE = SY-LANGU
CURRENCY = SY-WAERS
AMOUNT = L_AMOUNT
IMPORTING
IN_WORDS = SPELL.
reward if helpful
raam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
actually i have to print the data what i am getting in my internal table's amount field. and i need to display it on my smartform. but i am not getting. wt u sent i did bt still im its nt coming. is that table of type spell is also i have pass in form interface , i hav tried this also. wt should i do pls help.
thanks
priyanshu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Please make sure the import params and the export params are of same type assignment as in the function module.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.