I_PaytRunPlanWeekOfMonthText

DDL: I_PAYTRUNPLANWEEKOFMONTHTEXT SQL: IWEEKOFMONTHT Type: view BASIC

Text of Week in Month

I_PaytRunPlanWeekOfMonthText is a Basic CDS View that provides data about "Text of Week in Month" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 6 fields with key fields Language, WeekOfMonth. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_Language _Language $projection.Language = _Language.Language

Annotations (17)

NameValueLevelField
AbapCatalog.sqlViewName IWEEKOFMONTHT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.dataExtraction.enabled true view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Text of Week in Month view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.dataCategory #TEXT view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #META view
ObjectModel.resultSet.sizeCategory #XS view
ObjectModel.representativeKey WeekOfMonth view
Search.searchable true view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY Language
KEY WeekOfMonth
DomainValue dd07t domvalue_l
WeekOfMonthName dd07t ddtext
_WeekOfMonth _WeekOfMonth
_Language _Language
@AbapCatalog.sqlViewName: 'IWEEKOFMONTHT'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Analytics.dataExtraction.enabled: true
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Text of Week in Month'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel: {
  dataCategory: #TEXT,
  usageType: {
    serviceQuality: #B,
    sizeCategory:   #S,
    dataClass:      #META
  },
   resultSet.sizeCategory: #XS
}
@ObjectModel.representativeKey: 'WeekOfMonth'
@Search.searchable: true
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.viewType: #BASIC
define view I_PaytRunPlanWeekOfMonthText
  as select from dd07t 
  association to parent I_PaytRunPlanWeekOfMonth as _WeekOfMonth
    on $projection.WeekOfMonth = _WeekOfMonth.WeekOfMonth
  association [0..1] to I_Language as _Language      
    on $projection.Language = _Language.Language
{
      @ObjectModel.foreignKey.association: '_Language'
      @Semantics.language: true
  key cast( dd07t.ddlanguage as spras preserving type ) as Language, 
      @ObjectModel.foreignKey.association: '_WeekOfMonth'
      @ObjectModel.text.element: ['WeekOfMonthName']
  key cast( dd07t.domvalue_l as fap_mpp_weekofmonth ) as WeekOfMonth,
      @Analytics.hidden: true
      @Consumption.hidden: true
      dd07t.domvalue_l as DomainValue,
      @Search.defaultSearchElement: true
      @Search.fuzzinessThreshold: 0.8
      @Search.ranking: #HIGH
      @Semantics.text: true
      dd07t.ddtext as WeekOfMonthName,
//      cast( dd07t.ddtext as fap_mpp_weekofmonth_name ) as WeekOfMonthName,

      _WeekOfMonth,
      _Language
} 
where dd07t.domname  = 'FAP_MPP_WEEKOFMONTH'
  and dd07t.as4local = 'A'
  and dd07t.as4vers  = '0000'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07T"
],
"ASSOCIATED":
[
"I_LANGUAGE",
"I_PAYTRUNPLANWEEKOFMONTH"
],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/