2007 Apr 02 4:07 AM
Hi all,
In my report I need to diaplay the amout fields with out decimal I tried with moving to integer and using type n.. but I am facing problem to display the amount in TWD currency, I could not able to use paked decimal, If I use paked decimal I could able to see the result in debugging but output screen is blank..
To avoid decimal points what is the way..
Please help me in this..
Thank you
hi Haritha,
do this way ...
data : v_p(13) type p decimals 0,
v_f type f .
v_p = v_f.
write : v_p.Regards,
Santosh
2007 Apr 02 4:28 AM
Hi,
Defined a new variable of type p and decimals 0. Check this code.
DATA: l_value TYPE vbap-netwr VALUE '123.45'.
DATA: l_disp TYPE p DECIMALS 0.
l_disp = l_currency.
WRITE:/ l_disp."No decimal value on output
Let me know if you have any question.
Regards,
Rs
2007 Apr 02 4:56 AM
hi Haritha,
do this way ...
data : v_p(13) type p decimals 0,
v_f type f .
v_p = v_f.
write : v_p.Regards,
Santosh
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |