C_RawChmlCompositionTP
Raw Material Analytical Composition - ... (obsolete)
C_RawChmlCompositionTP is a Consumption CDS View that provides data about "Raw Material Analytical Composition - ... (obsolete)" in SAP S/4HANA. It reads from 1 data source (I_ChmlCompositionTP) and exposes 36 fields. It has 8 associations to related views. Part of development package EHFND_CNS_CCI.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ChmlCompositionTP | Composition | from |
Associations (8)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | C_RawChmlComponentTP | _ChemicalComponent | $projection.ChmlCompositionUUID = _ChemicalComponent.ChmlCompositionUUID --Additional sections -- Compliance Requirement Results |
| [0..*] | C_RawChmlCmplncCmplRqRslt | _CmplRqRslt | _CmplRqRslt.RawChmlCmplncInfoUUID = Composition.ChmlCmplncInfoUUID --Supplier Material Assignments |
| [0..*] | C_RawChmlCmplncSuplrMatlTP | _SuplrMatlAssignment | _SuplrMatlAssignment.ChmlCmplncInfoUUID = Composition.ChmlCmplncInfoUUID -------------------------------------------------------------------------------------------------------------------- --Additional Information -------------------------------------------------------------------------------------------------------------------- -- Material Data for Primary Material |
| [0..1] | C_ChmlCmplncPrimMatl | _MaterialDataPrimary | _MaterialDataPrimary.ChmlCmplncInfoUUID = Composition.ChmlCmplncInfoUUID --Criticality of Status |
| [1..1] | P_ChmlCompositionCriticality | _StatusCriticality | $projection.ActiveChmlCompositionUUID = _StatusCriticality.ChmlCompositionUUID -- Status values for raw material |
| [0..1] | P_RawChmlCmplncStatus | _Status | _Status.ChmlCmplncInfoUUID = Composition.ChmlCmplncInfoUUID ----------------------------------------------------------------------------------------------------------- --Information for Navigation to associated compositions ----------------------------------------------------------------------------------------------------------- --Associated analytical |
| [0..1] | P_AssociatedAnlytlCmpstnRawMat | _AssociatedAnlytlCmpstnNavgn | $projection.ChmlCmplncInfoUUID = _AssociatedAnlytlCmpstnNavgn.ChmlCmplncInfoUUID -- |
| [0..1] | P_AssociatedMatlCmpstnProdVw | _MatlBasedComposition | _MatlBasedComposition.ChmlCmplncInfoUUID = $projection.ChmlCmplncInfoUUID |
Annotations (17)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Raw Material Analytical Composition - ... (obsolete) | view | |
| AbapCatalog.sqlViewName | CCRCOMPOSITION | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.allowExtensions | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | EXTERNAL_CALCULATION | view | |
| ObjectModel.deleteEnabled | EXTERNAL_CALCULATION | view | |
| ObjectModel.draftEnabled | true | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #C | view |
Fields (36)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| ChmlCompositionUUID | ||||
| ActiveChmlCompositionUUID | ||||
| ChmlCompositionType | ||||
| ChmlCompositionTypeName | ||||
| ChmlCompositionStatus | ||||
| ChmlCompositionStatusName | ||||
| ChmlCompositionStatusNameLong | ||||
| ChmlCompositionStsCriticality | ||||
| ChmlCmplncInfoUUID | ||||
| ChmlCmplncInternalName | ||||
| ChmlCmplncInfoCombinedName | ||||
| ResponsibleUnitName | ||||
| DngrsGdsRespUnit | ||||
| Material | ||||
| ProductGroupasMaterialGroup | ||||
| ProductGroupNameasMaterialGroupName | ||||
| MaterialName | ||||
| Specification | ||||
| ChmlCmplncRawMatlProcgStsName | ||||
| ChmlCmplncRawMatlProcgStsCritl | ||||
| ChmlCmplncRawMatlCmpstnStsName | ||||
| ChmlCmplncCmplRqRsltStatus | ||||
| ChmlCmplncCmplRqRsltStatusName | ||||
| ChmlCmplncInfoType | ||||
| MaterialIsTransported | ||||
| MaterialIsSold | ||||
| MaterialIsProduced | ||||
| MaterialIsSourced | ||||
| ChmlCmplncProdIsResearched | ||||
| LastChangeUTCDateTime | LastChangeUTCDateTime | Time Stamp | ||
| LastChangedByUser | LastChangedByUser | User Name | ||
| LastChangedByUserName | ||||
| BOPFDetaildata_ChemicalComponent | ||||
| _ChmlCmplncInfo | ||||
| Additionalsections_CmplRqRslt | ||||
| _SuplrMatlAssignment | _SuplrMatlAssignment |
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_RawChmlCompositionTP.
-- 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_RawChmlCompositionTP AS
SELECT
_ChmlCmplncInfo._RespUnitForProductStewardship._Text[1: Language = $session.system_language ].ResponsibleUnitName AS ResponsibleUnitName,
_Status._CmplRawMatlCmpstnSts._Text[1: Language = $session.system_language ].ChmlCmplncRawMatlCmpstnStsName AS ChmlCmplncRawMatlCmpstnStsName,
cast(_Status.ChmlCmplncCmplRqRsltStatus as ehfnd_cci_crr_status preserving type ) AS ChmlCmplncCmplRqRsltStatus,
_Status._CmplRqRsltStatus._Text[1: Language = $session.system_language ].ChmlCmplncCmplRqRsltStatusName AS ChmlCmplncCmplRqRsltStatusName,
LastChangeUTCDateTime,
LastChangedByUser,
cast( _LastChangedByUser.UserDescription as ehfnd_bo_lchg_uname_enhanced preserving type ) AS LastChangedByUserName
FROM I_ChmlCompositionTP AS Composition
LEFT OUTER JOIN C_RawChmlComponentTP AS _ChemicalComponent ON ChmlCompositionUUID = _ChemicalComponent.ChmlCompositionUUID -- association [0..*]
LEFT OUTER JOIN C_RawChmlCmplncCmplRqRslt AS _CmplRqRslt ON _CmplRqRslt.RawChmlCmplncInfoUUID = Composition.ChmlCmplncInfoUUID -- association [0..*]
LEFT OUTER JOIN C_RawChmlCmplncSuplrMatlTP AS _SuplrMatlAssignment ON _SuplrMatlAssignment.ChmlCmplncInfoUUID = Composition.ChmlCmplncInfoUUID -- association [0..*]
LEFT OUTER JOIN C_ChmlCmplncPrimMatl AS _MaterialDataPrimary ON _MaterialDataPrimary.ChmlCmplncInfoUUID = Composition.ChmlCmplncInfoUUID -- association [0..1]
LEFT OUTER JOIN P_ChmlCompositionCriticality AS _StatusCriticality ON ActiveChmlCompositionUUID = _StatusCriticality.ChmlCompositionUUID -- association [1..1]
LEFT OUTER JOIN P_RawChmlCmplncStatus AS _Status ON _Status.ChmlCmplncInfoUUID = Composition.ChmlCmplncInfoUUID -- association [0..1]
LEFT OUTER JOIN P_AssociatedAnlytlCmpstnRawMat AS _AssociatedAnlytlCmpstnNavgn ON ChmlCmplncInfoUUID = _AssociatedAnlytlCmpstnNavgn.ChmlCmplncInfoUUID -- association [0..1]
LEFT OUTER JOIN P_AssociatedMatlCmpstnProdVw AS _MatlBasedComposition ON _MatlBasedComposition.ChmlCmplncInfoUUID = ChmlCmplncInfoUUID -- 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