I am generating a sales analysis. I was wandering why my Sales Analysis field displays 21 Invoices. (see the screenshot. 1)
But when I generate a query for this, it shows 22 invoices.
Here is my query:
SELECT
DocNum, DocDate, TaxDate, DocStatus, Printed, t2.*
FROM
OSLP t1 LEFT JOIN OINV t2 ON t1.SlpCode = t2.SlpCode
WHERE t1.SlpCode = -1
AND (DocDate BETWEEN '06/18/2014' AND '06/18/2014')
AND (DocDueDate BETWEEN '07/18/2014' AND '07/18/2014')
AND (TaxDate BETWEEN '06/18/2014' AND '06/18/2014')
ORDER BY t2.DocNum
All other Sales Employee shows the sames number of invoice as my query.
But not the -No Sales Employee-
Kindly explain at me why they are not the same.
Or is there any factor that will exclude invoice in the Sales Analysis report.
I'd also checked the SAP Note and the invoice does not fall into the following which SAP stated will be excluded.
- If you base an A/R credit memo on an A/R down payment invoice, that A/R credit memo does not appear in the report.
- Cancelled sales orders do not appear in the report.
- Returns are displayed as part of delivery notes and they decrease the sales amount.