C_ChmlCompositionComponentVH

DDL: C_CHMLCOMPOSITIONCOMPONENTVH Type: view CONSUMPTION

Composition Component

C_ChmlCompositionComponentVH is a Consumption CDS View that provides data about "Composition Component" in SAP S/4HANA. It reads from 1 data source (I_ChmlComponent) and exposes 1 field.

Data Sources (1)

SourceAliasJoin Type
I_ChmlComponent Component from

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CCCMPCOMPVH view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Composition Component view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.resultSet.sizeCategory #XS view
ObjectModel.representativeKey SubstanceUUID view
VDM.viewType #CONSUMPTION view

Fields (1)

KeyFieldSource TableSource FieldDescription
SubstanceNameasSubstanceName
@AbapCatalog: {
  sqlViewName: 'CCCMPCOMPVH',
  compiler.compareFilter: true }

@AccessControl.authorizationCheck: #NOT_REQUIRED

@ClientHandling.algorithm: #SESSION_VARIABLE

@EndUserText.label: 'Composition Component'

@Metadata.ignorePropagatedAnnotations: true

@ObjectModel: {
  usageType: {
    serviceQuality: #C,        // < 2 msec

    sizeCategory:  #L,         // < 1.000

    dataClass: #MASTER },
  dataCategory: #VALUE_HELP,
  resultSet.sizeCategory: #XS,
  representativeKey: 'SubstanceUUID' }

@VDM.viewType: #CONSUMPTION

define view C_ChmlCompositionComponentVH
  --Select data from basic view 'Chemical Component'
  as select from I_ChmlComponent as Component

{
      @Consumption.filter.hidden: true                  -- hide that field as input field in the generated VH
      @Consumption.hidden: false                        -- must be not true otherwise wouldn't the VH annotation binding work
      @ObjectModel.text.element: ['SubstanceName']
  key SubstanceUUID,

  key ChmlCompositionUUID,

      @UI.hidden: true
  key Component._ChemicalComposition.ChmlCompositionType,

      ChmlCmplncInfoUUID,
      ChmlSuplrMatlUUID,
      HostSubstanceUUID,

      @Semantics.text: true
      Component._Substance.SubstanceName as SubstanceName
}
where
      Component._ChemicalComposition.ChmlCompositionStatus =  'RE'
  and Component._ChemicalComposition.ChmlCompositionType   <> 'MATLBSD1'
  and Component._ChemicalComposition.ChmlCompositionType   <> 'MATLBSD2'
  and Component._ChemicalComposition.ChmlCompositionType   <> 'TS'
  and Component._ChemicalComposition.ChmlCompositionType   <> 'POLYMER'