I_ChmlCompositionType

DDL: I_CHMLCOMPOSITIONTYPE Type: view BASIC Package: EHFND_BO_CCI

Chemical Composition Type

I_ChmlCompositionType is a Basic CDS View that provides data about "Chemical Composition Type" in SAP S/4HANA. It reads from 1 data source (ehfndc_cmpstype) and exposes 2 fields. It has 1 association to related views. Part of development package EHFND_BO_CCI.

Data Sources (1)

SourceAliasJoin Type
ehfndc_cmpstype CompositionType from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_ChmlCompositionTypeText _Text $projection.ChmlCompositionType = _Text.ChmlCompositionType

Annotations (12)

NameValueLevelField
EndUserText.label Chemical Composition Type view
AbapCatalog.sqlViewName ICCOMPOSTYPE 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.resultSet.sizeCategory #XS view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.representativeKey ChmlCompositionType view

Fields (2)

KeyFieldSource TableSource FieldDescription
composition_typeasChmlCompositionType
_Text _Text
--Label of view
@EndUserText.label: 'Chemical Composition Type'

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

  --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:
{
  // no authorization check required because view only reads customizing for which a check is not needed

  authorizationCheck: #NOT_REQUIRED
}

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

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

@ObjectModel:
{
  resultSet.sizeCategory: #XS,

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

define view I_ChmlCompositionType
  --Select data from customizing table 'Composition Type'
  as select from ehfndc_cmpstype as CompositionType

  --Text association
  association [0..*] to I_ChmlCompositionTypeText as _Text on $projection.ChmlCompositionType = _Text.ChmlCompositionType
{
      --Composition Type
      @ObjectModel.text.association: '_Text'
  key CompositionType.composition_type     as ChmlCompositionType,

      /*Association*/
      _Text
}
-- Filter S_WORLD as it is only needed for Legal Areas
where
  $projection.chmlcompositiontype <> 'WORLDWIDE'