I_CmplncRqmtRsltCmplncStsTxt

DDL: I_CMPLNCRQMTRSLTCMPLNCSTSTXT SQL: ICRRCSTSTXT Type: view BASIC

CRR Compliance Status Text

I_CmplncRqmtRsltCmplncStsTxt is a Basic CDS View that provides data about "CRR Compliance Status Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 6 fields with key fields Language, CmplRqRsltCmplncSts. 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 (14)

NameValueLevelField
AbapCatalog.sqlViewName ICRRCSTSTXT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
EndUserText.label CRR Compliance Status Text view
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
ObjectModel.dataCategory #TEXT view
ObjectModel.representativeKey CmplRqRsltCmplncSts view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #B view
Search.searchable true view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY Language
KEY CmplRqRsltCmplncSts
DomainValue dd07t domvalue_l
CmplRqRsltCmplncStsTxt
_Language _Language
_CmplncRqmtRsltCmplncStsVH _CmplncRqmtRsltCmplncStsVH
@AbapCatalog.sqlViewName: 'ICRRCSTSTXT'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey:true

@EndUserText.label: 'CRR Compliance Status Text'

-- CDS View Classification: 1. No data access restriction required
-- Reason: Text View for Domain Fix values
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Metadata.ignorePropagatedAnnotations: true
--Client Handling of the view
@ClientHandling.algorithm: #SESSION_VARIABLE

@VDM.viewType: #BASIC

@ObjectModel:
{
  --Data category
    /*
      #TEXT:      the annotated entity represents texts
      #HIERARCHY: the entity represents the hierarchy-related data
    */
  dataCategory: #TEXT,
  representativeKey: 'CmplRqRsltCmplncSts',

    --Performance Annotations
  usageType:
  {
    dataClass: #CUSTOMIZING,
    sizeCategory: #S,
    serviceQuality: #B
  }
}

@Search.searchable: true

define view I_CmplncRqmtRsltCmplncStsTxt
  as select from dd07t
  // parent-child relation of the composition is based on the Sample Fix domain value helps see https://wiki.wdf.sap.corp/wiki/display/SuiteCDS/VDM+CDS+Code+List+Views+and+Services

  association        to parent I_CmplncRqmtRsltCmplncStsVH as _CmplncRqmtRsltCmplncStsVH on $projection.CmplRqRsltCmplncSts = _CmplncRqmtRsltCmplncStsVH.CmplRqRsltCmplncSts
  association [0..1] to I_Language                         as _Language                  on $projection.Language = _Language.Language

{
      @Semantics.language: true
      @ObjectModel.foreignKey.association: '_Language'
  key cast(ddlanguage as spras preserving type)                  as Language,

  key cast(domvalue_l as ehfnd_crr_overall_status )              as CmplRqRsltCmplncSts,

      /****  Content  ****/
      @Consumption.hidden: true
      dd07t.domvalue_l                                           as DomainValue,

      @Semantics.text: true
      @Search.defaultSearchElement: true
      @Search.ranking: #HIGH
      @Search.fuzzinessThreshold: 0.8
      cast(ddtext as ehfnd_crr_compl_stat_text preserving type ) as CmplRqRsltCmplncStsTxt,

      /* Associations */
      _Language,
      _CmplncRqmtRsltCmplncStsVH
      
     
}
where
      domname  = 'EHFND_CRR_COMPSTAT'
  and as4local = 'A'
  and as4vers  = '0000'