C_CentralRFQItemDistributionTP

DDL: C_CENTRALRFQITEMDISTRIBUTIONTP SQL: CCNTRLRFQDISTP Type: view CONSUMPTION Package: ODATA_MM_PUR_CRFQ_MAINTAIN

Consumption View for CRFQ Item Distribution

C_CentralRFQItemDistributionTP is a Consumption CDS View that provides data about "Consumption View for CRFQ Item Distribution" in SAP S/4HANA. It reads from 1 data source (I_CentralRFQItemDistributionTP) and exposes 34 fields with key fields CentralRequestForQuotation, CentralRequestForQuotationItem, DistributionKey. It has 10 associations to related views. Part of development package ODATA_MM_PUR_CRFQ_MAINTAIN.

Data Sources (1)

SourceAliasJoin Type
I_CentralRFQItemDistributionTP I_CentralRFQItemDistributionTP from

Associations (10)

CardinalityTargetAliasCondition
[1..1] C_CentralRequestForQuotationTP _CentralRequestForQuotationTP _CentralRequestForQuotationTP.CentralRequestForQuotation = $projection.CentralRequestForQuotation
[1..1] C_CentralReqForQuotationItemTP _CentralReqForQuotationItemTP _CentralReqForQuotationItemTP.CentralRequestForQuotationItem = $projection.CentralRequestForQuotationItem and _CentralReqForQuotationItemTP.CentralRequestForQuotation = $projection.CentralRequestForQuotation
[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
[1..*] C_ProcmtHubPurgGroupVH _PurchasingGroupVH _PurchasingGroupVH.ProcmtHubPurchasingGroup = $projection.PurchasingGroup
[0..1] C_ProcmtHubPurgOrgVH _ProcmtHubPurgOrgVH _ProcmtHubPurgOrgVH.ProcmtHubPurchasingOrg = $projection.PurchasingOrganization and _ProcmtHubPurgOrgVH.ProcurementHubSourceSystem = $projection.ProcurementHubSourceSystem
[0..1] C_PurgDocCatForOutlineAgrmtVH _PurgDocCatForOutlineAgrmtVH _PurgDocCatForOutlineAgrmtVH.PurchasingDocumentCategory = $projection.PurchasingDocumentCategory
[0..*] C_ProcmtHubSchedgAgrmtTypeVH _ProcmtHubSchedgAgrmtTypeVH _ProcmtHubSchedgAgrmtTypeVH.PurchasingDocumentType = $projection.PurchasingDocumentType and _ProcmtHubSchedgAgrmtTypeVH.LogicalSystem = $projection.ProcurementHubSourceSystem
[0..1] C_CntrlPurContrDistrTypeVH _CntrlPurContrDistrTypeVH _CntrlPurContrDistrTypeVH.DistributionType = $projection.DistributionType
[0..1] C_CntrlPurContrTypeValueHelp _CntrlPurContrTypeValueHelp _CntrlPurContrTypeValueHelp.PurchasingDocumentType = $projection.PurchasingDocumentType

Annotations (14)

NameValueLevelField
VDM.viewType #CONSUMPTION view
AbapCatalog.compiler.compareFilter true view
EndUserText.label Consumption View for CRFQ Item Distribution view
AbapCatalog.preserveKey true view
AccessControl.personalData.blocking #REQUIRED view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.sqlViewName CCNTRLRFQDISTP 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 (34)

KeyFieldSource TableSource FieldDescription
KEY CentralRequestForQuotation CentralRequestForQuotation
KEY CentralRequestForQuotationItem CentralRequestForQuotationItem
KEY DistributionKey DistributionKey Distr. Number
PurchasingDocumentCategory PurchasingDocumentCategory Doc. Category
PurchasingDocumentType PurchasingDocumentType RFQ Type
IsExtPurgScenario IsExtPurgScenario External Reference
PurchaseRequisition I_CentralRFQItemDistributionTP ProcmtHubPurchaseRequisition Purchase Req.
PurchaseRequisitionItem I_CentralRFQItemDistributionTP ProcmtHubPurRequisitionItem Requisn. item
PurReqnReleaseStatus I_CentralRFQItemDistributionTP 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
NetPriceAmount NetPriceAmount Net Order Price
DocumentCurrency DocumentCurrency Document Currency
DistributionType DistributionType Distribution Type
CntrlPurgDistributionInPercent CntrlPurgDistributionInPercent
TargetQuantity TargetQuantity Target Quantity
_CentralReqForQuotationItemTP _CentralReqForQuotationItemTP
_CentralRequestForQuotationTP _CentralRequestForQuotationTP
ProcurementHubSourceSystem ProcurementHubSourceSystem Connected System
_PurchasingGroupVH _PurchasingGroupVH
_ProcmtHubPlantVH _ProcmtHubPlantVH
_ProcmtHubStorageLocationVH _ProcmtHubStorageLocationVH
_CntrlPurContrDistrTypeVH _CntrlPurContrDistrTypeVH
_ProcmtHubPurgOrgVH _ProcmtHubPurgOrgVH
_PurgDocCatForOutlineAgrmtVH _PurgDocCatForOutlineAgrmtVH
_CntrlPurContrTypeValueHelp _CntrlPurContrTypeValueHelp
_ProcmtHubSchedgAgrmtTypeVH _ProcmtHubSchedgAgrmtTypeVH
_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_CentralRFQItemDistributionTP.
-- 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: CCNTRLRFQDISTP

CREATE VIEW C_CentralRFQItemDistributionTP AS
SELECT
  CentralRequestForQuotation,
  CentralRequestForQuotationItem,
  DistributionKey,
  PurchasingDocumentCategory,
  PurchasingDocumentType,
  IsExtPurgScenario,
  I_CentralRFQItemDistributionTP.ProcmtHubPurchaseRequisition AS PurchaseRequisition,
  I_CentralRFQItemDistributionTP.ProcmtHubPurRequisitionItem AS PurchaseRequisitionItem,
  I_CentralRFQItemDistributionTP.PurReqnReleaseStatus AS PurReqnReleaseStatus,
  cast( '' as mm_pur_requisition_frmtdpritem) AS FormattedPurRequisitionItem,
  PurchasingOrganization,
  CompanyCode,
  Plant,
  StorageLocation,
  LogicalSystem,
  PurchasingGroup,
  Currency,
  NetPriceAmount,
  DocumentCurrency,
  DistributionType,
  CntrlPurgDistributionInPercent,
  TargetQuantity,
  ProcurementHubSourceSystem
FROM I_CentralRFQItemDistributionTP
LEFT OUTER JOIN C_CentralRequestForQuotationTP AS _CentralRequestForQuotationTP ON _CentralRequestForQuotationTP.CentralRequestForQuotation = CentralRequestForQuotation  -- association [1..1]
LEFT OUTER JOIN C_CentralReqForQuotationItemTP AS _CentralReqForQuotationItemTP ON _CentralReqForQuotationItemTP.CentralRequestForQuotationItem = CentralRequestForQuotationItem AND _CentralReqForQuotationItemTP.CentralRequestForQuotation = CentralRequestForQuotation  -- 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_ProcmtHubPurgGroupVH AS _PurchasingGroupVH ON _PurchasingGroupVH.ProcmtHubPurchasingGroup = PurchasingGroup  -- association [1..*]
LEFT OUTER JOIN C_ProcmtHubPurgOrgVH AS _ProcmtHubPurgOrgVH ON _ProcmtHubPurgOrgVH.ProcmtHubPurchasingOrg = PurchasingOrganization AND _ProcmtHubPurgOrgVH.ProcurementHubSourceSystem = ProcurementHubSourceSystem  -- association [0..1]
LEFT OUTER JOIN C_PurgDocCatForOutlineAgrmtVH AS _PurgDocCatForOutlineAgrmtVH ON _PurgDocCatForOutlineAgrmtVH.PurchasingDocumentCategory = PurchasingDocumentCategory  -- association [0..1]
LEFT OUTER JOIN C_ProcmtHubSchedgAgrmtTypeVH AS _ProcmtHubSchedgAgrmtTypeVH ON _ProcmtHubSchedgAgrmtTypeVH.PurchasingDocumentType = PurchasingDocumentType AND _ProcmtHubSchedgAgrmtTypeVH.LogicalSystem = ProcurementHubSourceSystem  -- association [0..*]
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]
;