on 07-26-2020 1:52 PM
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.
Check the key is correct in the view exposed as the OData service. Also check any association join conditions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks, yes it was the key issue. So it took the keys from RESB table in my view to make them unique.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.