C_CentralRFQItemDistributionTP
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)
| Source | Alias | Join Type |
|---|---|---|
| I_CentralRFQItemDistributionTP | I_CentralRFQItemDistributionTP | from |
Associations (10)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
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