I_GR_GLAccountHierarchy

DDL: I_GR_GLACCOUNTHIERARCHY Type: view_entity BASIC

Greece G/L Account Hierachy

I_GR_GLAccountHierarchy is a Basic CDS View (Dimension) that provides data about "Greece G/L Account Hierachy" in SAP S/4HANA. It reads from 1 data source (hrrp_dir_n) and exposes 9 fields with key fields GLAccountHierarchy, ValidityEndDate. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
hrrp_dir_n hrrp_dir_n from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_GLAccountHierarchyText _Text $projection.GLAccountHierarchy = _Text.GLAccountHierarchy and $projection.ValidityEndDate = _Text.ValidityEndDate

Annotations (13)

NameValueLevelField
Analytics.dataCategory #DIMENSION view
VDM.viewType #BASIC view
Metadata.allowExtensions true view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #B view
Metadata.ignorePropagatedAnnotations true view
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.internalName #LOCAL view
Search.searchable true view
Analytics.dataExtraction.enabled true view
ObjectModel.representativeKey GLAccountHierarchy view
EndUserText.label Greece G/L Account Hierachy view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY GLAccountHierarchy
KEY ValidityEndDate hrrp_dir_n hryvalto Valid To
ValidityStartDate hrrp_dir_n hryvalfrom Valid From
HierarchyType hrrp_dir_n hrytyp Hierarchy Type
LastChangedByUser hrrp_dir_n upduser Changed By
LastChangeTime hrrp_dir_n updtime Updated At
LastChangeDateTime hrrp_dir_n updtime Updated At
HierarchyShortID hrrp_dir_n hrysid Hierarchy ID
_Text _Text

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_GR_GLAccountHierarchy.
-- 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_GR_GLAccountHierarchy AS
SELECT
  cast ( hrrp_dir_n.hryid_42 as fis_glaccthier preserving type ) AS GLAccountHierarchy,
  hrrp_dir_n.hryvalto AS ValidityEndDate,
  hrrp_dir_n.hryvalfrom AS ValidityStartDate,
  hrrp_dir_n.hrytyp AS HierarchyType,
  hrrp_dir_n.upduser AS LastChangedByUser,
  hrrp_dir_n.updtime AS LastChangeTime,
  hrrp_dir_n.updtime AS LastChangeDateTime,
  hrrp_dir_n.hrysid AS HierarchyShortID
FROM hrrp_dir_n
LEFT OUTER JOIN I_GLAccountHierarchyText AS _Text ON GLAccountHierarchy = _Text.GLAccountHierarchy AND ValidityEndDate = _Text.ValidityEndDate  -- association [0..*]
;