Sq02 ABAP coding for extra field
Hi experts ,
I have created a Query to find the difference in PO value and Invoice Value . I have defined a Extra field named " Difference" and got the value but I am unable to code the below cases
where one PO line has more than one Invoice . I want to code so that System add all Invoices posted on PO line .
So for example
PO line 100
Invoice 1 50
Invoice 2 50
Total of Invoice for Line iten is 100 so difference is 0 . Right now I am getting 2 separted line and -50 each in difference Field .