I_MDQAnlytsScrCustC

DDL: I_MDQANLYTSSCRCUSTC Type: view_entity COMPOSITE

MDQ Score for Customer - Cube

I_MDQAnlytsScrCustC (Composite)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

MDQBP Cust Evaluation Analytical Score · Database & Data Management

I_MDQAnlytsScrCustC is a Composite CDS View (Cube) that provides data about "MDQ Score for Customer - Cube" in SAP S/4HANA. It reads from 1 data source (I_MDQAnlytsScrBPCust) and exposes 73 fields with key fields MasterDataChangeProcess, BusinessPartner, MDQualityBusinessRuleUUID, MDQltyBusRuleEvalResultCode. It has 21 associations to related views.

SAP Help Documentation

CategoryCDS Views for Master Data Governance
Data CategoryCube
Purpose
This CDS view helps to retrieve the results of quality evaluations and master data scores for customer general data. You can analyze the data using master data attributes, for example, country, or account group to identify any issues and improve the data. This CDS view provides the data to answer the following business questions: What is the quality score of my customer general data? Which data is compliant with or violating specific validation rules? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations Users who want to use this CDS view must have a role with the following restriction types set to read access: Authorization Group for Business Partners BP Role Business Partner Data Controller Purpose Assignment Business Partner Processing Authorization Group for Customers Customer Account Group You can use the Display Restriction Types app to find out in which business catalogs these restriction types are included. Configuration

Structure
Important Fields Important fields in this view include the following: Field Name Description Measure or Attribute Country Country/Region Key Attribute CustomerAccountGroup Account Group Attribute CustomerCorporateGroup Group Key Attribute MDQltyNmbrOfFailedEvalRslts Not OK Measure Score Quality Score Measure

Data Extraction
Data Extraction Type This CDS view is enabled for data extraction in full mode.

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessDatabase & Data Management
Application ComponentCA-MDG-ADQ
CapabilitiesData Provider for Analytical Queries, Data Source for Defining CDS Entities, Data Source for Data Extraction, Data Source in SQL Select
PackageDatabase & Data Management for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
I_MDQAnlytsScrBPCust _MDQAnlytsScrBPCust from

Associations (21)

CardinalityTargetAliasCondition
[0..1] I_BillingBlockReason _BillingBlockReason _BillingBlockReason.BillingBlockReason = $projection.billingisblockedforcustomer
[1..1] I_Country _Country _Country.Country = $projection.country
[1..1] I_Customer _Customer _Customer.Customer = $projection.Customer
[0..1] I_CustomerAccountGroup _CustomerAccountGroup _CustomerAccountGroup.CustomerAccountGroup = $projection.customeraccountgroup
[0..1] I_CustomerClassification _CustomerClassification _CustomerClassification.CustomerClassification = $projection.customerclassification
[0..1] I_CustomerSupplierIndustry _CustomerSupplierIndustry _CustomerSupplierIndustry.Industry = $projection.industry
[0..1] I_DeliveryBlockReason _DeliveryBlockReason _DeliveryBlockReason.DeliveryBlockReason = $projection.deliveryisblocked
[0..*] I_RegionText _RegionText _RegionText.Region = $projection.region and _RegionText.Country = $projection.country
[0..*] I_BPGenderValueHelpText _GenderText _GenderText.GenderCodeName = $projection.gendercodename
[1..1] I_BusinessPartner _BusinessPartner _BusinessPartner.BusinessPartner = $projection.BusinessPartner
[0..*] I_BusinessPartnerGroupingText _BusinessPartnerGroupingText _BusinessPartnerGroupingText.BusinessPartnerGrouping = $projection.businesspartnergrouping
[0..*] I_BusinessPartnerLegalFormText _BusinessPartnerLegalFormText _BusinessPartnerLegalFormText.LegalForm = $projection.legalform
[0..*] I_MDQltyBusinessRuleBaseTableT _MDQBusinessRuleBaseTableText _MDQBusinessRuleBaseTableText.MDQltyBusinessObjectTypeCode = '147' and _MDQBusinessRuleBaseTableText.MDQltyBusinessRuleBaseTable = $projection.MDQltyBusinessRuleBaseTable
[0..1] I_MDQltyFioriLaunchpadHostPath _MDQltyFioriLaunchpadHostPath _MDQltyFioriLaunchpadHostPath.MDQltyFioriLaunchpadHostPath <> ''
[1..1] I_MDQltyScoreEvalDetails _MDQltyScoreEvalDetails _MDQltyScoreEvalDetails.MasterDataChangeProcess = $projection.MasterDataChangeProcess
[1..1] I_MDQualityBusinessRule _MDQualityBusinessRule _MDQualityBusinessRule.MDQualityBusinessRuleUUID = $projection.MDQualityBusinessRuleUUID
[0..1] I_User _UserChangedBy _UserChangedBy.UserID = $projection.lastchangedbyuser
[0..1] I_User _UserCreatedBy _UserCreatedBy.UserID = $projection.createdbyuser
[0..1] I_User _UserRuleOwner _UserRuleOwner.UserID = $projection.MDQltyBusinessRuleOwner
[0..1] E_BP_D _BusinessPartnerExtension _BusinessPartnerExtension.BusinessPartner = $projection.BusinessPartner
[0..1] E_Customer _CustomerExtension _CustomerExtension.Customer = $projection.Customer

