CDS @cds.persistence.exists Annotation
A Calculation View is a modeled artifact in SAP HANA Cloud that enables developers to define complex analytical queries — including joins, aggregations, and projections — directly within the database layer. In a CAP (Cloud Application Programming Model) project, developers expose Calculation Views as part of a service by referencing them through the HDI (HANA Deployment Infrastructure) container, allowing the views to be consumed via OData or other service endpoints. This approach leverages SAP HANA Cloud's in-database processing power while integrating with the CAP framework for service exposure.
Tutorials that teach this
Prerequisites
- Concept Core Data Services (CDS) The concept name was not provided (marked as "undefined"), and the supplied source snippets do not contain enough specific detail to accurately define a particular SAP developer concept — they consist primarily of titles, navigation references, and tutorial names without substantive explanatory content. Based on the available sources, the closest identifiable topics are the [ABAP RESTful Application Programming Model](https://help.sap.com/docs/btp/sap-business-technology-platform/33a301e3fff5404e89f090910f7bd978?locale=en-US&state=PRODUCTION&version=Cloud) and the [SAP Cloud Application Programming Model](https://help.sap.com/docs/btp/sap-business-technology-platform/00823f91779d4d42aa29a498e0535cdf?locale=en-US&state=PRODUCTION&version=Cloud), both of which are frameworks developers use to build enterprise applications on SAP Business Technology Platform. Without a defined concept name and sufficient source detail, a fully grounded definition cannot be produced.
- Concept CAP Framework (Cloud Application Programming Model) The concept name was not provided, so a precise definition cannot be determined. Based on the available sources, [SAP Business Technology Platform (SAP BTP)](https://help.sap.com/docs/btp/sap-business-technology-platform/c2fec62b49fa43b8bd945c85ecc2e5bd?locale=en-US&state=PRODUCTION&version=Cloud) is a platform on which developers build and run business applications, choosing from development environments, tools, APIs, and [programming models](https://help.sap.com/docs/btp/sap-business-technology-platform/042061da2e964b7eab3c7ec2a5cc7ece?locale=en-US&state=PRODUCTION&version=Cloud) such as ABAP Cloud and the SAP Cloud Application Programming Model (CAP). Developers use it to create full-stack business applications, following best practices to select the approach that best suits their requirements.