I_EntProjectPriorityCodeText

DDL: I_ENTPROJECTPRIORITYCODETEXT Type: view BASIC

Priority for Enterprise Projects - Text

I_EntProjectPriorityCodeText is a Basic CDS View that provides data about "Priority for Enterprise Projects - Text" in SAP S/4HANA. It reads from 1 data source (dpr_priority_t) and exposes 5 fields with key fields Language, PriorityCode. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
dpr_priority_t dpr_priority_t from

Associations (1)

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

Annotations (17)

NameValueLevelField
EndUserText.label Priority for Enterprise Projects - Text view
AbapCatalog.sqlViewName IENPRPRIORCODET 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
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey PriorityCode view
ObjectModel.dataCategory #TEXT view
ObjectModel.resultSet.sizeCategory #XS view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.sizeCategory #S view
Search.searchable true view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY Language language
KEY PriorityCode
PriorityCodeName text
_PriorityCode _PriorityCode
_Language _Language
@EndUserText.label: 'Priority for Enterprise Projects - Text'

@AbapCatalog: { 
      sqlViewName: 'IENPRPRIORCODET',
      compiler.compareFilter: true,
      preserveKey: true
}

@AccessControl.authorizationCheck: #NOT_REQUIRED

@Analytics.dataExtraction.enabled: true

@ClientHandling.algorithm: #SESSION_VARIABLE

@Metadata.ignorePropagatedAnnotations: true

@ObjectModel: {
     representativeKey: 'PriorityCode',
     dataCategory: #TEXT,
     resultSet.sizeCategory: #XS,
     supportedCapabilities: [ #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET, #LANGUAGE_DEPENDENT_TEXT, #EXTRACTION_DATA_SOURCE ],    
     usageType: {
        serviceQuality:  #A,
        dataClass:       #CUSTOMIZING,
        sizeCategory:    #S
    }
}
@Search.searchable: true
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.viewType: #BASIC
define view I_EntProjectPriorityCodeText
  as select from dpr_priority_t
  association to parent I_EntProjectPriorityCode as _PriorityCode
    on $projection.PriorityCode = _PriorityCode.PriorityCode
  association [0..1] to I_Language as _Language   
    on $projection.Language = _Language.Language
{
      @ObjectModel.foreignKey.association: '_Language'
      @Semantics.language: true
  key language                as Language,
      @ObjectModel.foreignKey.association: '_PriorityCode'
      @ObjectModel.text.element: ['PriorityCodeName']
  key cast(lpad(cast(priority as abap.char(3)),3,'0')as abap.numc(3)) as PriorityCode,
      @Search.defaultSearchElement: true
      @Search.fuzzinessThreshold: 0.8
      @Search.ranking: #HIGH
      @Semantics.text: true
      text                    as PriorityCodeName,
      _PriorityCode,
      _Language
}