I_GlobalCompanyHierarchy

DDL: I_GLOBALCOMPANYHIERARCHY Type: view_entity BASIC Package: FIN_COMPANY_HIER

Global Company Hierarchy

I_GlobalCompanyHierarchy is a Basic CDS View (Dimension) that provides data about "Global Company Hierarchy" in SAP S/4HANA. It reads from 1 data source (hrrp_dir_n) and exposes 7 fields with key fields GlobalCompanyHierarchy, ValidityEndDate. It has 1 association to related views. Part of development package FIN_COMPANY_HIER.

Data Sources (1)

SourceAliasJoin Type
hrrp_dir_n hrrp_dir_n from

Associations (1)

CardinalityTargetAliasCondition
[1..*] I_GlobalCompanyHierarchyT _Text $projection.GlobalCompanyHierarchy = _Text.GlobalCompanyHierarchy and $projection.ValidityEndDate = _Text.ValidityEndDate

Annotations (14)

NameValueLevelField
AbapCatalog.entityBuffer.definitionAllowed false view
EndUserText.label Global Company Hierarchy view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #CHECK view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey GlobalCompanyHierarchy view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
Search.searchable true view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY GlobalCompanyHierarchy
KEY ValidityEndDate
ValidityStartDate
LastChangedByUser hrrp_dir_n upduser Changed By
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_GlobalCompanyHierarchy.
-- 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_GlobalCompanyHierarchy AS
SELECT
  cast(hrrp_dir_n.hryid as fis_hryid_company preserving type ) AS GlobalCompanyHierarchy,
  cast(hrrp_dir_n.hryvalto as fis_datbi preserving type ) AS ValidityEndDate,
  cast(hrrp_dir_n.hryvalfrom as fis_datab preserving type ) AS ValidityStartDate,
  hrrp_dir_n.upduser AS LastChangedByUser,
  hrrp_dir_n.updtime AS LastChangeDateTime,
  hrrp_dir_n.hrysid AS HierarchyShortID
FROM hrrp_dir_n
LEFT OUTER JOIN I_GlobalCompanyHierarchyT AS _Text ON GlobalCompanyHierarchy = _Text.GlobalCompanyHierarchy AND ValidityEndDate = _Text.ValidityEndDate  -- association [1..*]
;