I_ChmlComponent
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)
| Source | Alias | Join Type |
|---|---|---|
| ehfndv_ccmps_cmp | ChemicalComponent | from |
Associations (9)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA