I_XB_CostStatementReportNode
CR Spfc Cost Statement Hier Node
I_XB_CostStatementReportNode is a Basic CDS View that provides data about "CR Spfc Cost Statement Hier Node" in SAP S/4HANA. It reads from 1 data source (P_XB_COSTSTATEMENTHIERNODE) and exposes 11 fields with key fields XB_CostStatementHierarchy, UniversalHierNodeID. It has 4 associations to related views. Part of development package GLO_FIN_IS_CS_GEN.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_XB_COSTSTATEMENTHIERNODE | P_XB_COSTSTATEMENTHIERNODE | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_XB_CostStatementReportNodeT | _Text | $projection.UniversalHierNodeID = _Text.UniversalHierNodeID |
| [0..1] | I_XB_CostStmntLeafRptgNode | _CostStatementLeafItem | $projection.XB_CostStmntLeafReportingNode = _CostStatementLeafItem.XB_CostStmntLeafReportingNode |
| [0..1] | I_XB_CostStatementHierarchy | _Hierarchy | $projection.XB_CostStatementHierarchy = _Hierarchy.XB_CostStatementHierarchy and $projection.ValidityEndDate = _Hierarchy.ValidityEndDate |
| [0..*] | I_XB_CostStatementReportNode | _ParentNode | $projection.XB_CostStatementHierarchy = _ParentNode.XB_CostStatementHierarchy and $projection.ValidityEndDate = _ParentNode.ValidityEndDate and $projection.UniversalHierNodeParentID = _ParentNode.UniversalHierNodeID |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Analytics.dataExtraction.enabled | true | view | |
| Analytics.technicalName | IXBCOSTRPTNODE | view | |
| EndUserText.label | CR Spfc Cost Statement Hier Node | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.dataCategory | #HIERARCHY | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_PARENT_CHILD_HIERARCHY_NODE | view | |
| ObjectModel.representativeKey | UniversalHierNodeID | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| VDM.viewType | #BASIC | view |
Fields (11)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | XB_CostStatementHierarchy | XB_CostStatementHierarchy | ||
| KEY | UniversalHierNodeID | UniversalHierNodeID | ||
| UniversalHierNodeParentID | UniversalHierNodeParentID | |||
| ValidityEndDate | UniversalHierVersValidTo | Valid To | ||
| ValidityStartDate | UniversalHierVersValidFrom | Valid From | ||
| XB_CostStmntLeafReportingNode | XB_CostStmntLeafReportingNode | |||
| UniversalHierNodeSequence | UniversalHierNodeSequence | |||
| _Text | _Text | |||
| _CostStatementLeafItem | _CostStatementLeafItem | |||
| _Hierarchy | _Hierarchy | |||
| _ParentNode | _ParentNode |
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 I_XB_CostStatementReportNode.
-- 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.
CREATE VIEW I_XB_CostStatementReportNode AS
SELECT
XB_CostStatementHierarchy,
UniversalHierNodeID,
UniversalHierNodeParentID,
UniversalHierVersValidTo AS ValidityEndDate,
UniversalHierVersValidFrom AS ValidityStartDate,
XB_CostStmntLeafReportingNode,
UniversalHierNodeSequence
FROM P_XB_COSTSTATEMENTHIERNODE
LEFT OUTER JOIN I_XB_CostStatementReportNodeT AS _Text ON UniversalHierNodeID = _Text.UniversalHierNodeID -- association [0..*]
LEFT OUTER JOIN I_XB_CostStmntLeafRptgNode AS _CostStatementLeafItem ON XB_CostStmntLeafReportingNode = _CostStatementLeafItem.XB_CostStmntLeafReportingNode -- association [0..1]
LEFT OUTER JOIN I_XB_CostStatementHierarchy AS _Hierarchy ON XB_CostStatementHierarchy = _Hierarchy.XB_CostStatementHierarchy AND ValidityEndDate = _Hierarchy.ValidityEndDate -- association [0..1]
LEFT OUTER JOIN I_XB_CostStatementReportNode AS _ParentNode ON XB_CostStatementHierarchy = _ParentNode.XB_CostStatementHierarchy AND ValidityEndDate = _ParentNode.ValidityEndDate AND UniversalHierNodeParentID = _ParentNode.UniversalHierNodeID -- association [0..*]
;
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