I_MDQAnlytsScrBPCustSls
Basic Score for Customer Sales
I_MDQAnlytsScrBPCustSls is a Basic CDS View that provides data about "Basic Score for Customer Sales" in SAP S/4HANA. It reads from 2 data sources (I_BPMultipleAssignment, knvv_dq_res) and exposes 12 fields with key fields MasterDataChangeProcess, BusinessPartner, SalesOrganization, DistributionChannel, Division. It has 2 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_BPMultipleAssignment | _BPMultipleAssignment | inner |
| knvv_dq_res | _dq_res | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_MasterDataChangeProcess | _MasterDataChangeProcess | _MasterDataChangeProcess.MasterDataChangeProcess = $projection.MasterDataChangeProcess |
| [1..1] | I_MDQualityBusinessRule | _MDQualityBusinessRule | _MDQualityBusinessRule.MDQualityBusinessRuleUUID = $projection.MDQualityBusinessRuleUUID |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Basic Score for Customer Sales | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| VDM.viewType | #BASIC | view |
Fields (12)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MasterDataChangeProcess | knvv_dq_res | process_id | Process Instance ID |
| KEY | BusinessPartner | |||
| KEY | SalesOrganization | knvv_dq_res | vkorg | SD Sales Org. |
| KEY | DistributionChannel | knvv_dq_res | vtweg | RefDistCh-Cust/Mat. |
| KEY | Division | knvv_dq_res | spart | Source supplier |
| KEY | MDQualityBusinessRuleUUID | knvv_dq_res | ruleuuid | Rule UUID |
| KEY | MDQltyBusRuleEvalResultCode | knvv_dq_res | resulttype | Result Type |
| MDQltyBusinessRuleBaseTable | knvv_dq_res | basetable | Base Table | |
| MDQltyNmbrOfBusRuleEvalResults | knvv_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_MDQAnlytsScrBPCustSls.
-- 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_MDQAnlytsScrBPCustSls AS
SELECT
_dq_res.process_id AS MasterDataChangeProcess,
cast(_dq_res.source_id as bu_partner) AS BusinessPartner,
_dq_res.vkorg AS SalesOrganization,
_dq_res.vtweg AS DistributionChannel,
_dq_res.spart AS Division,
_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 knvv_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]
;
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