I_ChmlSuplrMatlDataSts

DDL: I_CHMLSUPLRMATLDATASTS Type: view BASIC

Chemical Supplier Material Data Status

I_ChmlSuplrMatlDataSts is a Basic CDS View that provides data about "Chemical Supplier Material Data Status" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
dd07l SuplrMatlDataStatus from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_ChmlSuplrMatlDataStsText _Text $projection.ChmlSuplrMatlDataStatus = _Text.ChmlSuplrMatlDataStatus

Annotations (11)

NameValueLevelField
EndUserText.label Chemical Supplier Material Data Status view
AbapCatalog.sqlViewName ICSUPLRMATLDSTS view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.representativeKey ChmlSuplrMatlDataStatus view

Fields (2)

KeyFieldSource TableSource FieldDescription
domvalue_l12asChmlSuplrMatlDataStatus
_Text _Text
--Label of view
@EndUserText.label: 'Chemical Supplier Material Data Status'

@AbapCatalog:
{
  -- SQL view name (16 characters)
  sqlViewName: 'ICSUPLRMATLDSTS',

  --If it's true, the filter conditions are compared and, if they match, the associated join expression is evaluated only once
  compiler.compareFilter: true,
  preserveKey: true
}

--Access Control: Authorizations Checks
@AccessControl:
{
  authorizationCheck: #NOT_REQUIRED
}

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

--VDM view type
@VDM.viewType: #BASIC

@ObjectModel:
{

  --Performance Annotations
  usageType:
  {
    dataClass: #META,
    sizeCategory: #S,
    serviceQuality: #B
  },
  representativeKey: 'ChmlSuplrMatlDataStatus'
}

define view I_ChmlSuplrMatlDataSts
  --Select data from domain value table
  as select from dd07l as SuplrMatlDataStatus

  --Text association
  association [0..*] to I_ChmlSuplrMatlDataStsText as _Text on $projection.ChmlSuplrMatlDataStatus = _Text.ChmlSuplrMatlDataStatus
{
      --Domain Value of Data Status
      @ObjectModel.text.association: '_Text'
  key substring(SuplrMatlDataStatus.domvalue_l, 1, 2) as ChmlSuplrMatlDataStatus,

      --Criticality of data status
      case substring(SuplrMatlDataStatus.domvalue_l, 1, 2)
          when 'CO' then 3
          when 'RQ' then 2
          when 'MI' then 1
        end as ChmlSuplrMatlDataStsCritlty,
        
      /*Association*/
      _Text
}
where
      SuplrMatlDataStatus.domname  = 'EHFND_CSM_DATA_STATUS'
  and SuplrMatlDataStatus.as4local = 'A'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07L"
],
"ASSOCIATED":
[
"I_CHMLSUPLRMATLDATASTSTEXT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/