A CDS view (Core Data Services view) is a virtual data model used in the SAP HANA database and ABAP environment to define semantic layers on top of database tables. It allows for modular, reusable, and optimized data access, especially useful for reporting and analytics in SAP S/4HANA.
Key Features:
- Reusable views of data from one or more database tables
- Annotation-based metadata (e.g., for UI, analytics, OData)
- Support for association instead of joins
- Performance optimized (processed by SAP HANA)
- Enables data modeling in the ABAP layer
Types of CDS Views
Type | Description |
---|---|
Basic Views | Directly reflect database tables, no logic |
Composite Views | Combine multiple basic views |
Consumption Views | Used by UI or analytics apps, final layer |