I_CustomCDSViewAggregation
Custom CDS View Aggregation
I_CustomCDSViewAggregation is a Basic CDS View that provides data about "Custom CDS View Aggregation" in SAP S/4HANA. It reads from 2 data sources (dd07l, dd07t) and exposes 3 fields with key field Aggregation.
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | APS_CCV_I_AGG | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Custom CDS View Aggregation | view | |
| ObjectModel.resultSet.sizeCategory | #XS | view | |
| ObjectModel.representativeKey | Aggregation | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| Search.searchable | true | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Aggregation | |||
| AggregationText | dd07t | ddtext | ||
| CurrentScenario |
@AbapCatalog.sqlViewName: 'APS_CCV_I_AGG'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Custom CDS View Aggregation'
@ObjectModel : { resultSet.sizeCategory: #XS }
@ObjectModel.representativeKey: 'Aggregation'
@Metadata.ignorePropagatedAnnotations:true
@VDM.viewType: #BASIC
@ObjectModel.dataCategory: #VALUE_HELP
@Search.searchable: true
define view I_CustomCDSViewAggregation
as select from dd07l
left outer join dd07t as text on text.domname = dd07l.domname
and text.as4local = dd07l.as4local
and text.as4vers = dd07l.as4vers
and text.valpos = dd07l.valpos
and text.ddlanguage = $session.system_language
{
@ObjectModel.text.element: ['AggregationText']
key substring(dd07l.domvalue_l, 1, 1) as Aggregation,
@Search.defaultSearchElement: true
text.ddtext as AggregationText,
@ObjectModel: { readOnly: true, virtualElement : true,
filter.transformedBy: 'ABAP:CL_CCV_FILTER_AGGREG_TR_EXIT' }
@Consumption.filter.hidden: true
cast('' as aps_ccv_scenario) as CurrentScenario
}
where
dd07l.domname = 'APS_CCV_AGGREGATION'
and dd07l.as4local = 'A';
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA