cancel
Showing results for 
Search instead for 
Did you mean: 

Sum annotation duplicates records in Fiori list report

DeepeshSaxena
Participant
0 Kudos

Hi
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.

Accepted Solutions (1)

Accepted Solutions (1)

mdcastle
Active Participant
0 Kudos

Check the key is correct in the view exposed as the OData service. Also check any association join conditions.

DeepeshSaxena
Participant

Hi,
Thanks, yes it was the key issue. So it took the keys from RESB table in my view to make them unique.

Answers (0)