I_ChmlComponentOfReldCmpstn

DDL: I_CHMLCOMPONENTOFRELDCMPSTN Type: view COMPOSITE

Component of Chemical Composition in Status Released

I_ChmlComponentOfReldCmpstn is a Composite CDS View that provides data about "Component of Chemical Composition in Status Released" in SAP S/4HANA. It reads from 1 data source (I_ChmlComponent) and exposes 25 fields.

Data Sources (1)

SourceAliasJoin Type
I_ChmlComponent ChemicalComponent from

Annotations (9)

NameValueLevelField
EndUserText.label Component of Chemical Composition in Status Released view
AbapCatalog.sqlViewName ICCMPRELCMPSTN view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #C view

Fields (25)

KeyFieldSource TableSource FieldDescription
ChmlCompUUID
ChmlCompositionUUID
ChmlCmplncInfoUUID
SubstanceUUID
ChmlCompType
ChmlCompQty
ChmlCompQtyAsText I_ChmlComponent ChmlCompQtyAsText
ChmlCompQtyUnit
ChmlCompOperatorLowerLimit
ChmlCompQtyLowerLimit
ChmlCompQtyLowerLimitAsText I_ChmlComponent ChmlCompQtyLowerLimitAsText
ChmlCompOperatorUpperLimit
ChmlCompQtyUpperLimit
ChmlCompQtyUpperLimitAsText I_ChmlComponent ChmlCompQtyUpperLimitAsText
ChmlCompositionType
ChmlCompositionStatus
_ChemicalComposition I_ChmlComponent _ChemicalComposition
_ChmlCmplncInfo I_ChmlComponent _ChmlCmplncInfo
_Substance I_ChmlComponent _Substance
_ComponentType I_ChmlComponent _ComponentType
_UnitOfMeasure I_ChmlComponent _UnitOfMeasure
_OperatorLowerLimit I_ChmlComponent _OperatorLowerLimit
_OperatorUpperLimit I_ChmlComponent _OperatorUpperLimit
_CompositionStatus CompositionReleased _CompositionStatus
_CompositionType CompositionReleased _CompositionType
--Label of view
@EndUserText.label: 'Component of Chemical Composition in Status Released'

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

  --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: #CHECK
}

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

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

@ObjectModel:
{
  --Performance Annotations
  usageType:
  {
    dataClass: #MASTER,
    sizeCategory: #S,
    serviceQuality: #C
  }
}

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

  --Join data from composition
    left outer to one join I_ChmlComposition as CompositionReleased on ChemicalComponent.ChmlCompositionUUID = CompositionReleased.ChmlCompositionUUID
{
      --UUID of component
      @ObjectModel.readOnly: true
  key ChemicalComponent.ChmlCompUUID,

      --UUID of chemical composition
      @ObjectModel.readOnly: true
      ChemicalComponent.ChmlCompositionUUID,

      --UUID of chemical compliance information
      @ObjectModel.readOnly: true
      ChemicalComponent.ChmlCmplncInfoUUID,
      
      --UUID of Substance
      @ObjectModel.readOnly: true
      ChemicalComponent.SubstanceUUID,

      --Component Type
      @ObjectModel.readOnly: true
      ChemicalComponent.ChmlCompType,
      
      --Concentration of component
      @ObjectModel.readOnly: true
      ChemicalComponent.ChmlCompQty,
      
      @ObjectModel.readOnly: true
      ChemicalComponent.ChmlCompQtyAsText,

      --Unit of measurment of concentration
      @ObjectModel.readOnly: true
      ChemicalComponent.ChmlCompQtyUnit,

      --Operator for lower limit of concentration
      @ObjectModel.readOnly: true
      ChemicalComponent.ChmlCompOperatorLowerLimit,

      --Lower limit of concentration
      @ObjectModel.readOnly: true
      ChemicalComponent.ChmlCompQtyLowerLimit,

      @ObjectModel.readOnly: true
      ChemicalComponent.ChmlCompQtyLowerLimitAsText,

      --Operator for upper limit of concentration
      @ObjectModel.readOnly: true
      ChemicalComponent.ChmlCompOperatorUpperLimit,

      --Upper limit of concentration
      @ObjectModel.readOnly: true
      ChemicalComponent.ChmlCompQtyUpperLimit,

      @ObjectModel.readOnly: true
      ChemicalComponent.ChmlCompQtyUpperLimitAsText,

      --Composition Type
      @ObjectModel.readOnly: true
      CompositionReleased.ChmlCompositionType,
      
      --Composition Status
      @ObjectModel.readOnly: true
      CompositionReleased.ChmlCompositionStatus,

      /* Associations */
      ChemicalComponent._ChemicalComposition,
      ChemicalComponent._ChmlCmplncInfo,
      ChemicalComponent._Substance,
      ChemicalComponent._ComponentType,
      ChemicalComponent._UnitOfMeasure,
      ChemicalComponent._OperatorLowerLimit,
      ChemicalComponent._OperatorUpperLimit,
      CompositionReleased._CompositionStatus,
      CompositionReleased._CompositionType
}
where CompositionReleased.ChmlCompositionStatus = 'RE'