I_MDQAnlytsScrBPCustCoCode

DDL: I_MDQANLYTSSCRBPCUSTCOCODE Type: view_entity BASIC

Basic Score for Customer Company Code

I_MDQAnlytsScrBPCustCoCode is a Basic CDS View that provides data about "Basic Score for Customer Company Code" in SAP S/4HANA. It reads from 2 data sources (I_BPMultipleAssignment, knb1_dq_res) and exposes 10 fields with key fields MasterDataChangeProcess, BusinessPartner, CompanyCode, MDQualityBusinessRuleUUID, MDQltyBusRuleEvalResultCode. It has 2 associations to related views.

Data Sources (2)

SourceAliasJoin Type
I_BPMultipleAssignment _BPMultipleAssignment inner
knb1_dq_res _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 Customer Company Code view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
VDM.viewType #BASIC view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY MasterDataChangeProcess knb1_dq_res process_id Process Instance ID
KEY BusinessPartner
KEY CompanyCode knb1_dq_res bukrs Value
KEY MDQualityBusinessRuleUUID knb1_dq_res ruleuuid Rule UUID
KEY MDQltyBusRuleEvalResultCode knb1_dq_res resulttype Result Type
MDQltyBusinessRuleBaseTable knb1_dq_res basetable Base Table
MDQltyNmbrOfBusRuleEvalResults knb1_dq_res result_count Total Results
Customer
_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_MDQAnlytsScrBPCustCoCode.
-- 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_MDQAnlytsScrBPCustCoCode AS
SELECT
  _dq_res.process_id AS MasterDataChangeProcess,
  cast(_dq_res.source_id as bu_partner) AS BusinessPartner,
  _dq_res.bukrs AS CompanyCode,
  _dq_res.ruleuuid AS MDQualityBusinessRuleUUID,
  _dq_res.resulttype AS MDQltyBusRuleEvalResultCode,
  _dq_res.basetable AS MDQltyBusinessRuleBaseTable,
  _dq_res.result_count AS MDQltyNmbrOfBusRuleEvalResults,
  cast(_BPMultipleAssignment.BPObjectID as kunnr) AS Customer,
  _MDQualityBusinessRule.MDQltyBusinessRuleOwner AS MDQltyBusinessRuleOwner
FROM knb1_dq_res AS _dq_res
INNER JOIN I_BPMultipleAssignment AS _BPMultipleAssignment ON /* join condition not captured in parsed metadata */
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]
;