C_ChmlCmplncMktCvrgTP
Market Assessment for one Country/Region
C_ChmlCmplncMktCvrgTP is a Consumption CDS View that provides data about "Market Assessment for one Country/Region" in SAP S/4HANA. It reads from 1 data source (I_ChmlCmplncMktCvrgTP) and exposes 41 fields with key field ChmlCmplncMktCvrgUUID. It has 8 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ChmlCmplncMktCvrgTP | I_ChmlCmplncMktCvrgTP | from |
Associations (8)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_ChmlCmplncMktTP | _ChmlCmplncInfo | _ChmlCmplncInfo.ChmlCmplncInfoUUID = $projection.ChmlCmplncInfoUUID -- Corresponding non-transactional Consumption View |
| [0..1] | P_ChmlCmplncMktCvrg | _ChmlCmplncMktCvrg | _ChmlCmplncMktCvrg.ChmlCmplncMktCvrgUUID = $projection.ActiveChmlCmplncMktCvrgUUID -- Marketability Request |
| [0..1] | I_ChmlCmplncMktReqTP | _ChmlCmplncMktReq | _ChmlCmplncMktReq.ActiveChmlCmplncInfoUUID = $projection.ActiveChmlCmplncInfoUUID and _ChmlCmplncMktReq.Country = $projection.Country -- Value Helps for Coverage Status |
| [0..1] | I_ChmlCmplncMktCvrgStsVH | _CvrgStsProdnVH | _CvrgStsProdnVH.ChmlCmplncCvrgStatus = $projection.ChmlCmplncProdnAllwd |
| [0..1] | I_ChmlCmplncMktCvrgStsVH | _CvrgStsSalesVH | _CvrgStsSalesVH.ChmlCmplncCvrgStatus = $projection.ChmlCmplncSalesAllwd -- Marketability for Packaged Products |
| [0..*] | C_ChmlCmplncMktCvrgProdAssgmt | _PackagedProducts | _PackagedProducts.ChmlCmplncProdUUID = $projection.ActiveChmlCmplncInfoUUID and _PackagedProducts.Country = $projection.Country -- Compliance Requirement Results |
| [0..*] | C_ChmlCmplncMktCmplRqRslt | _CmplRqRslt | _CmplRqRslt.ChmlCmplncProdUUID = $projection.ActiveChmlCmplncInfoUUID and ( _CmplRqRslt.Country = $projection.Country or _CmplRqRslt.Country = 'Worldwide' ) -- Contact Data |
| [0..1] | C_ChmlContactData | _ContactData | $projection.LastChangedByUser = _ContactData.ContactCardID |
Annotations (20)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Market Assessment for one Country/Region | view | |
| Metadata.allowExtensions | true | view | |
| AbapCatalog.sqlViewName | CCCMKTCVRGTP | 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 | EXTERNAL_CALCULATION | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| UI.headerInfo.typeName | Product - Assess for One Country/Region | view | |
| UI.headerInfo.typeNamePlural | Assess Markets and Production Countries/Regions | view | |
| UI.headerInfo.title.label | Material Name | view | |
| UI.headerInfo.title.value | CountryName | view | |
| Search.searchable | true | view |
Fields (41)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ChmlCmplncMktCvrgUUID | ChmlCmplncMktCvrgUUID | Marketability Coverage | |
| ActiveChmlCmplncMktCvrgUUID | ActiveChmlCmplncMktCvrgUUID | Marketability Coverage | ||
| ChmlCmplncMktReqUUID | ChmlCmplncMktReqUUID | Marketability Request | ||
| ChmlCmplncInfoUUID | ChmlCmplncInfoUUID | Chemical Compliance Information PP | ||
| ActiveChmlCmplncInfoUUID | ActiveChmlCmplncInfoUUID | Chemical Compliance Information | ||
| ChmlCmplncInfoNavgnLink | ActiveChmlCmplncInfoUUID | Chemical Compliance Information | ||
| ChmlCmplncInternalName | _ChmlCmplncInfo | ChmlCmplncInternalName | Internal Name | |
| ChmlCmplncInfoCombinedName | ||||
| ChmlCmplncApplication | ||||
| LastChangedByUser | LastChangedByUser | User Name | ||
| UserDescription | _LastChangedByUser | UserDescription | Full Name | |
| LastChangeUTCDateTime | LastChangeUTCDateTime | Time Stamp | ||
| ChmlCmplncInfoCntryProdName | _ChmlCmplncMktCvrg | ChmlCmplncInfoCntryProdName | ||
| CountryName | ||||
| Country | Country | Venue: Ctry/Reg | ||
| ChmlCmplncSpcfcCvrgExists | ||||
| ChmlCmplncSpcfcCvrgExistsName | ||||
| ChmlCmplncProdnIsReqd | _ChmlCmplncMktReq | ChmlCmplncProdnIsReqd | Produce In | |
| ChmlCmplncProdnIsReqdCritlty | ||||
| ChmlCmplncProdnAllwd | ChmlCmplncProdnAllwd | Produce In | ||
| ChmlCmplncProdnAllwdName | _CvrgStsProdnVH | ChmlCmplncCvrgStatusName | ||
| ChmlCmplncProdnCvrgStsCritlty | ||||
| ChmlCmplncProdnAllwdReqdName | ||||
| ChmlCmplncProdnCvrgReqdCritlty | ||||
| ChmlCmplncSalesIsReqd | _ChmlCmplncMktReq | ChmlCmplncSalesIsReqd | Sell In | |
| ChmlCmplncSalesIsReqdName | ||||
| ChmlCmplncSalesIsReqdCritlty | ||||
| ChmlCmplncSalesAllwd | ChmlCmplncSalesAllwd | Sell In | ||
| ChmlCmplncSalesAllwdName | _CvrgStsSalesVH | ChmlCmplncCvrgStatusName | ||
| ChmlCmplncSalesCvrgStsCritlty | ||||
| ChmlCmplncSalesAllwdReqdName | ||||
| ChmlCmplncSalesCvrgReqdCritlty | ||||
| ChmlCmplncMktCvrgRemark | ChmlCmplncMktCvrgRemark | Official Remark | ||
| _ChmlCmplncInfo | _ChmlCmplncInfo | |||
| _ChmlCmplncMktReq | _ChmlCmplncMktReq | |||
| _CvrgStsProdnVH | _CvrgStsProdnVH | |||
| _CvrgStsSalesVH | _CvrgStsSalesVH | |||
| _PackagedProducts | _PackagedProducts | |||
| _CmplRqRslt | _CmplRqRslt | |||
| _ContactData | _ContactData | |||
| _Country | _Country |
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_ChmlCmplncMktCvrgTP.
-- 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_ChmlCmplncMktCvrgTP AS
SELECT
ChmlCmplncMktCvrgUUID,
ActiveChmlCmplncMktCvrgUUID,
ChmlCmplncMktReqUUID,
ChmlCmplncInfoUUID,
ActiveChmlCmplncInfoUUID,
ActiveChmlCmplncInfoUUID AS ChmlCmplncInfoNavgnLink,
_ChmlCmplncInfo.ChmlCmplncInternalName AS ChmlCmplncInternalName,
cast(_ChmlCmplncMktCvrg._MaterialDataPrimary.ChmlCmplncInfoCombinedName as ehfnd_cci_up ) AS ChmlCmplncInfoCombinedName,
cast( '' as ehpma_application ) AS ChmlCmplncApplication,
LastChangedByUser,
_LastChangedByUser.UserDescription AS UserDescription,
LastChangeUTCDateTime,
_ChmlCmplncMktCvrg.ChmlCmplncInfoCntryProdName AS ChmlCmplncInfoCntryProdName,
cast(_Country._Text[1: Language = $session.system_language ].CountryName as ehfnd_country_desc_long) AS CountryName,
Country,
cast( '' as ehpma_specific_cov_exists) AS ChmlCmplncSpcfcCvrgExists,
cast( '' as ehpma_specific_cov_exists_dsc ) AS ChmlCmplncSpcfcCvrgExistsName,
_ChmlCmplncMktReq.ChmlCmplncProdnIsReqd AS ChmlCmplncProdnIsReqd,
cast( 0 as integer ) AS ChmlCmplncProdnIsReqdCritlty,
ChmlCmplncProdnAllwd,
_CvrgStsProdnVH.ChmlCmplncCvrgStatusName AS ChmlCmplncProdnAllwdName,
cast( 0 as integer ) AS ChmlCmplncProdnCvrgStsCritlty,
cast( '' as ehpma_prod_covreq_status_dsc ) AS ChmlCmplncProdnAllwdReqdName,
cast( 0 as integer ) AS ChmlCmplncProdnCvrgReqdCritlty,
_ChmlCmplncMktReq.ChmlCmplncSalesIsReqd AS ChmlCmplncSalesIsReqd,
cast(_ChmlCmplncMktReq._ReqStsSales._Text[1: Language = $session.system_language ].ChmlCmplncReqStatusName as ehfnd_cci_sales_is_rqstd_dsc) AS ChmlCmplncSalesIsReqdName,
cast( 0 as integer ) AS ChmlCmplncSalesIsReqdCritlty,
ChmlCmplncSalesAllwd,
_CvrgStsSalesVH.ChmlCmplncCvrgStatusName AS ChmlCmplncSalesAllwdName,
cast( 0 as integer ) AS ChmlCmplncSalesCvrgStsCritlty,
cast( '' as ehpma_sales_covreq_status_dsc ) AS ChmlCmplncSalesAllwdReqdName,
cast( 0 as integer ) AS ChmlCmplncSalesCvrgReqdCritlty,
ChmlCmplncMktCvrgRemark
FROM I_ChmlCmplncMktCvrgTP
LEFT OUTER JOIN C_ChmlCmplncMktTP AS _ChmlCmplncInfo ON _ChmlCmplncInfo.ChmlCmplncInfoUUID = ChmlCmplncInfoUUID -- association [1..1]
LEFT OUTER JOIN P_ChmlCmplncMktCvrg AS _ChmlCmplncMktCvrg ON _ChmlCmplncMktCvrg.ChmlCmplncMktCvrgUUID = ActiveChmlCmplncMktCvrgUUID -- association [0..1]
LEFT OUTER JOIN I_ChmlCmplncMktReqTP AS _ChmlCmplncMktReq ON _ChmlCmplncMktReq.ActiveChmlCmplncInfoUUID = ActiveChmlCmplncInfoUUID AND _ChmlCmplncMktReq.Country = Country -- association [0..1]
LEFT OUTER JOIN I_ChmlCmplncMktCvrgStsVH AS _CvrgStsProdnVH ON _CvrgStsProdnVH.ChmlCmplncCvrgStatus = ChmlCmplncProdnAllwd -- association [0..1]
LEFT OUTER JOIN I_ChmlCmplncMktCvrgStsVH AS _CvrgStsSalesVH ON _CvrgStsSalesVH.ChmlCmplncCvrgStatus = ChmlCmplncSalesAllwd -- association [0..1]
LEFT OUTER JOIN C_ChmlCmplncMktCvrgProdAssgmt AS _PackagedProducts ON _PackagedProducts.ChmlCmplncProdUUID = ActiveChmlCmplncInfoUUID AND _PackagedProducts.Country = Country -- association [0..*]
LEFT OUTER JOIN C_ChmlCmplncMktCmplRqRslt AS _CmplRqRslt ON _CmplRqRslt.ChmlCmplncProdUUID = ActiveChmlCmplncInfoUUID AND ( _CmplRqRslt.Country = Country OR _CmplRqRslt.Country = 'Worldwide' ) -- association [0..*]
LEFT OUTER JOIN C_ChmlContactData AS _ContactData ON LastChangedByUser = _ContactData.ContactCardID -- 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