C_CmplRqRsltChmCstMtCstCmChkTP
CRR CCM Customer Compliance Check
C_CmplRqRsltChmCstMtCstCmChkTP is a Consumption CDS View that provides data about "CRR CCM Customer Compliance Check" in SAP S/4HANA. It reads from 1 data source (I_CmplRqRsltCustCmplncChkTP) and exposes 47 fields with key field CmplRqRsltUUID. It has 10 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CmplRqRsltCustCmplncChkTP | ComplianceRequirementResult | from |
Associations (10)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_CmplRqVersEnhanced | _CmplRqVers | $projection.CmplRqVersUUID = _CmplRqVers.CmplRqVersUUID |
| [0..1] | I_CmplncRqmtRsltCmplncStsVH | _ReleasedCmplncStsVH | $projection.CmplRqRsltReldCmplncSts = _ReleasedCmplncStsVH.CmplRqRsltCmplncSts |
| [0..*] | I_CmplncRqmtRsltCmplncStsTxt | _CmplRqRsltReldCmplncStsTxt | $projection.CmplRqRsltReldCmplncSts = _CmplRqRsltReldCmplncStsTxt.CmplRqRsltCmplncSts |
| [0..1] | I_CmplncRqmtRsltCmplncStsVH | _PreliminaryStsVH | $projection.CmplRqRsltPrelimCmplncSts = _PreliminaryStsVH.CmplRqRsltCmplncSts |
| [0..1] | I_CmplRqRsltMnlCmplncStsVH | _CmplRqRsltMnlCmplncStsVH | $projection.CmplRqRsltManualStatus = _CmplRqRsltMnlCmplncStsVH.CmplRqRsltCmplncSts |
| [0..*] | I_CmplncRqmtRsltCmplncStsTxt | _CmplRqRsltManualStatusTxt | $projection.CmplRqRsltManualStatus = _CmplRqRsltManualStatusTxt.CmplRqRsltCmplncSts |
| [1..1] | C_CmplRqRsltProcgStsVH | _ProcessingStatusTxt | $projection.CmplRqRsltProcessingStatus = _ProcessingStatusTxt.CmplRqRsltProcessingStatus |
| [0..1] | I_CmplRqRslt | _ReleasedCmplRqRslt | $projection.ChemicalCustomerMaterialUUID = _ReleasedCmplRqRslt.ChemicalCustomerMaterialUUID and $projection.CmplRqVersUUID = _ReleasedCmplRqRslt.CmplRqVersUUID and _ReleasedCmplRqRslt.CmplRqRsltProcessingStatus = 'RE' |
| [0..1] | I_CmplRqVersRiskLevelText | _CmplRqVersRiskLevelText | $projection.ProdCmplncRiskLevelUUID = _CmplRqVersRiskLevelText.ProdCmplncRiskLevelUUID and _CmplRqVersRiskLevelText.Language = $session.system_language |
| [1..1] | P_CChmlCmplConstants | _CChmlCmplConstants | _CChmlCmplConstants.Constant01 = _CChmlCmplConstants.Constant01 |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CCRRCCMCCCTP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| EndUserText.label | CRR CCM Customer Compliance Check | view | |
| Metadata.allowExtensions | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (47)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CmplRqRsltUUID | I_CmplRqRsltCustCmplncChkTP | CmplRqRsltUUID | SDS Assessment |
| ActiveCmplRqRsltUUID | I_CmplRqRsltCustCmplncChkTP | ActiveCmplRqRsltUUID | Compliance Assessment UUID | |
| ChmlCmplncInfoUUID | I_CmplRqRsltCustCmplncChkTP | ChmlCmplncInfoUUID | Chemical Compliance Information PP | |
| ChemicalCustomerMaterialUUID | I_CmplRqRsltCustCmplncChkTP | ChemicalCustomerMaterialUUID | Customer Material | |
| CmplRqVersUUID | I_CmplRqRsltCustCmplncChkTP | CmplRqVersUUID | NodeID | |
| ProdCmplncRiskLevelUUID | I_CmplRqRsltCustCmplncChkTP | ProdCmplncRiskLevelUUID | Risk Level | |
| ChmlCmplncApplication | ||||
| CmplRqVersEnglishName | _CmplRqVers | CmplRqVersEnglishName | ||
| CmplRqVersNameInCurLang | ||||
| ComplianceRequirement | I_CmplRqRsltCustCmplncChkTP | ComplianceRequirement | Compliance Requirement | |
| MaterialName | ||||
| Material | ||||
| ChmlCmplncNavgnLinkToReldVers | _ReleasedCmplRqRslt | CmplRqRsltUUID | SDS Assessment | |
| ChmlCmplncInfoType | ||||
| ChmlCmplncProdIsResearched | ||||
| MaterialIsSold | I_CmplRqRsltCustCmplncChkTP | MaterialIsSold | Is Sold | |
| MaterialIsTransported | I_CmplRqRsltCustCmplncChkTP | MaterialIsTransported | Is Transported | |
| MaterialIsSourced | I_CmplRqRsltCustCmplncChkTP | MaterialIsSourced | Is Purchased | |
| MaterialIsProduced | I_CmplRqRsltCustCmplncChkTP | MaterialIsProduced | Is Produced | |
| ValidityStartDateTime | I_CmplRqRsltCustCmplncChkTP | ValidityStartDateTime | Valid From Timestamp | |
| ValidityEndDateTime | I_CmplRqRsltCustCmplncChkTP | ValidityEndDateTime | Valid To Timestamp | |
| Customer | _ChmCustMat | Customer | Sold-to Party | |
| BPCustomerName | ||||
| BusinessPartnerName1 | ||||
| BusinessPartnerName2 | ||||
| ChmlCustMatlChmlCmplncInfoUUID | _ChmCustMat | ChmlCmplncInfoUUID | Chemical Compliance Information PP | |
| CmplRqRsltManualCmplncStsCritl | _CmplRqRsltMnlCmplncStsVH | CmplRqRsltCmplncStsCriticality | ||
| CmplRqRsltPrelimCmplncStsCritl | _PreliminaryStsVH | CmplRqRsltCmplncStsCriticality | ||
| CmplRqRsltReldCmplncStsTxt | ||||
| CmplRqRsltReldCmplncStsCritl | _ReleasedCmplncStsVH | CmplRqRsltCmplncStsCriticality | ||
| Processor | I_CmplRqRsltCustCmplncChkTP | Processor | User Name | |
| CmplRqRsltProcessorName | ||||
| ReleasedByUser | I_CmplRqRsltCustCmplncChkTP | ReleasedByUser | Released By | |
| ReleasedByUserName | ||||
| CmplRqPattern | _CmplRqVers | CmplRqPattern | Compliance Pattern | |
| CmplRqRsltStatusRemark | CmplRqRsltStatusRemark | Remarks | ||
| CmplRqRsltProcessingStatus | CmplRqRsltProcessingStatus | Processing Status | ||
| ProcessingStatusText | _ProcessingStatusTxt | ProcessingStatusText | ||
| ProdCmplncRiskLevelName | _CmplRqVersRiskLevelText | ProdCmplncRiskLevelName | Risk Level Name | |
| ChmlCustMatlLifeCycleStatus | ChmlCustMatlLifeCycleStatus | |||
| _PreliminaryStsVH | _PreliminaryStsVH | |||
| _CmplRqRsltReldCmplncStsTxt | _CmplRqRsltReldCmplncStsTxt | |||
| _ReleasedCmplncStsVH | _ReleasedCmplncStsVH | |||
| _CmplRqRsltMnlCmplncStsVH | _CmplRqRsltMnlCmplncStsVH | |||
| _CmplRqRsltManualStatusTxt | _CmplRqRsltManualStatusTxt | |||
| _CmplRqVers | _CmplRqVers | |||
| _ChmlCmplncInfo | _ChmCustMat | _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_CmplRqRsltChmCstMtCstCmChkTP.
-- 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: CCRRCCMCCCTP
CREATE VIEW C_CmplRqRsltChmCstMtCstCmChkTP AS
SELECT
ComplianceRequirementResult.CmplRqRsltUUID AS CmplRqRsltUUID,
ComplianceRequirementResult.ActiveCmplRqRsltUUID AS ActiveCmplRqRsltUUID,
ComplianceRequirementResult.ChmlCmplncInfoUUID AS ChmlCmplncInfoUUID,
ComplianceRequirementResult.ChemicalCustomerMaterialUUID AS ChemicalCustomerMaterialUUID,
ComplianceRequirementResult.CmplRqVersUUID AS CmplRqVersUUID,
ComplianceRequirementResult.ProdCmplncRiskLevelUUID AS ProdCmplncRiskLevelUUID,
cast( '' as ehpma_application ) AS ChmlCmplncApplication,
_CmplRqVers.CmplRqVersEnglishName AS CmplRqVersEnglishName,
_CmplRqVers._CmplRqVersTextInCurrentLang.CmplRqVersName AS CmplRqVersNameInCurLang,
ComplianceRequirementResult.ComplianceRequirement AS ComplianceRequirement,
_ChmCustMat._PrimeMatPackaged.Material AS Material,
_ReleasedCmplRqRslt.CmplRqRsltUUID AS ChmlCmplncNavgnLinkToReldVers,
_ChmCustMat._ChmlCmplncInfo.ChmlCmplncInfoType AS ChmlCmplncInfoType,
_ChmCustMat._ChmlCmplncInfo.ChmlCmplncProdIsResearched AS ChmlCmplncProdIsResearched,
ComplianceRequirementResult.MaterialIsSold AS MaterialIsSold,
ComplianceRequirementResult.MaterialIsTransported AS MaterialIsTransported,
ComplianceRequirementResult.MaterialIsSourced AS MaterialIsSourced,
ComplianceRequirementResult.MaterialIsProduced AS MaterialIsProduced,
ComplianceRequirementResult.ValidityStartDateTime AS ValidityStartDateTime,
ComplianceRequirementResult.ValidityEndDateTime AS ValidityEndDateTime,
_ChmCustMat.Customer AS Customer,
_ChmCustMat._ShipToParty.BPCustomerName AS BPCustomerName,
_ChmCustMat._ShipToParty.BusinessPartnerName1 AS BusinessPartnerName1,
_ChmCustMat._ShipToParty.BusinessPartnerName2 AS BusinessPartnerName2,
_ChmCustMat.ChmlCmplncInfoUUID AS ChmlCustMatlChmlCmplncInfoUUID,
_CmplRqRsltMnlCmplncStsVH.CmplRqRsltCmplncStsCriticality AS CmplRqRsltManualCmplncStsCritl,
_PreliminaryStsVH.CmplRqRsltCmplncStsCriticality AS CmplRqRsltPrelimCmplncStsCritl,
_CmplRqRsltReldCmplncStsTxt[1: Language = $session.system_language ].CmplRqRsltCmplncStsTxt AS CmplRqRsltReldCmplncStsTxt,
_ReleasedCmplncStsVH.CmplRqRsltCmplncStsCriticality AS CmplRqRsltReldCmplncStsCritl,
ComplianceRequirementResult.Processor AS Processor,
cast( '' as ad_namtext ) AS CmplRqRsltProcessorName,
ComplianceRequirementResult.ReleasedByUser AS ReleasedByUser,
cast( '' as ad_namtext ) AS ReleasedByUserName,
_CmplRqVers.CmplRqPattern AS CmplRqPattern,
CmplRqRsltStatusRemark,
CmplRqRsltProcessingStatus,
_ProcessingStatusTxt.ProcessingStatusText AS ProcessingStatusText,
_CmplRqVersRiskLevelText.ProdCmplncRiskLevelName AS ProdCmplncRiskLevelName,
ChmlCustMatlLifeCycleStatus,
_ChmCustMat._ChmlCmplncInfo AS _ChmlCmplncInfo
FROM I_CmplRqRsltCustCmplncChkTP AS ComplianceRequirementResult
LEFT OUTER JOIN I_CmplRqVersEnhanced AS _CmplRqVers ON CmplRqVersUUID = _CmplRqVers.CmplRqVersUUID -- association [1..1]
LEFT OUTER JOIN I_CmplncRqmtRsltCmplncStsVH AS _ReleasedCmplncStsVH ON CmplRqRsltReldCmplncSts = _ReleasedCmplncStsVH.CmplRqRsltCmplncSts -- association [0..1]
LEFT OUTER JOIN I_CmplncRqmtRsltCmplncStsTxt AS _CmplRqRsltReldCmplncStsTxt ON CmplRqRsltReldCmplncSts = _CmplRqRsltReldCmplncStsTxt.CmplRqRsltCmplncSts -- association [0..*]
LEFT OUTER JOIN I_CmplncRqmtRsltCmplncStsVH AS _PreliminaryStsVH ON CmplRqRsltPrelimCmplncSts = _PreliminaryStsVH.CmplRqRsltCmplncSts -- association [0..1]
LEFT OUTER JOIN I_CmplRqRsltMnlCmplncStsVH AS _CmplRqRsltMnlCmplncStsVH ON CmplRqRsltManualStatus = _CmplRqRsltMnlCmplncStsVH.CmplRqRsltCmplncSts -- association [0..1]
LEFT OUTER JOIN I_CmplncRqmtRsltCmplncStsTxt AS _CmplRqRsltManualStatusTxt ON CmplRqRsltManualStatus = _CmplRqRsltManualStatusTxt.CmplRqRsltCmplncSts -- association [0..*]
LEFT OUTER JOIN C_CmplRqRsltProcgStsVH AS _ProcessingStatusTxt ON CmplRqRsltProcessingStatus = _ProcessingStatusTxt.CmplRqRsltProcessingStatus -- association [1..1]
LEFT OUTER JOIN I_CmplRqRslt AS _ReleasedCmplRqRslt ON ChemicalCustomerMaterialUUID = _ReleasedCmplRqRslt.ChemicalCustomerMaterialUUID AND CmplRqVersUUID = _ReleasedCmplRqRslt.CmplRqVersUUID AND _ReleasedCmplRqRslt.CmplRqRsltProcessingStatus = 'RE' -- association [0..1]
LEFT OUTER JOIN I_CmplRqVersRiskLevelText AS _CmplRqVersRiskLevelText ON ProdCmplncRiskLevelUUID = _CmplRqVersRiskLevelText.ProdCmplncRiskLevelUUID AND _CmplRqVersRiskLevelText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN P_CChmlCmplConstants AS _CChmlCmplConstants ON _CChmlCmplConstants.Constant01 = _CChmlCmplConstants.Constant01 -- association [1..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