2008 Mar 25 3:19 PM
Hi Frds
Im Displaying the amount of the project in my report.For some of the project the amount will be in negative..But in my report output the negative sign is not coming.
Kindly tell me how to bring negative sign in the output and give some sample coding of its.
Thanks
Pari
2008 Mar 25 3:21 PM
Hi,
multiply the amount by -1.
Probabaly you may get -ve sign.
Thanks,
Sriram Ponna.
Hi Frds
Im Displaying the amount of the project in my report.For some of the project the amount will be in negative..But in my report output the negative sign is not coming.
Kindly tell me how to bring negative sign in the output and give some sample coding of its.
Thanks
Pari
2008 Mar 25 3:21 PM
Hi,
multiply the amount by -1.
Probabaly you may get -ve sign.
Thanks,
Sriram Ponna.
2008 Mar 25 3:23 PM
do this way ...
data : v_amount like bseg-dmbtr value '400.00'.
v_amount = v_amount * -1.
write : v_amount.
2008 Mar 25 3:27 PM
Hello,
Not sure exactly what the details of your problem are but in SAP/FI
line item amounts will be stored without a sign. If an amount is a debit or
credit will be indicated by a field called debit/credit indicator eg BSEG-SHKZG.
You may then check the value of the debit credit indicator and make your amounts
negative by multiplying them by -1 before writing them in your report.
Hope this helps a bit
Regards
Greg Kern
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |