C_CntrlSupplierQtanItemDistrTP

DDL: C_CNTRLSUPPLIERQTANITEMDISTRTP SQL: CCNTRLQTNDISTRTP Type: view CONSUMPTION

Consumption View for Cntrl Suplr Quotation Item Distribution

C_CntrlSupplierQtanItemDistrTP is a Consumption CDS View that provides data about "Consumption View for Cntrl Suplr Quotation Item Distribution" in SAP S/4HANA. It reads from 1 data source (I_CntrlSupplierQtanItemDistrTP) and exposes 32 fields with key fields CentralSupplierQuotation, CentralSupplierQuotationItem, DistributionKey. It has 8 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_CntrlSupplierQtanItemDistrTP I_CntrlSupplierQtanItemDistrTP from

Associations (8)

CardinalityTargetAliasCondition
[1..1] C_CentralSupplierQuotationTP _CentralSupplierQuotationTP _CentralSupplierQuotationTP.CentralSupplierQuotation = $projection.CentralSupplierQuotation
[1..1] C_CntrlSupplierQuotationItemTP _CntrlSupplierQuotationItemTP _CntrlSupplierQuotationItemTP.CentralSupplierQuotationItem = $projection.CentralSupplierQuotationItem and _CntrlSupplierQuotationItemTP.CentralSupplierQuotation = $projection.CentralSupplierQuotation
[0..1] C_ProcmtHubPlantVH _ProcmtHubPlantVH _ProcmtHubPlantVH.ProcmtHubPlant = $projection.Plant and _ProcmtHubPlantVH.ProcmtHubCompanyCode = $projection.CompanyCode and _ProcmtHubPlantVH.ProcurementHubSourceSystem = $projection.ProcurementHubSourceSystem
[0..1] C_ProcmtHubStorageLocationVH _ProcmtHubStorageLocationVH _ProcmtHubStorageLocationVH.Plant = $projection.Plant and _ProcmtHubStorageLocationVH.StorageLocation = $projection.StorageLocation and _ProcmtHubStorageLocationVH.ProcurementHubSourceSystem = $projection.ProcurementHubSourceSystem
[0..1] C_PurchasingGroupValueHelp _PurchasingGroupValueHelp _PurchasingGroupValueHelp.PurchasingGroup = $projection.PurchasingGroup
[0..1] C_ProcmtHubPurgOrgVH _ProcmtHubPurgOrgVH _ProcmtHubPurgOrgVH.ProcmtHubPurchasingOrg = $projection.PurchasingOrganization and _ProcmtHubPurgOrgVH.ProcurementHubSourceSystem = $projection.ProcurementHubSourceSystem
[0..1] C_CntrlPurContrDistrTypeVH _CntrlPurContrDistrTypeVH _CntrlPurContrDistrTypeVH.DistributionType = $projection.DistributionType
[0..1] C_CntrlPurContrTypeValueHelp _CntrlPurContrTypeValueHelp _CntrlPurContrTypeValueHelp.PurchasingDocumentType = $projection.PurchasingDocumentType

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName CCNTRLQTNDISTRTP view
VDM.viewType #CONSUMPTION view
EndUserText.label Consumption View for Cntrl Suplr Quotation Item Distribution view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
ObjectModel.createEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view

Fields (32)

KeyFieldSource TableSource FieldDescription
KEY CentralSupplierQuotation CentralSupplierQuotation Purchasing Doc.
KEY CentralSupplierQuotationItem CentralSupplierQuotationItem Item
KEY DistributionKey DistributionKey Distr. Number
PurchasingDocumentCategory PurchasingDocumentCategory Doc. Category
PurchasingDocumentType PurchasingDocumentType RFQ Type
IsExtPurgScenario IsExtPurgScenario Is Central PR
PurchaseRequisition ProcmtHubPurchaseRequisition Purchase Req.
PurchaseRequisitionItem ProcmtHubPurRequisitionItem Requisn. item
PurReqnReleaseStatus PurReqnReleaseStatus Proc.state
FormattedPurRequisitionItem
PurchasingOrganization PurchasingOrganization Purchasing Organization
CompanyCode CompanyCode Receiver Company Code
Plant Plant Valuation Area
StorageLocation StorageLocation StorageLocation
LogicalSystem LogicalSystem Logical System
PurchasingGroup PurchasingGroup Purchasing Group
Currency Currency Valuation Crcy
DocumentCurrency DocumentCurrency Document Currency
DistributionType DistributionType Distribution Type
OrderQuantityUnit OrderQuantityUnit Sales Unit
CntrlPurgDistributionInPercent CntrlPurgDistributionInPercent
TargetQuantity TargetQuantity Target Quantity
ProcurementHubSourceSystem ProcurementHubSourceSystem Connected System
_CntrlSupplierQuotationItemTP _CntrlSupplierQuotationItemTP
_CentralSupplierQuotationTP _CentralSupplierQuotationTP
_PurchasingGroupValueHelp _PurchasingGroupValueHelp
_ProcmtHubPlantVH _ProcmtHubPlantVH
_ProcmtHubStorageLocationVH _ProcmtHubStorageLocationVH
_CntrlPurContrDistrTypeVH _CntrlPurContrDistrTypeVH
_ProcmtHubPurgOrgVH _ProcmtHubPurgOrgVH
_CntrlPurContrTypeValueHelp _CntrlPurContrTypeValueHelp
_DocumentCurrency _DocumentCurrency

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_CntrlSupplierQtanItemDistrTP.
-- 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: CCNTRLQTNDISTRTP

CREATE VIEW C_CntrlSupplierQtanItemDistrTP AS
SELECT
  CentralSupplierQuotation,
  CentralSupplierQuotationItem,
  DistributionKey,
  PurchasingDocumentCategory,
  PurchasingDocumentType,
  IsExtPurgScenario,
  ProcmtHubPurchaseRequisition AS PurchaseRequisition,
  ProcmtHubPurRequisitionItem AS PurchaseRequisitionItem,
  PurReqnReleaseStatus,
  cast( '' as mm_pur_requisition_frmtdpritem) AS FormattedPurRequisitionItem,
  PurchasingOrganization,
  CompanyCode,
  Plant,
  StorageLocation,
  LogicalSystem,
  PurchasingGroup,
  Currency,
  DocumentCurrency,
  DistributionType,
  OrderQuantityUnit,
  CntrlPurgDistributionInPercent,
  TargetQuantity,
  ProcurementHubSourceSystem
FROM I_CntrlSupplierQtanItemDistrTP
LEFT OUTER JOIN C_CentralSupplierQuotationTP AS _CentralSupplierQuotationTP ON _CentralSupplierQuotationTP.CentralSupplierQuotation = CentralSupplierQuotation  -- association [1..1]
LEFT OUTER JOIN C_CntrlSupplierQuotationItemTP AS _CntrlSupplierQuotationItemTP ON _CntrlSupplierQuotationItemTP.CentralSupplierQuotationItem = CentralSupplierQuotationItem AND _CntrlSupplierQuotationItemTP.CentralSupplierQuotation = CentralSupplierQuotation  -- association [1..1]
LEFT OUTER JOIN C_ProcmtHubPlantVH AS _ProcmtHubPlantVH ON _ProcmtHubPlantVH.ProcmtHubPlant = Plant AND _ProcmtHubPlantVH.ProcmtHubCompanyCode = CompanyCode AND _ProcmtHubPlantVH.ProcurementHubSourceSystem = ProcurementHubSourceSystem  -- association [0..1]
LEFT OUTER JOIN C_ProcmtHubStorageLocationVH AS _ProcmtHubStorageLocationVH ON _ProcmtHubStorageLocationVH.Plant = Plant AND _ProcmtHubStorageLocationVH.StorageLocation = StorageLocation AND _ProcmtHubStorageLocationVH.ProcurementHubSourceSystem = ProcurementHubSourceSystem  -- association [0..1]
LEFT OUTER JOIN C_PurchasingGroupValueHelp AS _PurchasingGroupValueHelp ON _PurchasingGroupValueHelp.PurchasingGroup = PurchasingGroup  -- association [0..1]
LEFT OUTER JOIN C_ProcmtHubPurgOrgVH AS _ProcmtHubPurgOrgVH ON _ProcmtHubPurgOrgVH.ProcmtHubPurchasingOrg = PurchasingOrganization AND _ProcmtHubPurgOrgVH.ProcurementHubSourceSystem = ProcurementHubSourceSystem  -- association [0..1]
LEFT OUTER JOIN C_CntrlPurContrDistrTypeVH AS _CntrlPurContrDistrTypeVH ON _CntrlPurContrDistrTypeVH.DistributionType = DistributionType  -- association [0..1]
LEFT OUTER JOIN C_CntrlPurContrTypeValueHelp AS _CntrlPurContrTypeValueHelp ON _CntrlPurContrTypeValueHelp.PurchasingDocumentType = PurchasingDocumentType  -- association [0..1]
;