C_RawChmlComponentTP
Raw Material Component of Analytical Composition
C_RawChmlComponentTP is a Consumption CDS View that provides data about "Raw Material Component of Analytical Composition" in SAP S/4HANA. It reads from 1 data source (I_ChmlComponentTP) and exposes 25 fields. It has 5 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ChmlComponentTP | Component | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_RawChmlCompositionTP | _ChemicalComposition | $projection.ChmlCompositionUUID = _ChemicalComposition.ChmlCompositionUUID -------------------------------------------------------------------------------------------------------------------- --Additional Information -------------------------------------------------------------------------------------------------------------------- --Retrieve according component from released |
| [0..1] | C_RawChmlCompOfReldCmpstn | _ComponentReleased | _ComponentReleased.ChmlCmplncInfoUUID = $projection.ChmlCmplncInfoUUID and _ComponentReleased.SubstanceUUID = Component.SubstanceUUID and _ComponentReleased.ChmlCompType = Component.ChmlCompType |
| [0..*] | C_RawChmlCompOfSuplrMatlCmpstn | _CompOfSuplrMatlCmpstn | _CompOfSuplrMatlCmpstn.ChmlCmplncInfoUUID = $projection.ChmlCmplncInfoUUID and _CompOfSuplrMatlCmpstn.SubstanceUUID = Component.SubstanceUUID and _CompOfSuplrMatlCmpstn.ChmlCompType = Component.ChmlCompType -------------------------------------------------------------------------------------------------------------------- --ValueHelps -------------------------------------------------------------------------------------------------------------------- --substance |
| [0..1] | C_SubstanceVH | _SubstanceVH | $projection.SubstanceUUID = _SubstanceVH.SubstanceUUID --Component Type |
| [0..1] | I_ChmlCompTypeVH | _ChemicalComponentTypeVH | $projection.ChmlCompType = _ChemicalComponentTypeVH.ChmlCompType and _ChemicalComponentTypeVH.ChmlCompositionCategory = 'A' |
Annotations (19)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Raw Material Component of Analytical Composition | view | |
| AbapCatalog.sqlViewName | CCRCOMPONENT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.deleteEnabled | true | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| UI.headerInfo.typeName | Component | view | |
| UI.headerInfo.typeNamePlural | Components | view | |
| UI.headerInfo.title.label | Component in Composition | view | |
| UI.headerInfo.title.value | SubstanceName | view | |
| UI.headerInfo.description.value | CASNumber | view |
Fields (25)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| ChmlCompUUID | ||||
| ActiveChmlCompUUID | ||||
| ChmlCompositionUUID | ||||
| ChmlCmplncInfoUUID | ||||
| SubstanceUUID | ||||
| CompanySubstanceNavgnLink | I_ChmlComponentTP | SubstanceUUID | Substance | |
| SubstanceName | ||||
| CASNumber | ||||
| ChmlCompositionStatus | _ChemicalComposition | ChmlCompositionStatus | Processing Status | |
| ChmlCompType | ||||
| ChmlCompTypeName | ||||
| ChmlCompQtyasChmlCompQty | ||||
| ChmlCompQtyUnit | I_ChmlComponentTP | ChmlCompQtyUnit | Unit of Measurement | |
| ChmlCompHasDiffCritlty | 2 | |||
| ChmlCompHasDiff | ||||
| ChmlCompHasDiffName | ||||
| NmbrOfSubstPrvddBySuplrWthTot | ||||
| ChmlCompQtyasChmlCompReldQty | ||||
| ChmlCompReldUpperLimitQty | _ComponentReleased | ChmlCompQtyUpperLimit | Upper Limit Value | |
| ChmlCompReldQtyUnit | _ComponentReleased | ChmlCompQtyUnit | Unit of Measurement | |
| BOPFDetaildata_ChemicalComposition | ||||
| _ChmlCmplncInfo | ||||
| _CompOfSuplrMatlCmpstn | _CompOfSuplrMatlCmpstn | |||
| Valuehelps_ChemicalComponentTypeVH | ||||
| _SubstanceVH | _SubstanceVH |
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_RawChmlComponentTP.
-- 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_RawChmlComponentTP AS
SELECT
Component.SubstanceUUID AS CompanySubstanceNavgnLink,
_ChemicalComposition.ChmlCompositionStatus AS ChmlCompositionStatus,
Component.ChmlCompQtyUnit AS ChmlCompQtyUnit,
2 AS ChmlCompHasDiffCritlty,
cast( '' as ehfnd_cci_ccomp_comp_diff ) AS ChmlCompHasDiff,
cast( '' as ehfnd_cci_ccomp_comp_diff_name ) AS ChmlCompHasDiffName,
cast( '' as ehfnd_cci_subprovbysupl ) AS NmbrOfSubstPrvddBySuplrWthTot,
_ComponentReleased.ChmlCompQtyUpperLimit AS ChmlCompReldUpperLimitQty,
_ComponentReleased.ChmlCompQtyUnit AS ChmlCompReldQtyUnit
FROM I_ChmlComponentTP AS Component
LEFT OUTER JOIN C_RawChmlCompositionTP AS _ChemicalComposition ON ChmlCompositionUUID = _ChemicalComposition.ChmlCompositionUUID -- association [1..1]
LEFT OUTER JOIN C_RawChmlCompOfReldCmpstn AS _ComponentReleased ON _ComponentReleased.ChmlCmplncInfoUUID = ChmlCmplncInfoUUID AND _ComponentReleased.SubstanceUUID = Component.SubstanceUUID AND _ComponentReleased.ChmlCompType = Component.ChmlCompType -- association [0..1]
LEFT OUTER JOIN C_RawChmlCompOfSuplrMatlCmpstn AS _CompOfSuplrMatlCmpstn ON _CompOfSuplrMatlCmpstn.ChmlCmplncInfoUUID = ChmlCmplncInfoUUID AND _CompOfSuplrMatlCmpstn.SubstanceUUID = Component.SubstanceUUID AND _CompOfSuplrMatlCmpstn.ChmlCompType = Component.ChmlCompType -- association [0..*]
LEFT OUTER JOIN C_SubstanceVH AS _SubstanceVH ON SubstanceUUID = _SubstanceVH.SubstanceUUID -- association [0..1]
LEFT OUTER JOIN I_ChmlCompTypeVH AS _ChemicalComponentTypeVH ON ChmlCompType = _ChemicalComponentTypeVH.ChmlCompType AND _ChemicalComponentTypeVH.ChmlCompositionCategory = 'A' -- 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