P_CnsldtnProfitCenterHierVH

DDL: P_CNSLDTNPROFITCENTERHIERVH Type: view_entity COMPOSITE Package: FIN_CS_MD_PROFITCENTER

Consolidation Profit Center Hierarchy

P_CnsldtnProfitCenterHierVH is a Composite CDS View that provides data about "Consolidation Profit Center Hierarchy" in SAP S/4HANA. It reads from 3 data sources (ftg_enabled, I_SAPClient, I_SAPClient) and exposes 8 fields with key fields ConsolidationPrftCtrHierarchy, ValidityEndDate, ValidityEndDate. Part of development package FIN_CS_MD_PROFITCENTER.

Data Sources (3)

SourceAliasJoin Type
ftg_enabled _FT_HRY_SHIFT inner
I_SAPClient I_SAPClient from
I_SAPClient I_SAPClient union_all

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY ConsolidationPrftCtrHierarchy
KEY ValidityEndDate _Source ValidityEndDate ValidTo
ValidityStartDate _Source ValidityStartDate Validity Start Date
ControllingArea _Source ControllingArea Controlling Area
KEY ValidityEndDate ValidTo
ValidityStartDate Validity Start Date
ControllingArea Controlling Area
CnsldtnProfitCenterHierText

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_CnsldtnProfitCenterHierVH.
-- 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 P_CnsldtnProfitCenterHierVH AS
SELECT
  cast ( _Source.AdditionalMasterDataHierarchy as fincs_profitcenterhierarchy_40 ) AS ConsolidationPrftCtrHierarchy,
  _Source.ValidityEndDate AS ValidityEndDate,
  _Source.ValidityStartDate AS ValidityStartDate,
  _Source.ControllingArea AS ControllingArea,
  cast ( '' as fincs_hierarchytext ) AS CnsldtnProfitCenterHierText
FROM I_SAPClient
INNER JOIN ftg_enabled AS _FT_HRY_SHIFT ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): I_SAPClient
;