on 2024 Dec 31 4:10 AM
S4 HANA cloud,How to use the SUM function in CDS?
The consultant added the calculation field to the CDS and used the SUM function and the group by function in the filter. As a result, we got the value of the total.
Does this comply with SAP specifications? Is there another way to help advisors calculate totals in CDS?
Request clarification before answering.
In order to add the Calculation in CDS view follow the below steps
For more information, please check: SAP Help Portal | Calculated Fields
If you want to sum two fields in a Custom CDS View, you cannot perform the aggregation directly. However, you can set a default aggregation, such as SUM, in the field properties
You can also refer the existing thread
How to do Calculations in CDS View While creating ... - SAP Community
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
50 | |
9 | |
8 | |
6 | |
5 | |
5 | |
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.