I_MDQltyAnalyticScoresCube
MDQ Analytic Scores - Cube
I_MDQltyAnalyticScoresCube (Composite)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.
MDQ Evaluation Analytical Score Coll · Database & Data Management
I_MDQltyAnalyticScoresCube is a Composite CDS View (Cube) that provides data about "MDQ Analytic Scores - Cube" in SAP S/4HANA. It reads from 3 data sources (I_MDQltyDimnRuleAssgmt, I_MDQltyDimnRuleAssgmtImpact, I_MDQltyScoreEvalDetails) and exposes 21 fields with key fields MasterDataChangeProcess, MDQualityBusinessRule, MDQltyDimensionCategory, MDQltyDimension, MDQltyBusinessObjectTypeCode. It has 5 associations to related views. Part of development package MDQ_PF_ANALYTICS_GEN.
SAP Help Documentation
| Category | CDS Views for Master Data Governance |
|---|---|
| Data Category | Cube |
| Status | Released |
This CDS view helps to retrieve master data quality scores based on validation rules. You can use these rules to evaluate master data, analyze incorrect data, and correct identified master data issues. This CDS view provides the prerequisites for answering the following business questions: What is the average data quality of my master data? What is the score of my validation rules? What is the average quality score of defined category and dimensions?
Structure
Object types This view relates to the following SAP object types: MasterDataQualityRule Main parameters and filters of the CDS view The main filters are as follows: MDQltyDimensionCategory MDQltyDimension MDQltyBusinessObjectTypeCode used to identify the master data ... Measures and attributes Some important measures and attributes are: MDQualityBusinessRule MDQltyBusinessRuleOwner . The user who owns the rule definition. MDQltyBusRuleCheckedField . A field name of which the master data attribute is checked by the validation rule. MDQltyDimensionCategory . A group of several dimensions. MDQltyDimension . A group of several validation rules. MDQltyRuleScore . A data quality score based on the validation rule MDQualityBusinessRule . MDQltyDimensionScore . The score of MDQltyDimension , which is calculated from all assigned rules under the dimension. MDQltyDimnCategoryScore . Presents the average score of all dimensions in this group
SAP API Hub
| Category | Composite |
|---|---|
| State | C1 |
| Line of Business | Database & Data Management |
| Application Component | CA-MDG-PF-DQ |
| Capabilities | Data Source for Data Extraction,Data Provider for Analytical Queries,Data Source for Defining CDS Entities,Data Source in SQL Select |
| Extensible (Key User) | No |
| Extensible (Developer) | No |
| Release State (Key User) | Released |
| Release State (Developer) | Not Released |
| Package | Database and Data Management for SAP S/4HANA Cloud Public Edition |
| Description | <p>This CDS view helps to retrieve master data quality scores based on data quality business rules. You can use these rules to evaluate master data, analyze incorrect data, and correct identified master data issues.</p> <p>This CDS view provides the prerequisites for answering the following business questions:</p> <ul> <li><p>What is the average data quality of my master data? </p></li> <li><p>What is the score of my data quality rules?</p></li> <li><p>What is the average quality score of defined category and dimensions?</p></li> </ul> |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Public Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Public Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Public Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Custom Communication Scenarios — Create custom communication scenarios to configure custom communication arrangement
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Public Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_MDQltyDimnRuleAssgmt | _MDQltyDimnRuleAssgmt | inner |
| I_MDQltyDimnRuleAssgmtImpact | _MDQltyDimnRuleAssgmtImpact | from |
| I_MDQltyScoreEvalDetails | _MDQltyScoreEvalDetails | inner |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_MDQltyDimensionScore | _MDQltyDimensionScore | $projection.MasterDataChangeProcess = _MDQltyDimensionScore.MasterDataChangeProcess and _MDQltyDimnRuleAssgmtImpact.MDQltyDimensionUUID = _MDQltyDimensionScore.MDQltyDimensionUUID |
| [0..*] | I_MDQltyDimnCategoryScore | _MDQltyDimnCatScore | $projection.MasterDataChangeProcess = _MDQltyDimnCatScore.MasterDataChangeProcess and _MDQltyDimnRuleAssgmtImpact.MDQltyDimensionCategoryUUID = _MDQltyDimnCatScore.MDQltyDimensionCategoryUUID |
| [1..1] | I_MDQltyDimension | _MDQltyDimension | _MDQltyDimnRuleAssgmtImpact.MDQltyDimensionUUID = _MDQltyDimension.MDQltyDimensionUUID |
| [0..1] | I_MDQltyFioriLaunchpadHostPath | _FldHost | _FldHost.mandt = $session.client |
| [1..1] | I_MDQltyDimensionCategory | _MDQltyDimensionCategory | _MDQltyDimensionCategory.MDQltyDimensionCategoryUUID = _MDQltyDimnRuleAssgmtImpact.MDQltyDimensionCategoryUUID |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | MDQ Analytic Scores - Cube | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| AbapCatalog.sqlViewName | MDQLTYANSCORES | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_CUBE | view | |
| ObjectModel.sapObjectNodeType.name | MDQEvalAnalyticalScoreColl | view | |
| Metadata.allowExtensions | true | view | |
| Analytics.internalName | #LOCAL | view | |
| Analytics.dataCategory | #CUBE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Analytics.dataExtraction.enabled | true | view |
Fields (21)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MasterDataChangeProcess | I_MDQltyDimnRuleAssgmtImpact | MasterDataChangeProcess | Master Data Change Process Identifier |
| KEY | MDQualityBusinessRule | I_MDQltyDimnRuleAssgmtImpact | MDQualityBusinessRule | Master Data Quality Rule Definition ID |
| KEY | MDQltyDimensionCategory | MDQ Dimension Category | ||
| KEY | MDQltyDimension | MDQ Dimension | ||
| KEY | MDQltyBusinessObjectTypeCode | I_MDQltyDimnRuleAssgmtImpact | MDQltyBusinessObjectTypeCode | Master Data Change Process Business Object Type Code |
| KEY | MDQltyDimensionUUID | I_MDQltyDimnRuleAssgmtImpact | MDQltyDimensionUUID | MDQ Dimension UUID |
| KEY | MDQualityBusinessRuleName | I_MDQltyDimnRuleAssgmtImpact | MDQualityBusinessRuleName | Master Data Quality Rule Definition Name |
| KEY | MDQltyBusinessRuleOwner | Master Data Quality Business Rule Owner | ||
| KEY | MDQltyBusRuleCheckedField | Master Data Quality Fieldname of the Checked Field | ||
| KEY | MDQltyBusinessRuleExpert | Master Data Quality Business Rule Expert | ||
| KEY | MDQltyBusinessRuleBaseTable | I_MDQltyDimnRuleAssgmtImpact | MDQltyBusinessRuleBaseTable | Base Table |
| MDChgProcessFinishDate | Evaluation Completion Date | |||
| MDChgProcessIsLatest | I_MDQltyScoreEvalDetails | MDChgProcessIsLatest | ||
| MDQltyRuleScore | I_MDQltyDimnRuleAssgmtImpact | MDQltyRuleScore | Rule Score | |
| MDQltyDimensionScore | Dimension Score | |||
| MDQltyDimnTargetScoreValue | _MDQltyDimension | MDQltyEvalTargetThreshold | MDQ Evaluation Target Threshold | |
| MDQltyDimensionCategoryUUID | I_MDQltyDimnRuleAssgmtImpact | MDQltyDimensionCategoryUUID | MDQ Dimension Category UUID | |
| MDQltyDimnCategoryScore | Category Score | |||
| MDQltyDimnCatTargetScoreValue | _MDQltyDimensionCategory | MDQltyEvalTargetThreshold | MDQ Evaluation Target Threshold | |
| _MDQltyDimension | _MDQltyDimension | |||
| _MDQltyDimensionCategory | _MDQltyDimensionCategory |
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_MDQltyAnalyticScoresCube.
-- 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: MDQLTYANSCORES
CREATE VIEW I_MDQltyAnalyticScoresCube AS
SELECT
_MDQltyDimnRuleAssgmtImpact.MasterDataChangeProcess AS MasterDataChangeProcess,
_MDQltyDimnRuleAssgmtImpact.MDQualityBusinessRule AS MDQualityBusinessRule,
_MDQltyDimnRuleAssgmt._MDQltyDimensionCategory.MDQltyDimensionCategory AS MDQltyDimensionCategory,
_MDQltyDimnRuleAssgmt._MDQltyDimension.MDQltyDimension AS MDQltyDimension,
_MDQltyDimnRuleAssgmtImpact.MDQltyBusinessObjectTypeCode AS MDQltyBusinessObjectTypeCode,
_MDQltyDimnRuleAssgmtImpact.MDQltyDimensionUUID AS MDQltyDimensionUUID,
_MDQltyDimnRuleAssgmtImpact.MDQualityBusinessRuleName AS MDQualityBusinessRuleName,
_MDQltyDimnRuleAssgmtImpact._MDQualityBusinessRule.MDQltyBusinessRuleOwner AS MDQltyBusinessRuleOwner,
_MDQltyDimnRuleAssgmtImpact._MDQualityBusinessRule.MDQltyBusRuleCheckedField AS MDQltyBusRuleCheckedField,
_MDQltyDimnRuleAssgmtImpact._MDQualityBusinessRule.MDQltyBusinessRuleExpert AS MDQltyBusinessRuleExpert,
_MDQltyDimnRuleAssgmtImpact.MDQltyBusinessRuleBaseTable AS MDQltyBusinessRuleBaseTable,
tstmp_to_dats(_MDQltyScoreEvalDetails.MDChgProcessFinishDateTime, abap_system_timezone( $session.client,'NULL' ), $session.client, 'NULL') AS MDChgProcessFinishDate,
_MDQltyScoreEvalDetails.MDChgProcessIsLatest AS MDChgProcessIsLatest,
_MDQltyDimnRuleAssgmtImpact.MDQltyRuleScore AS MDQltyRuleScore,
fltp_to_dec(_MDQltyDimensionScore.MDQltyDimensionScore as abap.dec(4,1)) AS MDQltyDimensionScore,
_MDQltyDimension.MDQltyEvalTargetThreshold AS MDQltyDimnTargetScoreValue,
_MDQltyDimnRuleAssgmtImpact.MDQltyDimensionCategoryUUID AS MDQltyDimensionCategoryUUID,
fltp_to_dec(_MDQltyDimnCatScore.MDQltyDimnCategoryScore as abap.dec(4,1)) AS MDQltyDimnCategoryScore,
_MDQltyDimensionCategory.MDQltyEvalTargetThreshold AS MDQltyDimnCatTargetScoreValue
FROM I_MDQltyDimnRuleAssgmtImpact AS _MDQltyDimnRuleAssgmtImpact
INNER JOIN I_MDQltyDimnRuleAssgmt AS _MDQltyDimnRuleAssgmt ON /* join condition not captured in parsed metadata */
INNER JOIN I_MDQltyScoreEvalDetails AS _MDQltyScoreEvalDetails ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MDQltyDimensionScore AS _MDQltyDimensionScore ON MasterDataChangeProcess = _MDQltyDimensionScore.MasterDataChangeProcess AND _MDQltyDimnRuleAssgmtImpact.MDQltyDimensionUUID = _MDQltyDimensionScore.MDQltyDimensionUUID -- association [0..*]
LEFT OUTER JOIN I_MDQltyDimnCategoryScore AS _MDQltyDimnCatScore ON MasterDataChangeProcess = _MDQltyDimnCatScore.MasterDataChangeProcess AND _MDQltyDimnRuleAssgmtImpact.MDQltyDimensionCategoryUUID = _MDQltyDimnCatScore.MDQltyDimensionCategoryUUID -- association [0..*]
LEFT OUTER JOIN I_MDQltyDimension AS _MDQltyDimension ON _MDQltyDimnRuleAssgmtImpact.MDQltyDimensionUUID = _MDQltyDimension.MDQltyDimensionUUID -- association [1..1]
LEFT OUTER JOIN I_MDQltyFioriLaunchpadHostPath AS _FldHost ON _FldHost.mandt = $session.client -- association [0..1]
LEFT OUTER JOIN I_MDQltyDimensionCategory AS _MDQltyDimensionCategory ON _MDQltyDimensionCategory.MDQltyDimensionCategoryUUID = _MDQltyDimnRuleAssgmtImpact.MDQltyDimensionCategoryUUID -- 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