C_ChmlCmplncPrimMatl

DDL: C_CHMLCMPLNCPRIMMATL Type: view COMPOSITE

Chemical Compliance Primary Material

C_ChmlCmplncPrimMatl is a Composite CDS View (Dimension) that provides data about "Chemical Compliance Primary Material" in SAP S/4HANA. It reads from 1 data source (I_ChmlCmplncInfo) and exposes 14 fields. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ChmlCmplncInfo ChemicalComplianceInfo from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_ChmlCmplncInfo _ChmlCmplncInfo _ChmlCmplncInfo.ChmlCmplncInfoUUID = $projection.ChmlCmplncInfoUUID -- provide additional product data via exposed
[1..1] I_Product _MaterialData PrimaryMaterial.Material = _MaterialData.Product

Annotations (13)

NameValueLevelField
EndUserText.label Chemical Compliance Primary Material view
AbapCatalog.sqlViewName CCCMATLPRIM view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
ObjectModel.representativeKey ChmlCmplncInfoUUID view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
Analytics.dataCategory #DIMENSION view
Metadata.allowExtensions true view

Fields (14)

KeyFieldSource TableSource FieldDescription
ChmlCmplncInfoUUID
MaterialasMaterial
ProductNameasMaterialName
SpecificationasChmlCmplncInfoCombinedID
ChmlCmplncInfoType I_ChmlCmplncInfo ChmlCmplncInfoType Type of Chemical Compliance Information
ChmlCmplncInternalName I_ChmlCmplncInfo ChmlCmplncInternalName Internal Name
MaterialIsSold MaterialIsSold Is Sold
MaterialIsSourced MaterialIsSourced Is Purchased
MaterialIsTransported MaterialIsTransported Is Transported
MaterialIsDisposed MaterialIsDisposed Is Disposed
MaterialIsEmissionRelevant MaterialIsEmissionRelevant Emission Relevant
ProdStewardshipRespUnit ProdStewardshipRespUnit Responsible Unit
_ChmlCmplncInfo _ChmlCmplncInfo
_MaterialData _MaterialData

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_ChmlCmplncPrimMatl.
-- 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_ChmlCmplncPrimMatl AS
SELECT
  ChemicalComplianceInfo.ChmlCmplncInfoType AS ChmlCmplncInfoType,
  ChemicalComplianceInfo.ChmlCmplncInternalName AS ChmlCmplncInternalName,
  MaterialIsSold,
  MaterialIsSourced,
  MaterialIsTransported,
  MaterialIsDisposed,
  MaterialIsEmissionRelevant,
  ProdStewardshipRespUnit
FROM I_ChmlCmplncInfo AS ChemicalComplianceInfo
LEFT OUTER JOIN I_ChmlCmplncInfo AS _ChmlCmplncInfo ON _ChmlCmplncInfo.ChmlCmplncInfoUUID = ChmlCmplncInfoUUID  -- association [1..1]
LEFT OUTER JOIN I_Product AS _MaterialData ON PrimaryMaterial.Material = _MaterialData.Product  -- association [1..1]
;