Skip to Content
Jul 26, 2020 at 12:52 PM

Sum annotation duplicates records in Fiori list report

210 Views Last edit Jul 27, 2020 at 09:19 AM 2 rev

I am building a custom read only firoi list report for supply mgmt data, it is build on CDS using associations and unions among RESB, MARD, PBED/IM and standard view I_MaterialStock_Agg to return the stock values. The requirement is to display the sum for all values which are quantities.

The list report shows correct data if there is no sum annotation in the consumption view, the moment i add the @DefaultAggregation:#SUM to any one of the quantity field, the list report duplicates the data, i don't understand why. Any help is appreciated.