I_ChmlCmplncMktKeyFig
Key Figures for Marketability of Product
I_ChmlCmplncMktKeyFig is a Composite CDS View that provides data about "Key Figures for Marketability of Product" in SAP S/4HANA. It reads from 1 data source (I_ChmlCmplncInfo) and exposes 15 fields with key field ChmlCmplncInfoUUID. It has 7 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ChmlCmplncInfo | _ChmlCmplncInfo | from |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | P_ChmlCmplMktReqAndCovGrpSum | _SumReqAndCov | $projection.ChmlCmplncInfoUUID = _SumReqAndCov.chemicalcomplianceuuid |
| [0..1] | P_ChmlCmplncInfoRelPPCt | _RelatedPPCount | $projection.ChmlCmplncInfoUUID = _RelatedPPCount.chemicalcomplianceproduuid |
| [0..1] | P_ChmlCmplMktCovCt | _CoverageCt | $projection.ChmlCmplncInfoUUID = _CoverageCt.chemicalcomplianceuuid |
| [0..1] | P_ChmlCmplRqRsltInProcCt | _ComplReqIpCt | $projection.ChmlCmplncInfoUUID = _ComplReqIpCt.ChmlCmplncInfoUUID |
| [0..1] | P_ChmlCmplRqRsltReldCt | _ComplReqReCt | $projection.ChmlCmplncInfoUUID = _ComplReqReCt.ChmlCmplncInfoUUID |
| [0..1] | P_ChmlCmplRqRsltCt | _ComplReqCt | $projection.ChmlCmplncInfoUUID = _ComplReqCt.ChmlCmplncInfoUUID |
| [0..*] | I_OTRText | _OTRText | _OTRText.Language = $session.system_language |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Key Figures for Marketability of Product | view | |
| AbapCatalog.sqlViewName | ICCMKTKEYFIG | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.representativeKey | ChmlCmplncInfoUUID | view |
Fields (15)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ChmlCmplncInfoUUID | I_ChmlCmplncInfo | ChmlCmplncInfoUUID | Chemical Compliance Information PP |
| NmbrOfChmlCmplncPckgdProducts | ||||
| NmbrOfChmlCmplncMktCountries | ||||
| NmbrOfCmplRqRslts | ||||
| NmbrOfInProcessCmplRqRslts | ||||
| NmbrOfReleasedCmplRqRslts | ||||
| 5endasReleasedCmplRqRsltsPct | ||||
| 5endasInProcessCmplRqRsltsPct | ||||
| ProdStewardshipRespUnit | ProdStewardshipRespUnit | Responsible Unit | ||
| MaterialIsSold | MaterialIsSold | Is Sold | ||
| MaterialIsTransported | MaterialIsTransported | Is Transported | ||
| MaterialIsSourced | MaterialIsSourced | Is Purchased | ||
| MaterialIsProduced | MaterialIsProduced | Is Produced | ||
| MaterialIsDisposed | MaterialIsDisposed | Is Disposed | ||
| MaterialIsEmissionRelevant | MaterialIsEmissionRelevant | Emission Relevant |
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_ChmlCmplncMktKeyFig.
-- 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_ChmlCmplncMktKeyFig AS
SELECT
_ChmlCmplncInfo.ChmlCmplncInfoUUID AS ChmlCmplncInfoUUID,
cast(_RelatedPPCount.CountRelPP as ehpma_number_of_pp preserving type ) AS NmbrOfChmlCmplncPckgdProducts,
cast(_CoverageCt.recordCount as ehpma_number_of_countries preserving type ) AS NmbrOfChmlCmplncMktCountries,
cast(_ComplReqCt.recordCount as ehfnd_cci_number_of_crr preserving type ) AS NmbrOfCmplRqRslts,
cast(_ComplReqIpCt.recordCount as ehfnd_cci_number_of_crr_ip preserving type ) AS NmbrOfInProcessCmplRqRslts,
cast(_ComplReqReCt.recordCount as ehfnd_cci_number_of_crr_re preserving type ) AS NmbrOfReleasedCmplRqRslts,
case when _ComplReqReCt.recordCount = 0 or _ComplReqReCt.recordCount is null then 0 when _ComplReqCt.recordCount = 0 or _ComplReqCt.recordCount is null then 0 else ceil( cast( _ComplReqReCt.recordCount as float ) / cast( _ComplReqCt.recordCount as float ) * 100.0 - 0.5 ) end as ReleasedCmplRqRsltsPct AS 5endasReleasedCmplRqRsltsPct,
case when _ComplReqIpCt.recordCount = 0 or _ComplReqIpCt.recordCount is null then 0 when _ComplReqCt.recordCount = 0 or _ComplReqCt.recordCount is null then 0 else ceil( cast( _ComplReqIpCt.recordCount as float ) / cast( _ComplReqCt.recordCount as float ) * 100.0 - 0.5 ) end as InProcessCmplRqRsltsPct AS 5endasInProcessCmplRqRsltsPct,
ProdStewardshipRespUnit,
MaterialIsSold,
MaterialIsTransported,
MaterialIsSourced,
MaterialIsProduced,
MaterialIsDisposed,
MaterialIsEmissionRelevant
FROM I_ChmlCmplncInfo AS _ChmlCmplncInfo
LEFT OUTER JOIN P_ChmlCmplMktReqAndCovGrpSum AS _SumReqAndCov ON ChmlCmplncInfoUUID = _SumReqAndCov.chemicalcomplianceuuid -- association [0..1]
LEFT OUTER JOIN P_ChmlCmplncInfoRelPPCt AS _RelatedPPCount ON ChmlCmplncInfoUUID = _RelatedPPCount.chemicalcomplianceproduuid -- association [0..1]
LEFT OUTER JOIN P_ChmlCmplMktCovCt AS _CoverageCt ON ChmlCmplncInfoUUID = _CoverageCt.chemicalcomplianceuuid -- association [0..1]
LEFT OUTER JOIN P_ChmlCmplRqRsltInProcCt AS _ComplReqIpCt ON ChmlCmplncInfoUUID = _ComplReqIpCt.ChmlCmplncInfoUUID -- association [0..1]
LEFT OUTER JOIN P_ChmlCmplRqRsltReldCt AS _ComplReqReCt ON ChmlCmplncInfoUUID = _ComplReqReCt.ChmlCmplncInfoUUID -- association [0..1]
LEFT OUTER JOIN P_ChmlCmplRqRsltCt AS _ComplReqCt ON ChmlCmplncInfoUUID = _ComplReqCt.ChmlCmplncInfoUUID -- association [0..1]
LEFT OUTER JOIN I_OTRText AS _OTRText ON _OTRText.Language = $session.system_language -- association [0..*]
;
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