C_ChmlCmplncPckgdProdComp2

DDL: C_CHMLCMPLNCPCKGDPRODCOMP2 Type: view_entity CONSUMPTION Package: EHFND_CNS_CCI

Components of Multi Component Product

C_ChmlCmplncPckgdProdComp2 is a Consumption CDS View that provides data about "Components of Multi Component Product" in SAP S/4HANA. It reads from 1 data source (I_MatlBsdBeforeProdnCompTP) and exposes 28 fields with key field MatlBsdCompUUID. It has 2 associations to related views. It is exposed through 2 OData services (ASQL_F8407, UI_EHS_FND_COMPLIANCE_VIEW_MAN). Part of development package EHFND_CNS_CCI.

Data Sources (1)

SourceAliasJoin Type
I_MatlBsdBeforeProdnCompTP Component from

Associations (2)

CardinalityTargetAliasCondition
[0..1] C_ChmlCmplncInfoQuickView _CompChmlCmplncInfoQuickVw $projection.ChemicalComplianceInfo = _CompChmlCmplncInfoQuickVw.Specification
[0..*] I_UnitOfMeasureText _UnitOfMeasureText $projection.ChmlCompQtyUnit = _UnitOfMeasureText.UnitOfMeasure

Annotations (10)

NameValueLevelField
EndUserText.label Components of Multi Component Product view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.viewType #CONSUMPTION view
ObjectModel.representativeKey MatlBsdCompUUID view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
Search.searchable true view
Metadata.allowExtensions true view

OData Services (2)

ServiceBindingVersionContractRelease
ASQL_F8407 ASQL_F8407 C2 NOT_RELEASED
UI_EHS_FND_COMPLIANCE_VIEW_MAN UI_EHS_FND_COMPLIANCE_VIEW_MAN V4 C1 NOT_RELEASED

Fields (28)

KeyFieldSource TableSource FieldDescription
KEY MatlBsdCompUUID I_MatlBsdBeforeProdnCompTP MatlBsdCompUUID Chemical Component
ActiveMatlBsdCompUUID I_MatlBsdBeforeProdnCompTP ActiveMatlBsdCompUUID Chemical Component
HostChmlCmplncInfoUUID I_MatlBsdBeforeProdnCompTP ChmlCmplncInfoUUID Chemical Compliance Information PP
ChmlCompositionUUID I_MatlBsdBeforeProdnCompTP ChmlCompositionUUID Chemical Composition
MatlBsdCompProductionType I_MatlBsdBeforeProdnCompTP MatlBsdCompProductionType Production Type
CompChmlCmplncInfoUUID I_MatlBsdBeforeProdnCompTP CompChmlCmplncInfoUUID Component
ChmlCmplncInfoUUID I_MatlBsdBeforeProdnCompTP CompChmlCmplncInfoUUID Component
ChmlCmplncInfoNavgnLink I_MatlBsdBeforeProdnCompTP CompChmlCmplncInfoUUID Component
SpecificationasChemicalComplianceInfo
ChmlCmplncInternalName
SemanticObject
ChmlCompQty I_MatlBsdBeforeProdnCompTP ChmlCompQty Concentration Value
ChmlCompQtyAsText I_MatlBsdBeforeProdnCompTP ChmlCompQtyAsText Concentration
ChmlCompQtyUnit I_MatlBsdBeforeProdnCompTP ChmlCompQtyUnit Unit of Measurement
UnitOfMeasureNameasUnitOfMeasureName
ChmlCompIsRemoved I_MatlBsdBeforeProdnCompTP ChmlCompIsRemoved Removed Component
Material
ChmlCmplncInfoType
MaterialIsProduced
MaterialIsSourced
MaterialIsSold
MaterialIsTransported
CreationUTCDateTime I_MatlBsdBeforeProdnCompTP CreationUTCDateTime Time Stamp
CreatedByUser I_MatlBsdBeforeProdnCompTP CreatedByUser User Name
LastChangeUTCDateTime I_MatlBsdBeforeProdnCompTP LastChangeUTCDateTime Time Stamp
LastChangedByUser I_MatlBsdBeforeProdnCompTP LastChangedByUser User Name
_CompChmlCmplncInfoQuickVw _CompChmlCmplncInfoQuickVw
_ChmlCmplncInfo _ChmlCmplncInfo

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 C_ChmlCmplncPckgdProdComp2.
-- 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 C_ChmlCmplncPckgdProdComp2 AS
SELECT
  Component.MatlBsdCompUUID AS MatlBsdCompUUID,
  Component.ActiveMatlBsdCompUUID AS ActiveMatlBsdCompUUID,
  Component.ChmlCmplncInfoUUID AS HostChmlCmplncInfoUUID,
  Component.ChmlCompositionUUID AS ChmlCompositionUUID,
  Component.MatlBsdCompProductionType AS MatlBsdCompProductionType,
  Component.CompChmlCmplncInfoUUID AS CompChmlCmplncInfoUUID,
  Component.CompChmlCmplncInfoUUID AS ChmlCmplncInfoUUID,
  Component.CompChmlCmplncInfoUUID AS ChmlCmplncInfoNavgnLink,
  Component._CompChmlCmplncInfo.ChmlCmplncInternalName AS ChmlCmplncInternalName,
  cast('' as /ui2/semantic_object) AS SemanticObject,
  Component.ChmlCompQty AS ChmlCompQty,
  Component.ChmlCompQtyAsText AS ChmlCompQtyAsText,
  Component.ChmlCompQtyUnit AS ChmlCompQtyUnit,
  Component.ChmlCompIsRemoved AS ChmlCompIsRemoved,
  Component._CompChmlCmplncInfo._PrimaryMaterial.Material AS Material,
  Component._CompChmlCmplncInfo.ChmlCmplncInfoType AS ChmlCmplncInfoType,
  Component._CompChmlCmplncInfo.MaterialIsProduced AS MaterialIsProduced,
  Component._CompChmlCmplncInfo.MaterialIsSourced AS MaterialIsSourced,
  Component._CompChmlCmplncInfo.MaterialIsSold AS MaterialIsSold,
  Component._CompChmlCmplncInfo.MaterialIsTransported AS MaterialIsTransported,
  Component.CreationUTCDateTime AS CreationUTCDateTime,
  Component.CreatedByUser AS CreatedByUser,
  Component.LastChangeUTCDateTime AS LastChangeUTCDateTime,
  Component.LastChangedByUser AS LastChangedByUser
FROM I_MatlBsdBeforeProdnCompTP AS Component
LEFT OUTER JOIN C_ChmlCmplncInfoQuickView AS _CompChmlCmplncInfoQuickVw ON ChemicalComplianceInfo = _CompChmlCmplncInfoQuickVw.Specification  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasureText AS _UnitOfMeasureText ON ChmlCompQtyUnit = _UnitOfMeasureText.UnitOfMeasure  -- association [0..*]
;