Annotations (14)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
Analytics.dataCategory #CUBE view
Analytics.dataExtraction.enabled true view
Analytics.internalName #LOCAL view
EndUserText.label MDQ Score for Customer - Cube view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #ANALYTICAL_CUBE view
ObjectModel.sapObjectNodeType.name MDQBPCustEvalAnlytlScr view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view
VDM.viewType #COMPOSITE view

Fields (73)

KeyFieldSource TableSource FieldDescription
KEY MasterDataChangeProcess I_MDQAnlytsScrBPCust MasterDataChangeProcess Master Data Change Process Identifier
KEY BusinessPartner I_MDQAnlytsScrBPCust BusinessPartner Business Partner Number
KEY MDQualityBusinessRuleUUID I_MDQAnlytsScrBPCust MDQualityBusinessRuleUUID Master Data Quality Validation Rule UUID
KEY MDQltyBusRuleEvalResultCode I_MDQAnlytsScrBPCust MDQltyBusRuleEvalResultCode Master Data Quality Rule Evaluation Result Type
AlternativePayeeIsAllowed _Customer AlternativePayeeIsAllowed Indicator: Is an alternative payer allowed in document?
AuthorizationGroup _Customer AuthorizationGroup Authorization Group
BillingIsBlockedForCustomer _Customer BillingIsBlockedForCustomer Central billing block for customer
CityName _Customer CityName Name
Country _Customer Country Country/Region Key
Customer Customer Customer Number
CustomerAccountGroup _Customer CustomerAccountGroup Customer Account Group
CustomerClassification _Customer CustomerClassification Customer Classification
CustomerCorporateGroup _Customer CustomerCorporateGroup Group key
DeliveryIsBlocked _Customer DeliveryIsBlocked Central delivery block for the customer
Industry _Customer Industry Industry Sector
IsSalesProspect _Customer IsSalesProspect Indicator: Sales prospect
NielsenRegion _Customer NielsenRegion Nielsen ID
OrderIsBlockedForCustomer _Customer OrderIsBlockedForCustomer Central order block for customer
PaymentIsBlockedForCustomer _Customer PaymentIsBlockedForCustomer Payment Block
PostalCode _Customer PostalCode Postal Code
PostingIsBlocked _Customer PostingIsBlocked Central posting block
Region _Customer Region Region (State, Province, County)
MDChgProcessFinishDate Master Data Change Process Completion Date
MDChgProcessIsLatest _MDQltyScoreEvalDetails MDChgProcessIsLatest
MDQltyBusinessRuleBaseTable I_MDQAnlytsScrBPCust MDQltyBusinessRuleBaseTable Base Table
MDQltyBusinessRuleBaseTabName Alias of a table
MDQltyBusinessRuleOwner I_MDQAnlytsScrBPCust MDQltyBusinessRuleOwner Master Data Quality Business Rule Owner
MDQltyBusRuleCheckedField _MDQualityBusinessRule MDQltyBusRuleCheckedField Master Data Quality Fieldname of the Checked Field
MDQltyBusRuleCheckedFieldTable _MDQualityBusinessRule MDQltyBusRuleCheckedFieldTable Maste Data Quality Table Name of Checked Field
MDQltyBusRuleChkdFieldAndTable _MDQualityBusinessRule MDQltyBusRuleChkdFieldAndTable Master Data Quality Table and Field Name of Checked Field
MDQualityBusinessRule _MDQualityBusinessRule MDQualityBusinessRule Master Data Quality Rule Definition ID
MDQualityBusinessRuleName _MDQualityBusinessRule MDQualityBusinessRuleName Master Data Quality Rule Definition Name
AcademicTitle _BusinessPartner AcademicTitle Academic Title: Key
BPFirstNameSearchHelp _BusinessPartner BPFirstNameSearchHelp Search Help Field 2 (Name 2/First Name)
BPLastNameSearchHelp _BusinessPartner BPLastNameSearchHelp Search Help Field 1 (Name 1/Last Name)
BusinessPartnerCategory _BusinessPartner BusinessPartnerCategory Business Partner Category
BusinessPartnerGrouping _BusinessPartner BusinessPartnerGrouping Business Partner Grouping
BusinessPartnerIsBlocked _BusinessPartner BusinessPartnerIsBlocked Central Block for Business Partner
CreatedByUser _BusinessPartner CreatedByUser User who created the object
CreationDate _BusinessPartner CreationDate Date on which the object was created
FirstName _BusinessPartner FirstName First Name of Business Partner (Person)
GenderCodeName _BusinessPartner GenderCodeName Gender of Business Partner (Person)
IsMarkedForArchiving _BusinessPartner IsMarkedForArchiving Central Archiving Flag
IsNaturalPerson _BusinessPartner IsNaturalPerson Business Partner Is a Natural Person Under the Tax Laws
LastChangeDate _BusinessPartner LastChangeDate Date when object was last changed
LastChangedByUser _BusinessPartner LastChangedByUser Last user to change object
LastName _BusinessPartner LastName Last Name of Business Partner (Person)
LegalForm _BusinessPartner LegalForm BP: Legal form of organization
OrganizationBPName1 _BusinessPartner OrganizationBPName1 Name 1 of organization
OrganizationBPName2 _BusinessPartner OrganizationBPName2 Name 2 of organization
OrganizationFoundationDate _BusinessPartner OrganizationFoundationDate Date organization founded
SearchTerm1 _BusinessPartner SearchTerm1 Search Term 1 for Business Partner
SearchTerm2 _BusinessPartner SearchTerm2 Search Term 2 for Business Partner
StreetName Street
_BusinessPartner _BusinessPartner
_AcademicTitleValueHelp _BusinessPartner _AcademicTitleValueHelp
_BusinessPartnerGroupingText _BusinessPartnerGroupingText
_BusinessPartnerLegalFormText _BusinessPartnerLegalFormText
_GenderText _GenderText
_UserChangedBy _UserChangedBy
_UserCreatedBy _UserCreatedBy
_UserRuleOwner _UserRuleOwner
_BillingBlockReason _BillingBlockReason
_Country _Country
_Customer _Customer
_CustomerAccountGroup _CustomerAccountGroup
_CustomerClassification _CustomerClassification
_CustomerSupplierIndustry _CustomerSupplierIndustry
_DeliveryBlockReason _DeliveryBlockReason
_RegionText _RegionText
MDQltyNmbrOfSuccssflEvalRslts I_MDQAnlytsScrBPCust MDQltyNmbrOfSuccssflEvalRslts Master Data Quality Counter Records OK
MDQltyNmbrOfFailedEvalRslts I_MDQAnlytsScrBPCust MDQltyNmbrOfFailedEvalRslts Master Data Quality Counter Records Failed
MDQltyNmbrOfBusRuleEvalResults I_MDQAnlytsScrBPCust MDQltyNmbrOfBusRuleEvalResults Master Data Quality Counter Total Records

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_MDQAnlytsScrCustC.
-- 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_MDQAnlytsScrCustC AS
SELECT
  _MDQAnlytsScrBPCust.MasterDataChangeProcess AS MasterDataChangeProcess,
  _MDQAnlytsScrBPCust.BusinessPartner AS BusinessPartner,
  _MDQAnlytsScrBPCust.MDQualityBusinessRuleUUID AS MDQualityBusinessRuleUUID,
  _MDQAnlytsScrBPCust.MDQltyBusRuleEvalResultCode AS MDQltyBusRuleEvalResultCode,
  _Customer.AlternativePayeeIsAllowed AS AlternativePayeeIsAllowed,
  _Customer.AuthorizationGroup AS AuthorizationGroup,
  _Customer.BillingIsBlockedForCustomer AS BillingIsBlockedForCustomer,
  _Customer.CityName AS CityName,
  _Customer.Country AS Country,
  Customer,
  _Customer.CustomerAccountGroup AS CustomerAccountGroup,
  _Customer.CustomerClassification AS CustomerClassification,
  _Customer.CustomerCorporateGroup AS CustomerCorporateGroup,
  _Customer.DeliveryIsBlocked AS DeliveryIsBlocked,
  _Customer.Industry AS Industry,
  _Customer.IsSalesProspect AS IsSalesProspect,
  _Customer.NielsenRegion AS NielsenRegion,
  _Customer.OrderIsBlockedForCustomer AS OrderIsBlockedForCustomer,
  _Customer.PaymentIsBlockedForCustomer AS PaymentIsBlockedForCustomer,
  _Customer.PostalCode AS PostalCode,
  _Customer.PostingIsBlocked AS PostingIsBlocked,
  _Customer.Region AS Region,
  _MDQAnlytsScrBPCust._MasterDataChangeProcess.MDChgProcessFinishDate AS MDChgProcessFinishDate,
  _MDQltyScoreEvalDetails.MDChgProcessIsLatest AS MDChgProcessIsLatest,
  _MDQAnlytsScrBPCust.MDQltyBusinessRuleBaseTable AS MDQltyBusinessRuleBaseTable,
  _MDQBusinessRuleBaseTableText[1:Language=$session.system_language].MDQltyBusinessRuleBaseTabName AS MDQltyBusinessRuleBaseTabName,
  _MDQAnlytsScrBPCust.MDQltyBusinessRuleOwner AS MDQltyBusinessRuleOwner,
  _MDQualityBusinessRule.MDQltyBusRuleCheckedField AS MDQltyBusRuleCheckedField,
  _MDQualityBusinessRule.MDQltyBusRuleCheckedFieldTable AS MDQltyBusRuleCheckedFieldTable,
  _MDQualityBusinessRule.MDQltyBusRuleChkdFieldAndTable AS MDQltyBusRuleChkdFieldAndTable,
  _MDQualityBusinessRule.MDQualityBusinessRule AS MDQualityBusinessRule,
  _MDQualityBusinessRule.MDQualityBusinessRuleName AS MDQualityBusinessRuleName,
  _BusinessPartner.AcademicTitle AS AcademicTitle,
  _BusinessPartner.BPFirstNameSearchHelp AS BPFirstNameSearchHelp,
  _BusinessPartner.BPLastNameSearchHelp AS BPLastNameSearchHelp,
  _BusinessPartner.BusinessPartnerCategory AS BusinessPartnerCategory,
  _BusinessPartner.BusinessPartnerGrouping AS BusinessPartnerGrouping,
  _BusinessPartner.BusinessPartnerIsBlocked AS BusinessPartnerIsBlocked,
  _BusinessPartner.CreatedByUser AS CreatedByUser,
  _BusinessPartner.CreationDate AS CreationDate,
  _BusinessPartner.FirstName AS FirstName,
  _BusinessPartner.GenderCodeName AS GenderCodeName,
  _BusinessPartner.IsMarkedForArchiving AS IsMarkedForArchiving,
  _BusinessPartner.IsNaturalPerson AS IsNaturalPerson,
  _BusinessPartner.LastChangeDate AS LastChangeDate,
  _BusinessPartner.LastChangedByUser AS LastChangedByUser,
  _BusinessPartner.LastName AS LastName,
  _BusinessPartner.LegalForm AS LegalForm,
  _BusinessPartner.OrganizationBPName1 AS OrganizationBPName1,
  _BusinessPartner.OrganizationBPName2 AS OrganizationBPName2,
  _BusinessPartner.OrganizationFoundationDate AS OrganizationFoundationDate,
  _BusinessPartner.SearchTerm1 AS SearchTerm1,
  _BusinessPartner.SearchTerm2 AS SearchTerm2,
  _BusinessPartner._DefaultAddress._AddressDefaultRepresentation.StreetName AS StreetName,
  _BusinessPartner._AcademicTitleValueHelp AS _AcademicTitleValueHelp,
  _MDQAnlytsScrBPCust.MDQltyNmbrOfSuccssflEvalRslts AS MDQltyNmbrOfSuccssflEvalRslts,
  _MDQAnlytsScrBPCust.MDQltyNmbrOfFailedEvalRslts AS MDQltyNmbrOfFailedEvalRslts,
  _MDQAnlytsScrBPCust.MDQltyNmbrOfBusRuleEvalResults AS MDQltyNmbrOfBusRuleEvalResults
