on 02-24-2016 3:15 PM
Hi Experts,
I made a query with SQ01 and I need to show a negative amount as a positive amount. How can I do that?
Thanks in advance.
Hi Karina
I had to display the net value of the canceled billing document as negative in the billing report. The cancelled billing document field gave it a short name CAN and created a local field with the logic CAN>0 N*-1. The images are attached here with.
Please go through the this content for adding local field
Thanks, hope it helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
apart from what you've been suggested above, if you're bit fond of coding then go to SQ02 --> Extras --> create additional field and amend the sample code as per your requirement.
CLEAR ZXXX.
SELECT SINGLE KWERT INTO ZXXX FROM KONV
WHERE KNUMV EQ VBRK-KNUMV AND KPOSN EQ VBRP-POSNR
AND KSCHL EQ 'MWST'.
ZXXX = ZXXX* ( -1 ).
This shows that i picked the amount first in my local field named as ZXXX and put the logic to multiple it with -1. In case you need any further help on this, please feel free to ask. Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.