P_CnsldtnProfitCenterHierDirVH

DDL: P_CNSLDTNPROFITCENTERHIERDIRVH Type: view COMPOSITE Package: FIN_CS_MD_PROFITCENTER

Consolidation Profit Center Hierarchy Directory - Value Help

P_CnsldtnProfitCenterHierDirVH is a Composite CDS View that provides data about "Consolidation Profit Center Hierarchy Directory - Value Help" in SAP S/4HANA. It reads from 2 data sources (I_CnsldtnGlobalParameter, I_CnsldtnProfitCenterHierarchy) and exposes 6 fields with key fields AdditionalMasterDataHierarchy, ValidityEndDate, ValidityEndDate. Part of development package FIN_CS_MD_PROFITCENTER.

Data Sources (2)

SourceAliasJoin Type
I_CnsldtnGlobalParameter I_CnsldtnGlobalParameter union_all
I_CnsldtnProfitCenterHierarchy I_CnsldtnProfitCenterHierarchy from

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName PCSPCHDVH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AbapCatalog.buffering.status #NOT_ALLOWED view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.representativeKey AdditionalMasterDataHierarchy view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY AdditionalMasterDataHierarchy
KEY ValidityEndDate ValidityEndDate ValidTo
ValidityStartDate ValidityStartDate Validity Start Date
KEY ValidityEndDate ValidTo
ValidityStartDate Validity Start Date
ControllingArea

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_CnsldtnProfitCenterHierDirVH.
-- 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_CnsldtnProfitCenterHierDirVH AS
SELECT
  cast(ConsolidationPrftCtrHierarchy as fincs_hryid_profitcenter ) AS AdditionalMasterDataHierarchy,
  ValidityEndDate,
  ValidityStartDate,
  cast('' as kokrs ) AS ControllingArea
FROM I_CnsldtnProfitCenterHierarchy
-- UNION ALL with additional select branch(es): I_CnsldtnGlobalParameter
;