R_SrcgProjItemHierNodeRelation
Hierarchy Node Relation of Scrg Proj Itm
R_SrcgProjItemHierNodeRelation is a Composite CDS View that provides data about "Hierarchy Node Relation of Scrg Proj Itm" in SAP S/4HANA. It reads from 1 data source (I_SourcingProjectItem) and exposes 21 fields with key fields SourcingProjectUUID, SourcingProjectItemUUID. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SourcingProjectItem | I_SourcingProjectItem | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | R_SrcgProjItemHierNodeRelation | _Parent | $projection.SourcingProjectItemParent = _Parent.SourcingProjectItem and $projection.SourcingProjectUUID = _Parent.SourcingProjectUUID |
| [0..1] | R_SourcingProject | _SourcingProject | $projection.SourcingProjectUUID = _SourcingProject.SourcingProjectUUID |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | RSPITMHIERRLTN | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Hierarchy Node Relation of Scrg Proj Itm | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.representativeKey | SourcingProjectItemUUID | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view |
Fields (21)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SourcingProjectUUID | SourcingProjectUUID | Sourcing Project UUID | |
| KEY | SourcingProjectItemUUID | SourcingProjectItemUUID | Item UUID | |
| SourcingProjectItem | SourcingProjectItem | Item | ||
| SourcingProjectItemParent | SourcingProjectItemParent | Item Parent | ||
| AlternativeItemID | AlternativeItemID | Alternative Item ID | ||
| SourcingProjectItemType | SourcingProjectItemType | Item Type | ||
| SrcgProjItemClassification | SrcgProjItemClassification | Item Classification | ||
| SourcingProjectItemStableUUID | SourcingProjectItemStableUUID | Stable ID | ||
| FormattedItemID | FormattedItemID | Item Number | ||
| SrcgProjItemDescription | SrcgProjItemDescription | Description | ||
| Material | Material | Vehicle Model | ||
| MaterialGroup | MaterialGroup | Product Group | ||
| Plant | Plant | Valuation Area | ||
| ProductType | ProductType | Product Type Group | ||
| PurchaseRequisition | PurchaseRequisition | Requisition | ||
| PurchaseRequisitionItem | PurchaseRequisitionItem | Requisn. item | ||
| SourcingOrigin | SourcingOrigin | Sourcing Origin | ||
| SourcingScenario | SourcingScenario | Integration Scenario | ||
| SrcgProjItemDemandConfCode | SrcgProjItemDemandConfCode | Confirmation Code | ||
| _Parent | _Parent | |||
| _SourcingProject | _SourcingProject |
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 R_SrcgProjItemHierNodeRelation.
-- 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: RSPITMHIERRLTN
CREATE VIEW R_SrcgProjItemHierNodeRelation AS
SELECT
SourcingProjectUUID,
SourcingProjectItemUUID,
SourcingProjectItem,
SourcingProjectItemParent,
AlternativeItemID,
SourcingProjectItemType,
SrcgProjItemClassification,
SourcingProjectItemStableUUID,
FormattedItemID,
SrcgProjItemDescription,
Material,
MaterialGroup,
Plant,
ProductType,
PurchaseRequisition,
PurchaseRequisitionItem,
SourcingOrigin,
SourcingScenario,
SrcgProjItemDemandConfCode
FROM I_SourcingProjectItem
LEFT OUTER JOIN R_SrcgProjItemHierNodeRelation AS _Parent ON SourcingProjectItemParent = _Parent.SourcingProjectItem AND SourcingProjectUUID = _Parent.SourcingProjectUUID -- association [0..*]
LEFT OUTER JOIN R_SourcingProject AS _SourcingProject ON SourcingProjectUUID = _SourcingProject.SourcingProjectUUID -- 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