C_MDQltySuplrPurgOrgDetail

DDL: C_MDQLTYSUPLRPURGORGDETAIL SQL: CMDQSUPLRPODETL Type: view CONSUMPTION Package: MDQ_RULEMGMT_BUPA_EVAL

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)

SourceAliasJoin Type
I_SupplierPurchasingOrg I_SupplierPurchasingOrg from

Associations (4)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;