I_SubstBsdCmpstnComponent

DDL: I_SUBSTBSDCMPSTNCOMPONENT Type: view BASIC

Substances as components in compositions

I_SubstBsdCmpstnComponent is a Basic CDS View that provides data about "Substances as components in compositions" in SAP S/4HANA. It reads from 1 data source (ehfndv_ccmps_cmp) and exposes 19 fields. It has 7 associations to related views.

Data Sources (1)

SourceAliasJoin Type
ehfndv_ccmps_cmp Component from

Associations (7)

CardinalityTargetAliasCondition
[1..1] I_ChmlComposition _Composition $projection.ChmlCompositionUUID = _Composition.ChmlCompositionUUID --Link to 'Chemcial Compliance Info' as root
[1..1] I_ChmlCmplncInfo _ChmlCmplncInfo $projection.ChmlCmplncInfoUUID = _ChmlCmplncInfo.ChmlCmplncInfoUUID --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

Annotations (12)

NameValueLevelField
EndUserText.label Substances as components in compositions view
AbapCatalog.sqlViewName ISCOMPONENT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
ObjectModel.Link https view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.representativeKey ChmlCompUUID view

Fields (19)

KeyFieldSource TableSource FieldDescription
chmlcompuuidasChmlCompUUID
chmlcmplncinfouuidasChmlCmplncInfoUUID
chmlcompositionuuidasChmlCompositionUUID
creationutcdatetimeasCreationUTCDateTime
createdbyuserasCreatedByUser
lastchangedbyuserasLastChangedByUser
substanceuuidasSubstanceUUID
chmlcompqtyasChmlCompQty
chmlcompqtyastextasChmlCompQtyAsText
chmlcompqtyunitasChmlCompQtyUnit
chmlcompisremovedasChmlCompIsRemoved
ChmlCompositionTypeasChmlCompositionType
_Composition _Composition
_ChmlCmplncInfo _ChmlCmplncInfo
_Substance _Substance
_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_SubstBsdCmpstnComponent.
-- 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_SubstBsdCmpstnComponent AS
SELECT *  -- field list not available in parsed metadata
FROM ehfndv_ccmps_cmp AS Component
LEFT OUTER JOIN I_ChmlComposition AS _Composition ON ChmlCompositionUUID = _Composition.ChmlCompositionUUID  -- association [1..1]
LEFT OUTER JOIN I_ChmlCmplncInfo AS _ChmlCmplncInfo ON ChmlCmplncInfoUUID = _ChmlCmplncInfo.ChmlCmplncInfoUUID  -- association [1..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]
;