on 02-26-2008 8:43 AM
hi experts,
In my smartforms,i have a variable temp_menge which is having value 1000000 but i want to get it displayed as 1,000,000.How to write the same.?????
Thanks,
Gaurav
Hi Gaurav,
Have u checked the user settings ?? as ouput also depends upon user settings.
if not then check them once and in the driver program u can define a variable like A1(20) type char.
and then
if its item level quantity, in the loop
write : itab-quantity to a1 unit 'KG'.
and then call this variable a1 in the script.
I think this might solve ur problem.
Reward points for helpful answers
Cheers,
Deepthee Kasal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gaurav,
Prior to display, write it to a variable of type QUAN/CURR. This will solve your problem automatically.
Regards,
Narendra.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
it can be done in two ways:
1. create a structure with fields for MENGE (Quantity) and MEINS (UoM), where MENGE has reference to MEINS. once you use the MENGE field in the text element it automatically handles decimals and commas.
2. write the menge field to a CHAR variable with unit and use that character variable in the text element.
Hope this solves your problem
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.