2008 Nov 10 12:58 PM
Hi All,
I am displaying cost center in my report.
For example: for am employee his amount is 1,9263
second employee salary is 2,5632
these two employees comes under one cost center so i am adding these two .
i declared these two variables as char type befor adding i am replacing ',' wiht space and i used condense to remove spaces.
when i added above two vales i got the value as 44895. i passed this value to one variable ita type of BSEG-DMBTR.
in debug i sam initially its value is '0.00' so when i write write command as follows.
write : lv_tol to lt_final-ftoamount currency lv_waers.
now its value is : 4,485,00. but actual value is 4,485 anybody can tell me how to do this.
thanks,
maheedhar
2008 Nov 10 3:20 PM
4,485,00. but actual value is 4,485 anybody can tell me how to do this.
the amount is 4,485.00 , the last 2 digits are decimal values.
your are getting the value 4,485,00.
please change the user settings.
system-> user profile-> own data--> under default tab the amount shoud be 1,234,567.90 format.
Hi All,
I am displaying cost center in my report.
For example: for am employee his amount is 1,9263
second employee salary is 2,5632
these two employees comes under one cost center so i am adding these two .
i declared these two variables as char type befor adding i am replacing ',' wiht space and i used condense to remove spaces.
when i added above two vales i got the value as 44895. i passed this value to one variable ita type of BSEG-DMBTR.
in debug i sam initially its value is '0.00' so when i write write command as follows.
write : lv_tol to lt_final-ftoamount currency lv_waers.
now its value is : 4,485,00. but actual value is 4,485 anybody can tell me how to do this.
thanks,
maheedhar
2008 Nov 10 3:20 PM
4,485,00. but actual value is 4,485 anybody can tell me how to do this.
the amount is 4,485.00 , the last 2 digits are decimal values.
your are getting the value 4,485,00.
please change the user settings.
system-> user profile-> own data--> under default tab the amount shoud be 1,234,567.90 format.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |