I_CustomCDSViewAggregation

DDL: I_CUSTOMCDSVIEWAGGREGATION SQL: APS_CCV_I_AGG Type: view BASIC

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.

Data Sources (2)

SourceAliasJoin Type
dd07l dd07l from
dd07t text left_outer

Annotations (10)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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';