on 04-21-2006 11:35 AM
hi
i would like to know if its possible to convert a data given as an integer in the parameter field to its relevant text.
thanks,
jyothi
Hi,
Use the Function Module:- SPELL_AMOUNT to get the spelling of the number entered.
e.g
Input 100
Output One hundred
If you want to change the data type from number to char then directly assign it to a variable of type char.
Hope this is helpful.
Regards,
Sameena
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you want to convert the number into corresponding text,
you can use FM
<b>SPELL_AMOUNT.</b>
If you just want to assign integer value to string, you can directly assign or use MOVE.
Regards,
Shashank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Jyothi,
WELCOME TO SDN
you can use<b> CASE ENDCASE</b> Statement for that ...i.e, based on the value that u give as a parameter in a selection screen and display the text accordingly....
Regards,
Santosh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yes use direct assignment to char variable of lenght u want
or if u want number to relevent word then use
i.e 1-> one
2-->two
then use follwing function module
HR_IN_CHG_INR_WRDS -
number (price) to words.
SPELL_AMOUNT -
Same
Message was edited by: Manoj Gupta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.