P_CnsldtnHierDir

DDL: P_CNSLDTNHIERDIR SQL: PCNSLDTNHRDIR Type: view BASIC

P_CnsldtnHierDir is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (hrrp_directory) and exposes 5 fields with key field AdditionalMasterDataHierarchy.

Data Sources (1)

SourceAliasJoin Type
hrrp_directory hrrp_directory from

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PCNSLDTNHRDIR view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey AdditionalMasterDataHierarchy view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #A view
VDM.private true view
VDM.viewType #BASIC view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY AdditionalMasterDataHierarchy Hierarchy ID
ValidityEndDate Valid To
ValidityStartDate Valid From
LastChangedByUser upduser Changed By
LastChangeDateTime updtime Updated At

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_CnsldtnHierDir.
-- 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: PCNSLDTNHRDIR

CREATE VIEW P_CnsldtnHierDir AS
SELECT
  cast(hryid as fincs_hryid) AS AdditionalMasterDataHierarchy,
  cast(hryvalto as fis_datbi) AS ValidityEndDate,
  cast(hryvalfrom as fis_datab) AS ValidityStartDate,
  upduser AS LastChangedByUser,
  updtime AS LastChangeDateTime
FROM hrrp_directory
;