I_CmplncDisclProcgStatusText

DDL: I_CMPLNCDISCLPROCGSTATUSTEXT Type: view_entity BASIC

Cmplnc Discl Processing Status - Text

I_CmplncDisclProcgStatusText is a Basic CDS View that provides data about "Cmplnc Discl Processing Status - Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 5 fields with key fields Language, CmplncDisclProcgStatus. 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 (11)

NameValueLevelField
EndUserText.label Cmplnc Discl Processing Status - Text view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view
ObjectModel.representativeKey CmplncDisclProcgStatus view
ObjectModel.dataCategory #TEXT view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MASTER view
Metadata.ignorePropagatedAnnotations true view
Search.searchable true view
Consumption.ranked true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY Language
KEY CmplncDisclProcgStatus
CmplncDisclProcgStatusTxt ddtext
_Language _Language
_CmplncDisclProcgStatusVH _CmplncDisclProcgStatusVH
@AbapCatalog.viewEnhancementCategory: [#NONE]
@EndUserText.label: 'Cmplnc Discl Processing Status - Text'
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #BASIC
@ObjectModel: { 
  representativeKey: 'CmplncDisclProcgStatus',
  dataCategory: #TEXT,
  usageType:{
    serviceQuality: #B,
    sizeCategory: #S,
    dataClass: #MASTER
 }
}
@Metadata.ignorePropagatedAnnotations: true
@Search.searchable: true
@Consumption.ranked: true
/*+[hideWarning] { "IDS" : [ "KEY_CHECK" ] } */
define view entity I_CmplncDisclProcgStatusText 
as select from dd07t
  
  association        to parent I_CmplncDisclProcgStatusVH as _CmplncDisclProcgStatusVH on $projection.CmplncDisclProcgStatus = _CmplncDisclProcgStatusVH.CmplncDisclProcgStatus
  association [0..1] to I_Language                        as _Language                 on $projection.Language               = _Language.Language
{
  @ObjectModel.foreignKey.association: '_Language'
  @Semantics.language: true
  key cast(ddlanguage as spras preserving type ) as Language,

  @ObjectModel.text.element: ['CmplncDisclProcgStatusTxt']  
  key cast(domvalue_l as ehfnd_cd_procg_status ) as CmplncDisclProcgStatus,

      @Semantics.text: true
      @Search: { defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.8 }
      ddtext                                     as CmplncDisclProcgStatusTxt,
      
     case domvalue_l
       when 'CO' then 3 // Completed -> Green

       when 'IP' then 2 // In Progress -> Yellow

       //when 'NE' then 5 // New -> Blue

       else 0           // others -> Gray

     end                                         as CmplncDisclProcgStatusCritlty,
      
      _Language,
      _CmplncDisclProcgStatusVH
}
where
      as4local = 'A'
  and as4vers  = '0000'
  and domname  = 'EHFND_CD_PROCG_STATUS' 
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07T"
],
"ASSOCIATED":
[
"I_CMPLNCDISCLPROCGSTATUSVH",
"I_LANGUAGE"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/