I_CmpstnCompChangeStatusText

DDL: I_CMPSTNCOMPCHANGESTATUSTEXT Type: view BASIC Package: EHFND_BO_CMPS_MATLBASED

Text View for Component Change Status

I_CmpstnCompChangeStatusText is a Basic CDS View that provides data about "Text View for Component Change Status" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 4 fields. It has 1 association to related views. Part of development package EHFND_BO_CMPS_MATLBASED.

Data Sources (1)

SourceAliasJoin Type
dd07t _CmpstnCompChangeStatus from

Associations (1)

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

Annotations (11)

NameValueLevelField
EndUserText.label Text View for Component Change Status view
AbapCatalog.sqlViewName ICCCHANGESTST view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
ObjectModel.dataCategory #TEXT view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.representativeKey ChmlCompChangeStatus view

Fields (4)

KeyFieldSource TableSource FieldDescription
domvalue_l110asChmlCompChangeStatus
ddlanguageassylanguasLanguage
ddtextasChmlCompChangeStatusText
_Language _Language
@EndUserText.label: 'Text View for Component Change Status'

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

// authorization check not required as view only reads domain values

@AccessControl.authorizationCheck: #NOT_REQUIRED

--Client Handling of the view
@ClientHandling.algorithm: #SESSION_VARIABLE

@VDM.viewType: #BASIC

@ObjectModel:
{
  --Data category
  dataCategory: #TEXT,
  --Performance annotation
  usageType:
  {
    dataClass: #META,
    serviceQuality: #B,
    sizeCategory: #S
  },
  --Representative Key
  representativeKey: 'ChmlCompChangeStatus'
}
define view I_CmpstnCompChangeStatusText
  --Select data from domain value description table
  as select from dd07t as _CmpstnCompChangeStatus

  --association to I_Language
  association [0..1] to I_Language as _Language on $projection.Language = _Language.Language
{
      --Domain Value of CRR Status
  key substring(_CmpstnCompChangeStatus.domvalue_l, 1, 10) as ChmlCompChangeStatus,

      --Language
      @Semantics.language: true
      @ObjectModel.foreignKey.association: '_Language'
  key cast(_CmpstnCompChangeStatus.ddlanguage as sylangu)  as Language,

      --language-dependent description of domain value
      @Semantics.text: true
      _CmpstnCompChangeStatus.ddtext                       as ChmlCompChangeStatusText,

      /* Associations */
      _Language
}
where
      _CmpstnCompChangeStatus.domname  = 'EHFND_CCI_CMPS_COMP_CHANGE_STS'
  and _CmpstnCompChangeStatus.as4local = 'A'