A_CnsldtnProfitCenterHier
Combined Profit Center - Hierarchy Node
A_CnsldtnProfitCenterHier is a Basic CDS View that provides data about "Combined Profit Center - Hierarchy Node" in SAP S/4HANA. It reads from 1 data source (I_CnsldtnProfitCenterHierNode) and exposes 19 fields with key fields ControllingArea, AdditionalMasterDataHierarchy, HierarchyNode, ValidityEndDate. It has 5 associations to related views. It is exposed through 5 OData services (ASQL_F7093, ASQL_F7094, ASQL_F7095, ...). Part of development package FIN_CS_MD_API.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CnsldtnProfitCenterHierNode | I_CnsldtnProfitCenterHierNode | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | A_CnsldtnProfitCenterHierT | _CnsldtnProfitCenterHierT | $projection.ControllingArea = _CnsldtnProfitCenterHierT.ControllingArea and $projection.AdditionalMasterDataHierarchy = _CnsldtnProfitCenterHierT.AdditionalMasterDataHierarchy and $projection.HierarchyNode = _CnsldtnProfitCenterHierT.HierarchyNode and $projection.ValidityEndDate = _CnsldtnProfitCenterHierT.ValidityEndDate and $projection.ProfitCenter = '' |
| [0..1] | A_CnsldtnProfitCenter | _CnsldtnProfitCenter | $projection.ControllingArea = _CnsldtnProfitCenter.ControllingArea and $projection.ProfitCenter = _CnsldtnProfitCenter.ProfitCenter |
| [1..1] | A_CnsldtnControllingArea | _CnsldtnControllingArea | $projection.ControllingArea = _CnsldtnControllingArea.ControllingArea |
| [0..*] | A_CnsldtnProfitCenterT | _CnsldtnProfitCenterT | $projection.ProfitCenter = _CnsldtnProfitCenterT.ProfitCenter and $projection.ControllingArea = _CnsldtnProfitCenterT.ControllingArea |
| [1..1] | A_CnsldtnProfitCenterHierDir | _CnsldtnProfitCenterHierDir | $projection.AdditionalMasterDataHierarchy = _CnsldtnProfitCenterHierDir.AdditionalMasterDataHierarchy and $projection.ValidityEndDate = _CnsldtnProfitCenterHierDir.ValidityEndDate |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ACSPRFTCNTRHIER | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.representativeKey | HierarchyNode | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| EndUserText.label | Combined Profit Center - Hierarchy Node | view | |
| OData.entitySet.name | ProfitCenterHier | view |
OData Services (5)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| ASQL_F7093 | ASQL_F7093 | C2 | NOT_RELEASED | |
| ASQL_F7094 | ASQL_F7094 | C2 | NOT_RELEASED | |
| ASQL_F7095 | ASQL_F7095 | C2 | NOT_RELEASED | |
| ASQL_F7096 | ASQL_F7096 | C2 | NOT_RELEASED | |
| ASQL_F7867 | ASQL_F7867 | C2 | NOT_RELEASED |
Fields (19)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ControllingArea | ControllingArea | Controlling Area | |
| KEY | AdditionalMasterDataHierarchy | |||
| KEY | HierarchyNode | HierarchyNode | Node | |
| KEY | ValidityEndDate | ValidityEndDate | ValidTo | |
| ParentNode | ParentNode | Parent Node | ||
| HierarchyVersion | HierarchyVersion | Version | ||
| ValidityStartDate | ValidityStartDate | Validity Start Date | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| SequenceNumber | ||||
| HierarchyNodeSequence | HierarchyNodeSequence | |||
| HierarchyNodeLevel | HierarchyNodeLevel | Hierarchy Node Level | ||
| NodeType | NodeType | Object Type | ||
| MDHierType | ||||
| HierarchyType | ||||
| _CnsldtnProfitCenterHierDir | _CnsldtnProfitCenterHierDir | |||
| _CnsldtnControllingArea | _CnsldtnControllingArea | |||
| _CnsldtnProfitCenter | _CnsldtnProfitCenter | |||
| _CnsldtnProfitCenterT | _CnsldtnProfitCenterT | |||
| _CnsldtnProfitCenterHierT | _CnsldtnProfitCenterHierT |
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 A_CnsldtnProfitCenterHier.
-- 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 A_CnsldtnProfitCenterHier AS
SELECT
ControllingArea,
cast(left(ConsolidationPrftCtrHierarchy, 40) as fincs_hryid_profitcenter preserving type ) AS AdditionalMasterDataHierarchy,
HierarchyNode,
ValidityEndDate,
ParentNode,
HierarchyVersion,
ValidityStartDate,
ProfitCenter,
cast(HierarchyNodeSequence as abap.char( 56 ) ) AS SequenceNumber,
HierarchyNodeSequence,
HierarchyNodeLevel,
NodeType,
cast( 'CS04' as hrytype preserving type ) AS MDHierType,
cast( 'CS04' as hrytype preserving type ) AS HierarchyType
FROM I_CnsldtnProfitCenterHierNode
LEFT OUTER JOIN A_CnsldtnProfitCenterHierT AS _CnsldtnProfitCenterHierT ON ControllingArea = _CnsldtnProfitCenterHierT.ControllingArea AND AdditionalMasterDataHierarchy = _CnsldtnProfitCenterHierT.AdditionalMasterDataHierarchy AND HierarchyNode = _CnsldtnProfitCenterHierT.HierarchyNode AND ValidityEndDate = _CnsldtnProfitCenterHierT.ValidityEndDate AND ProfitCenter = '' -- association [0..*]
LEFT OUTER JOIN A_CnsldtnProfitCenter AS _CnsldtnProfitCenter ON ControllingArea = _CnsldtnProfitCenter.ControllingArea AND ProfitCenter = _CnsldtnProfitCenter.ProfitCenter -- association [0..1]
LEFT OUTER JOIN A_CnsldtnControllingArea AS _CnsldtnControllingArea ON ControllingArea = _CnsldtnControllingArea.ControllingArea -- association [1..1]
LEFT OUTER JOIN A_CnsldtnProfitCenterT AS _CnsldtnProfitCenterT ON ProfitCenter = _CnsldtnProfitCenterT.ProfitCenter AND ControllingArea = _CnsldtnProfitCenterT.ControllingArea -- association [0..*]
LEFT OUTER JOIN A_CnsldtnProfitCenterHierDir AS _CnsldtnProfitCenterHierDir ON AdditionalMasterDataHierarchy = _CnsldtnProfitCenterHierDir.AdditionalMasterDataHierarchy AND ValidityEndDate = _CnsldtnProfitCenterHierDir.ValidityEndDate -- association [1..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- 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