P_RFQItemHierNodeRelationDraft
Source View for Draft RFQ itms Hierarchy
P_RFQItemHierNodeRelationDraft is a Basic CDS View that provides data about "Source View for Draft RFQ itms Hierarchy" in SAP S/4HANA. It reads from 1 data source (mmrfqitemenh_d) and exposes 57 fields with key fields RequestForQuotationUUID, Requestforquotationitem. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| mmrfqitemenh_d | mmrfqitemenh_d | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | R_RequestForQuotationDraft | _RequestForQuotation | $projection.RequestForQuotationUUID = _RequestForQuotation.RequestForQuotationUUID |
| [0..1] | P_RFQItemHierNodeRelationDraft | _Parent | $projection.Purchasingparentitem = _Parent.Requestforquotationitem and $projection.RequestForQuotationUUID = _Parent.RequestForQuotationUUID ----Extension |
| [1..1] | E_PurchasingDocumentItem | _RequestQtnItemExtension | $projection.Requestforquotation = _RequestQtnItemExtension.PurchasingDocument and $projection.Requestforquotationitem = _RequestQtnItemExtension.PurchasingDocumentItem |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PRFQITMHIERDRFRN | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| EndUserText.label | Source View for Draft RFQ itms Hierarchy | view |
Fields (57)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | RequestForQuotationUUID | parentdraftuuid | NodeID | |
| KEY | Requestforquotationitem | requestforquotationitem | RFQ Item | |
| RequestForQuotationItemUUID | draftuuid | UUID | ||
| Requestforquotation | requestforquotation | RFQ | ||
| Purchasingdocumentcategory | purchasingdocumentcategory | Doc. Category | ||
| Purchasingdocumentitemtext | purchasingdocumentitemtext | Short Text | ||
| Material | material | Vehicle Model | ||
| Producttype | producttype | Product Type Group | ||
| Manufacturermaterial | manufacturermaterial | MPN: Material | ||
| Manufacturerpartnmbr | manufacturerpartnmbr | Mfr Part Number | ||
| Manufacturer | manufacturer | Manufacturer | ||
| Materialgroup | materialgroup | Product Group | ||
| Plant | plant | Valuation Area | ||
| Manualdeliveryaddressid | manualdeliveryaddressid | Address Number | ||
| Referencedeliveryaddressid | referencedeliveryaddressid | Reference Address | ||
| Addressid | addressid | Ship-to address | ||
| Itemdeliveryaddressid | itemdeliveryaddressid | Address | ||
| Incotermsclassification | incotermsclassification | Incoterms | ||
| Incotermstransferlocation | incotermstransferlocation | Incoterms 2 | ||
| Incotermslocation1 | incotermslocation1 | Inco. Location1 | ||
| Incotermslocation2 | incotermslocation2 | Inco. Location2 | ||
| Schedulelinedeliverydate | schedulelinedeliverydate | Delivery Date | ||
| Schedulelineorderquantity | schedulelineorderquantity | Scheduled Qty | ||
| Performanceperiodstartdate | performanceperiodstartdate | Start of Performance Period | ||
| Performanceperiodenddate | performanceperiodenddate | End of Performance Period | ||
| Orderquantityunit | orderquantityunit | Sales Unit | ||
| Orderitemqtytobaseqtynmrtr | orderitemqtytobaseqtynmrtr | Equal To | ||
| Orderitemqtytobaseqtydnmntr | orderitemqtytobaseqtydnmntr | Denominator | ||
| Baseunit | baseunit | Unit of Measure | ||
| Purchaserequisition | purchaserequisition | Requisition | ||
| Purchaserequisitionitem | purchaserequisitionitem | Requisn. item | ||
| Isinforecordupdated | isinforecordupdated | InfoUpdate | ||
| Purchasinginforecordupdatecode | purchasinginforecordupdatecode | InfoUpdate | ||
| Purchasingdocumentitemcategory | purchasingdocumentitemcategory | Item Category | ||
| Purchasingparentitem | purchasingparentitem | Parent Item No | ||
| Isstatisticalitem | isstatisticalitem | Statisticl.Indicator | ||
| Hierarchynode | hierarchynode | Node | ||
| Hierarchyparentnode | hierarchyparentnode | Hier.node | ||
| Hierarchylevel | hierarchylevel | Hierarchy Level | ||
| Hierarchynodesubtreesize | hierarchynodesubtreesize | Descendant Count | ||
| Hierarchydrillstate | hierarchydrillstate | Drill State | ||
| Hierarchynodeordinalnumber | hierarchynodeordinalnumber | Node Number | ||
| Isoutline | isoutline | Item Set | ||
| Purgconfigurableitemnumber | purgconfigurableitemnumber | Hierarchy Number | ||
| Purgdocaggrgdsubitemcategory | purgdocaggrgdsubitemcategory | Sub-items | ||
| Purgexternalsortnumber | purgexternalsortnumber | External Sort No. | ||
| Hasactiveentity | hasactiveentity | TRUE | ||
| Addrdraftuuid | addrdraftuuid | Key | ||
| Addrisdraftentity | addrisdraftentity | Is draft | ||
| Draftentitycreationdatetime | draftentitycreationdatetime | Draft Created On | ||
| Draftentitylastchangedatetime | draftentitylastchangedatetime | Draft Last Changed On | ||
| Draftadministrativedatauuid | draftadministrativedatauuid | UUID | ||
| Draftentityconsistencystatus | draftentityconsistencystatus | Consistency Status | ||
| Draftentityoperationcode | draftentityoperationcode | Draft - Operation Code | ||
| DummyEkpoInclEewPs | dummy_ekpo_incl_eew_ps | Ext. Include | ||
| _RequestForQuotation | _RequestForQuotation | |||
| _Parent | _Parent |
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 P_RFQItemHierNodeRelationDraft.
-- 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: PRFQITMHIERDRFRN
CREATE VIEW P_RFQItemHierNodeRelationDraft AS
SELECT
parentdraftuuid AS RequestForQuotationUUID,
Requestforquotationitem,
draftuuid AS RequestForQuotationItemUUID,
Requestforquotation,
Purchasingdocumentcategory,
Purchasingdocumentitemtext,
Material,
Producttype,
Manufacturermaterial,
Manufacturerpartnmbr,
Manufacturer,
Materialgroup,
Plant,
Manualdeliveryaddressid,
Referencedeliveryaddressid,
Addressid,
Itemdeliveryaddressid,
Incotermsclassification,
Incotermstransferlocation,
Incotermslocation1,
Incotermslocation2,
Schedulelinedeliverydate,
Schedulelineorderquantity,
Performanceperiodstartdate,
Performanceperiodenddate,
Orderquantityunit,
Orderitemqtytobaseqtynmrtr,
Orderitemqtytobaseqtydnmntr,
Baseunit,
Purchaserequisition,
Purchaserequisitionitem,
Isinforecordupdated,
Purchasinginforecordupdatecode,
Purchasingdocumentitemcategory,
Purchasingparentitem,
Isstatisticalitem,
Hierarchynode,
Hierarchyparentnode,
Hierarchylevel,
Hierarchynodesubtreesize,
Hierarchydrillstate,
Hierarchynodeordinalnumber,
Isoutline,
Purgconfigurableitemnumber,
Purgdocaggrgdsubitemcategory,
Purgexternalsortnumber,
Hasactiveentity,
Addrdraftuuid,
Addrisdraftentity,
Draftentitycreationdatetime,
Draftentitylastchangedatetime,
Draftadministrativedatauuid,
Draftentityconsistencystatus,
Draftentityoperationcode,
dummy_ekpo_incl_eew_ps AS DummyEkpoInclEewPs
FROM mmrfqitemenh_d
LEFT OUTER JOIN R_RequestForQuotationDraft AS _RequestForQuotation ON RequestForQuotationUUID = _RequestForQuotation.RequestForQuotationUUID -- association [1..1]
LEFT OUTER JOIN P_RFQItemHierNodeRelationDraft AS _Parent ON Purchasingparentitem = _Parent.Requestforquotationitem AND RequestForQuotationUUID = _Parent.RequestForQuotationUUID -- association [0..1]
LEFT OUTER JOIN E_PurchasingDocumentItem AS _RequestQtnItemExtension ON Requestforquotation = _RequestQtnItemExtension.PurchasingDocument AND Requestforquotationitem = _RequestQtnItemExtension.PurchasingDocumentItem -- association [1..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