on 05-22-2009 10:31 AM
hii
All,
i have check in smart forms,and its printing amount in words like that
TWO LACS FIFTY EIGHT THOUSNAD THREE HUNDRED AND FIFTY TWO paise.
nd I want this paise in capital letters..pls help me out.
advance thanks.
change this variable which contents the amount as UPPERCASE before displaying it, means create a program line & add the below code in it before displaying:
TRANSLATE amount TO UPPER CASE.
With luck,
Pritam.
Edited by: Pritam Ghosh on May 22, 2009 11:53 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks to all of u..my problem is resolved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I believe the word 'paise' would be in a standard text.
Moreover, the spell amount would have been as follows...
TWO LACS FIFTY EIGHT THOUSNAD THREE HUNDRED ( RUPEES ) AND FIFTY TWO paise.
Regards,
Ram
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 function module " SPELL_AMOUNT" and to that one send the amount, Currency to that function module and it will export you the amount in words using the exporting parameter In_Words structure and there display the field Word followed by the hardcoded word Rupees and then the field Decword followed by the hardcoded word PAISE as per your requirement.
Hope this will help you.
Regards,
Venkat.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
look in your form, i´m pretty sure that paise is hardcoded there, since the FM Spell amount is not capable to bring it up.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
I think 'paise' is hardcoded word.
once check that one.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Runal Kesarwani,
Well u can do it in many ways...
to get the amount in capital...u can use
TRANSLATE amount TO UPPER CASE.
i had one similar requirement, where i had to make the word "paisa" in capital letters, at a fixed position...so rather than writing code and converting, i had simply typed the word paisa in capital...kind of hardcoded. coz the requirement was such.
u can even convert the word paisa or the whole amount along with the word paisa into capital using the function module in ur driver program.
or else, convert the amount in capital first and then concatenate the word PAISA (in capital) to it and save it in a variable and pass it onto the form.
Hope these ways would help u out...
Regards,
Radhika
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Even you can use translate statement in driver program and sen that varible to sapscript.using the FM
'TEXT_SYMBOL_SETVALUE'.
TRANSLATE amount TO UPPER CASE
Program lines will decrease the performance . where ever possible use driver program instaed of program lines.
Thanks,
Suma.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
translate amount in upper case
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 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.