C_CmbndChmlAnlytlCmpstn
Substance based Analytical Composition
C_CmbndChmlAnlytlCmpstn is a Consumption CDS View that provides data about "Substance based Analytical Composition" in SAP S/4HANA. It reads from 4 data sources (P_CmbndChmlAssocdAnlytlCmpstn, I_ChmlCmplncInfo, I_ChmlComponent, I_ChmlComposition) and exposes 10 fields with key fields ChmlCmplncInfoUUID, ChmlCompositionUUID, ChmlCompUUID. It has 1 association to related views. Part of development package EHFND_CNS_CCI.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| P_CmbndChmlAssocdAnlytlCmpstn | ActiveComposition | inner |
| I_ChmlCmplncInfo | ChmlCmplncInfo | from |
| I_ChmlComponent | Component | inner |
| I_ChmlComposition | Composition | inner |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | P_SubstanceNameText | _Substance | Component.SubstanceUUID = _Substance.SubstanceUUID |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CCMBCHLANLCMPTN | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Substance based Analytical Composition | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Metadata.allowExtensions | true | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #C | view |
Fields (10)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ChmlCmplncInfoUUID | I_ChmlComposition | ChmlCmplncInfoUUID | Chemical Compliance Information PP |
| KEY | ChmlCompositionUUID | I_ChmlComposition | ChmlCompositionUUID | Chemical Composition |
| KEY | ChmlCompUUID | I_ChmlComponent | ChmlCompUUID | Chemical Component |
| SubstanceUUID | I_ChmlComponent | SubstanceUUID | Substance | |
| SubstanceName | _Substance | SubstanceName | Substance Name | |
| CASNumber | _Substance | CASNumber | CAS Number | |
| ChmlCompQty | I_ChmlComponent | ChmlCompQty | Concentration Value | |
| ChmlCompQtyUnitasChmlCompQtyUnit | ||||
| ChmlCompositionStatusName | ||||
| _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_CmbndChmlAnlytlCmpstn.
-- 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.
-- SQL view name: CCMBCHLANLCMPTN
CREATE VIEW C_CmbndChmlAnlytlCmpstn AS
SELECT
Composition.ChmlCmplncInfoUUID AS ChmlCmplncInfoUUID,
Composition.ChmlCompositionUUID AS ChmlCompositionUUID,
Component.ChmlCompUUID AS ChmlCompUUID,
Component.SubstanceUUID AS SubstanceUUID,
_Substance.SubstanceName AS SubstanceName,
_Substance.CASNumber AS CASNumber,
Component.ChmlCompQty AS ChmlCompQty,
Composition._CompositionStatus._Text[1: Language = $session.system_language ].ChmlCompositionStatusName AS ChmlCompositionStatusName
FROM I_ChmlCmplncInfo AS ChmlCmplncInfo
INNER JOIN I_ChmlComposition AS Composition ON /* join condition not captured in parsed metadata */
INNER JOIN P_CmbndChmlAssocdAnlytlCmpstn AS ActiveComposition ON /* join condition not captured in parsed metadata */
INNER JOIN I_ChmlComponent AS Component ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_SubstanceNameText AS _Substance ON Component.SubstanceUUID = _Substance.SubstanceUUID -- 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