FROM I_MDQAnlytsScrBPCust AS _MDQAnlytsScrBPCust
LEFT OUTER JOIN I_BillingBlockReason AS _BillingBlockReason ON _BillingBlockReason.BillingBlockReason = billingisblockedforcustomer  -- association [0..1]
LEFT OUTER JOIN I_Country AS _Country ON _Country.Country = country  -- association [1..1]
LEFT OUTER JOIN I_Customer AS _Customer ON _Customer.Customer = Customer  -- association [1..1]
LEFT OUTER JOIN I_CustomerAccountGroup AS _CustomerAccountGroup ON _CustomerAccountGroup.CustomerAccountGroup = customeraccountgroup  -- association [0..1]
LEFT OUTER JOIN I_CustomerClassification AS _CustomerClassification ON _CustomerClassification.CustomerClassification = customerclassification  -- association [0..1]
LEFT OUTER JOIN I_CustomerSupplierIndustry AS _CustomerSupplierIndustry ON _CustomerSupplierIndustry.Industry = industry  -- association [0..1]
LEFT OUTER JOIN I_DeliveryBlockReason AS _DeliveryBlockReason ON _DeliveryBlockReason.DeliveryBlockReason = deliveryisblocked  -- association [0..1]
LEFT OUTER JOIN I_RegionText AS _RegionText ON _RegionText.Region = region AND _RegionText.Country = country  -- association [0..*]
LEFT OUTER JOIN I_BPGenderValueHelpText AS _GenderText ON _GenderText.GenderCodeName = gendercodename  -- association [0..*]
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON _BusinessPartner.BusinessPartner = BusinessPartner  -- association [1..1]
LEFT OUTER JOIN I_BusinessPartnerGroupingText AS _BusinessPartnerGroupingText ON _BusinessPartnerGroupingText.BusinessPartnerGrouping = businesspartnergrouping  -- association [0..*]
LEFT OUTER JOIN I_BusinessPartnerLegalFormText AS _BusinessPartnerLegalFormText ON _BusinessPartnerLegalFormText.LegalForm = legalform  -- association [0..*]
LEFT OUTER JOIN I_MDQltyBusinessRuleBaseTableT AS _MDQBusinessRuleBaseTableText ON _MDQBusinessRuleBaseTableText.MDQltyBusinessObjectTypeCode = '147' AND _MDQBusinessRuleBaseTableText.MDQltyBusinessRuleBaseTable = MDQltyBusinessRuleBaseTable  -- association [0..*]
LEFT OUTER JOIN I_MDQltyFioriLaunchpadHostPath AS _MDQltyFioriLaunchpadHostPath ON /* condition not available in parsed metadata */  -- association [0..1]
LEFT OUTER JOIN I_MDQltyScoreEvalDetails AS _MDQltyScoreEvalDetails ON _MDQltyScoreEvalDetails.MasterDataChangeProcess = MasterDataChangeProcess  -- association [1..1]
LEFT OUTER JOIN I_MDQualityBusinessRule AS _MDQualityBusinessRule ON _MDQualityBusinessRule.MDQualityBusinessRuleUUID = MDQualityBusinessRuleUUID  -- association [1..1]
LEFT OUTER JOIN I_User AS _UserChangedBy ON _UserChangedBy.UserID = lastchangedbyuser  -- association [0..1]
LEFT OUTER JOIN I_User AS _UserCreatedBy ON _UserCreatedBy.UserID = createdbyuser  -- association [0..1]
LEFT OUTER JOIN I_User AS _UserRuleOwner ON _UserRuleOwner.UserID = MDQltyBusinessRuleOwner  -- association [0..1]
LEFT OUTER JOIN E_BP_D AS _BusinessPartnerExtension ON _BusinessPartnerExtension.BusinessPartner = BusinessPartner  -- association [0..1]
LEFT OUTER JOIN E_Customer AS _CustomerExtension ON _CustomerExtension.Customer = Customer  -- association [0..1]
;