I_ChmlComponent

DDL: I_CHMLCOMPONENT Type: view BASIC Package: EHFND_BO_CCI

Chemical Component

I_ChmlComponent is a Basic CDS View that provides data about "Chemical Component" in SAP S/4HANA. It reads from 1 data source (ehfndv_ccmps_cmp) and exposes 22 fields. It has 9 associations to related views. Part of development package EHFND_BO_CCI.

Data Sources (1)

SourceAliasJoin Type
ehfndv_ccmps_cmp ChemicalComponent from

Associations (9)

CardinalityTargetAliasCondition
[1..1] I_ChmlComposition _ChemicalComposition $projection.ChmlCompositionUUID = _ChemicalComposition.ChmlCompositionUUID --Link to 'Chemcial Compliance Info' as root
[1..1] I_ChmlCmplncInfo _ChmlCmplncInfo $projection.ChmlCmplncInfoUUID = _ChmlCmplncInfo.ChmlCmplncInfoUUID
[0..1] I_Substance _HostSubstance $projection.HostSubstanceUUID = _HostSubstance.SubstanceUUID --Link to Substance
[0..1] I_SubstanceEnhanced _Substance $projection.SubstanceUUID = _Substance.SubstanceUUID --Link to Role of Ingredient
[0..1] I_ChmlCompType _ComponentType $projection.ChmlCompType = _ComponentType.ChmlCompType --Link to Unit of Measure
[0..1] I_UnitOfMeasure _UnitOfMeasure $projection.ChmlCompQtyUnit = _UnitOfMeasure.UnitOfMeasure --Link Operator of Lower Limit
[0..1] I_ChmlComponentOptrLowrLmt _OperatorLowerLimit $projection.ChmlCompOperatorLowerLimit = _OperatorLowerLimit.ChmlCompOperatorLowerLimit --Link Operator of Upper Limit
[0..1] I_ChmlComponentOptrUprLmt _OperatorUpperLimit $projection.ChmlCompOperatorUpperLimit = _OperatorUpperLimit.ChmlCompOperatorUpperLimit
[0..1] I_ChmlComposition _PolymerComposition $projection.SubstanceUUID = _PolymerComposition.SubstanceUUID and $projection.PolymerCompositionIntIDRef = _PolymerComposition.PolymerCompositionIntID and _PolymerComposition.ChmlCompositionStatus = 'RE' and _PolymerComposition.ChmlCompositionType = 'POLYMER'

Annotations (10)

NameValueLevelField
EndUserText.label Chemical Component view
AbapCatalog.sqlViewName ICCOMPONENT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #C view

Fields (22)

KeyFieldSource TableSource FieldDescription
chmlcompuuidasChmlCompUUID
chmlcmplncinfouuidasChmlCmplncInfoUUID
chmlsuplrmatluuidasChmlSuplrMatlUUID
hostsubstanceuuidasHostSubstanceUUID
chmlcompositionuuidasChmlCompositionUUID
creationutcdatetimeasCreationUTCDateTime
createdbyuserasCreatedByUser
lastchangedbyuserasLastChangedByUser
substanceuuidasSubstanceUUID
chmlcompisremovedasChmlCompIsRemoved
chmlcompqtyasChmlCompQty
chmlcompqtyastextasChmlCompQtyAsText
chmlcompqtyunitasChmlCompQtyUnit
_ChemicalComposition _ChemicalComposition
_ChmlCmplncInfo _ChmlCmplncInfo
_HostSubstance _HostSubstance
_Substance _Substance
_PolymerComposition _PolymerComposition
_ComponentType _ComponentType
_UnitOfMeasure _UnitOfMeasure
_OperatorLowerLimit _OperatorLowerLimit
_OperatorUpperLimit _OperatorUpperLimit

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view I_ChmlComponent.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.

CREATE VIEW I_ChmlComponent AS
SELECT *  -- field list not available in parsed metadata
FROM ehfndv_ccmps_cmp AS ChemicalComponent
LEFT OUTER JOIN I_ChmlComposition AS _ChemicalComposition ON ChmlCompositionUUID = _ChemicalComposition.ChmlCompositionUUID  -- association [1..1]
LEFT OUTER JOIN I_ChmlCmplncInfo AS _ChmlCmplncInfo ON ChmlCmplncInfoUUID = _ChmlCmplncInfo.ChmlCmplncInfoUUID  -- association [1..1]
LEFT OUTER JOIN I_Substance AS _HostSubstance ON HostSubstanceUUID = _HostSubstance.SubstanceUUID  -- association [0..1]
LEFT OUTER JOIN I_SubstanceEnhanced AS _Substance ON SubstanceUUID = _Substance.SubstanceUUID  -- association [0..1]
LEFT OUTER JOIN I_ChmlCompType AS _ComponentType ON ChmlCompType = _ComponentType.ChmlCompType  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasure ON ChmlCompQtyUnit = _UnitOfMeasure.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_ChmlComponentOptrLowrLmt AS _OperatorLowerLimit ON ChmlCompOperatorLowerLimit = _OperatorLowerLimit.ChmlCompOperatorLowerLimit  -- association [0..1]
LEFT OUTER JOIN I_ChmlComponentOptrUprLmt AS _OperatorUpperLimit ON ChmlCompOperatorUpperLimit = _OperatorUpperLimit.ChmlCompOperatorUpperLimit  -- association [0..1]
LEFT OUTER JOIN I_ChmlComposition AS _PolymerComposition ON SubstanceUUID = _PolymerComposition.SubstanceUUID AND PolymerCompositionIntIDRef = _PolymerComposition.PolymerCompositionIntID AND _PolymerComposition.ChmlCompositionStatus = 'RE' AND _PolymerComposition.ChmlCompositionType = 'POLYMER'  -- association [0..1]
;