C_MDBusPartChgProcessYrMnthVH

DDL: C_MDBUSPARTCHGPROCESSYRMNTHVH Type: view_entity CONSUMPTION

Creation Year Month

C_MDBusPartChgProcessYrMnthVH is a Consumption CDS View that provides data about "Creation Year Month" in SAP S/4HANA. It reads from 1 data source (I_CalendarDate) and exposes 1 field with key field CreationYearMonth.

Data Sources (1)

SourceAliasJoin Type
I_CalendarDate I_CalendarDate from

Annotations (11)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Creation Year Month view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.representativeKey CreationYearMonth view
VDM.viewType #CONSUMPTION view
Search.searchable true view
Consumption.ranked true view

Fields (1)

KeyFieldSource TableSource FieldDescription
KEY CreationYearMonth YearMonth
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #MANDATORY
@EndUserText.label: 'Creation Year Month'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
  serviceQuality: #C,
  sizeCategory: #S,
  dataClass: #TRANSACTIONAL
}
@ObjectModel.dataCategory: #VALUE_HELP
@ObjectModel.representativeKey:'CreationYearMonth'
@VDM.viewType: #CONSUMPTION
@Search.searchable: true
@Consumption.ranked: true
define view entity C_MDBusPartChgProcessYrMnthVH  
  as select from I_CalendarDate
{
  @Semantics.calendar.yearMonth: true
  @Search.defaultSearchElement: true
  @Search.fuzzinessThreshold: 0.7
  @Search.ranking: #HIGH
  key YearMonth  as CreationYearMonth

}
  where  CalendarDate <= $session.system_date
    and  CalendarDate >= dats_add_months($session.system_date,-6,'FAIL')
group by
  YearMonth;
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CALENDARDATE"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/