I_MDQltyAnlytsScrProd

DDL: I_MDQLTYANLYTSSCRPROD Type: view_entity BASIC

Basic Score for Product

I_MDQltyAnlytsScrProd is a Basic CDS View that provides data about "Basic Score for Product" in SAP S/4HANA. It reads from 1 data source (mara_dq_res) and exposes 8 fields with key fields MasterDataChangeProcess, Product, MDQualityBusinessRuleUUID, MDQltyBusRuleEvalResultCode. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
mara_dq_res mara_dq_res from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_MasterDataChangeProcess _MasterDataChangeProcess _MasterDataChangeProcess.MasterDataChangeProcess = $projection.MasterDataChangeProcess
[1..1] I_MDQualityBusinessRule _MDQualityBusinessRule _MDQualityBusinessRule.MDQualityBusinessRuleUUID = $projection.MDQualityBusinessRuleUUID

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Basic Score for Product view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view
VDM.viewType #BASIC view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY MasterDataChangeProcess process_id Process Instance ID
KEY Product UUID
KEY MDQualityBusinessRuleUUID ruleuuid Rule UUID
KEY MDQltyBusRuleEvalResultCode resulttype Result Type
MDQltyBusinessRuleBaseTable basetable Base Table
MDQltyNmbrOfBusRuleEvalResults result_count Total Results
_MasterDataChangeProcess _MasterDataChangeProcess
MDQltyBusinessRuleOwner _MDQualityBusinessRule MDQltyBusinessRuleOwner Rule Owner

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_MDQltyAnlytsScrProd.
-- 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_MDQltyAnlytsScrProd AS
SELECT
  process_id AS MasterDataChangeProcess,
  cast(source_id as matnr) AS Product,
  ruleuuid AS MDQualityBusinessRuleUUID,
  resulttype AS MDQltyBusRuleEvalResultCode,
  basetable AS MDQltyBusinessRuleBaseTable,
  result_count AS MDQltyNmbrOfBusRuleEvalResults,
  _MDQualityBusinessRule.MDQltyBusinessRuleOwner AS MDQltyBusinessRuleOwner
FROM mara_dq_res
LEFT OUTER JOIN I_MasterDataChangeProcess AS _MasterDataChangeProcess ON _MasterDataChangeProcess.MasterDataChangeProcess = MasterDataChangeProcess  -- association [1..1]
LEFT OUTER JOIN I_MDQualityBusinessRule AS _MDQualityBusinessRule ON _MDQualityBusinessRule.MDQualityBusinessRuleUUID = MDQualityBusinessRuleUUID  -- association [1..1]
;