C_MDQltySuplrPurgOrgDetail
Supplier Purchasing Organization
C_MDQltySuplrPurgOrgDetail is a Consumption CDS View that provides data about "Supplier Purchasing Organization" in SAP S/4HANA. It reads from 1 data source (I_SupplierPurchasingOrg) and exposes 16 fields with key fields Supplier, PurchasingOrganization. It has 4 associations to related views. Part of development package MDQ_RULEMGMT_BUPA_EVAL.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SupplierPurchasingOrg | I_SupplierPurchasingOrg | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Currency | _CurrencyVH | _CurrencyVH.Currency = $projection.PurchaseOrderCurrency |
| [0..1] | I_PaymentTerms | _PaymentTermsVH | _PaymentTermsVH.PaymentTerms = $projection.PaymentTerms |
| [0..1] | I_PurchasingGroup | _PurchasingGroupText | _PurchasingGroupText.PurchasingGroup = $projection.PurchasingGroup |
| [0..1] | C_BPAuthorizationGroupVH | _BPAuthorizationGroupVH | $projection.AuthorizationGroup = _BPAuthorizationGroupVH.AuthorizationGroup |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.sqlViewName | CMDQSUPLRPODETL | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Supplier Purchasing Organization | view | |
| Metadata.allowExtensions | true | view | |
| ObjectModel.representativeKey | Supplier | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Search.searchable | true | view | |
| Consumption.ranked | true | view |
Fields (16)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Supplier | Supplier | Supplier | |
| KEY | PurchasingOrganization | PurchasingOrganization | Purchasing Organization | |
| AuthorizationGroup | AuthorizationGroup | Authorization Group | ||
| PaymentTerms | PaymentTerms | Pyt Terms | ||
| PaymentTermsName | ||||
| PurchaseOrderCurrency | PurchaseOrderCurrency | Order currency | ||
| CurrencyName | ||||
| PurchasingGroup | PurchasingGroup | Purchasing Group | ||
| PurchasingGroupName | _PurchasingGroupText | PurchasingGroupName | Purchasing Grp. Name | |
| PurchasingIsBlockedForSupplier | PurchasingIsBlockedForSupplier | Pur. block POrg | ||
| SupplierABCClassificationCode | SupplierABCClassificationCode | ABC indicator | ||
| _BPAuthorizationGroupVH | _BPAuthorizationGroupVH | |||
| _CurrencyVH | _CurrencyVH | |||
| _PaymentTermsVH | _PaymentTermsVH | |||
| _PurchasingGroupText | _PurchasingGroupText | |||
| _Supplier | _Supplier |
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 C_MDQltySuplrPurgOrgDetail.
-- 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: CMDQSUPLRPODETL
CREATE VIEW C_MDQltySuplrPurgOrgDetail AS
SELECT
Supplier,
PurchasingOrganization,
AuthorizationGroup,
PaymentTerms,
_PaymentTermsVH._Text[1:Language=$session.system_language].PaymentTermsName AS PaymentTermsName,
PurchaseOrderCurrency,
_CurrencyVH._Text[1:Language=$session.system_language].CurrencyName AS CurrencyName,
PurchasingGroup,
_PurchasingGroupText.PurchasingGroupName AS PurchasingGroupName,
PurchasingIsBlockedForSupplier,
SupplierABCClassificationCode
FROM I_SupplierPurchasingOrg
LEFT OUTER JOIN I_Currency AS _CurrencyVH ON _CurrencyVH.Currency = PurchaseOrderCurrency -- association [0..1]
LEFT OUTER JOIN I_PaymentTerms AS _PaymentTermsVH ON _PaymentTermsVH.PaymentTerms = PaymentTerms -- association [0..1]
LEFT OUTER JOIN I_PurchasingGroup AS _PurchasingGroupText ON _PurchasingGroupText.PurchasingGroup = PurchasingGroup -- association [0..1]
LEFT OUTER JOIN C_BPAuthorizationGroupVH AS _BPAuthorizationGroupVH ON AuthorizationGroup = _BPAuthorizationGroupVH.AuthorizationGroup -- association [0..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