I_ChmlSuplrMatlSuplrSts

DDL: I_CHMLSUPLRMATLSUPLRSTS Type: view BASIC

Chemical Supplier Status

I_ChmlSuplrMatlSuplrSts is a Basic CDS View that provides data about "Chemical Supplier 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 SuplrMatlSuplrStatus from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_ChmlSuplrMatlSuplrStsT _Text $projection.ChmlSuplrMatlSuplrSts = _Text.ChmlSuplrMatlSuplrSts

Annotations (10)

NameValueLevelField
EndUserText.label Chemical Supplier Status view
AbapCatalog.sqlViewName ICSUPLRMATLSSTS view
AbapCatalog.compiler.compareFilter 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 ChmlSuplrMatlSuplrSts view

Fields (2)

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

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

  --If it's true, the filter conditions are compared and, if they match, the associated join expression is evaluated only once
  compiler.compareFilter: 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: 'ChmlSuplrMatlSuplrSts'
}

define view I_ChmlSuplrMatlSuplrSts
  --Select data from domain value table
  as select from dd07l as SuplrMatlSuplrStatus

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

      --Criticality of supplier status
      case SuplrMatlSuplrStatus.domvalue_l
          when 'AP' then 3
          when 'BL' then 1
          when 'OD' then 1
          else 2
        end as ChmlSuplrMatlSuplrStsCritlty,
        

      /*Association*/
      _Text
}
where
      SuplrMatlSuplrStatus.domname  = 'EHFND_CSM_SUPPLIER_STATUS'
  and SuplrMatlSuplrStatus.as4local = 'A'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07L"
],
"ASSOCIATED":
[
"I_CHMLSUPLRMATLSUPLRSTST"
],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0
}
}*/