I_CountryHierarchyText

DDL: I_COUNTRYHIERARCHYTEXT Type: view_entity BASIC

Country/Region Hierarchy - Text

I_CountryHierarchyText (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

CountryHierarchyText · Accounting and Financial Close

I_CountryHierarchyText is a Basic CDS View that provides data about "Country/Region Hierarchy - Text" in SAP S/4HANA. It reads from 1 data source (hrrp_dirt_n) and exposes 6 fields with key fields CountryHierarchy, ValidityEndDate, Language. It has 1 association to related views.

SAP API Hub

StateC1
Line of BusinessAccounting and Financial Close
Application ComponentFI-FIO-GL-IS
CapabilitiesData Source for Defining CDS Entities, Association Target for Defining CDS Entities, Language-Dependent Text, Data Source for Data Extraction
PackageAccounting and Financial Close for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
hrrp_dirt_n hrrp_dirt_n from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_Language _Language $projection.Language = _Language.Language

Annotations (13)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Country/Region Hierarchy - Text view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MASTER view
VDM.viewType #BASIC view
ObjectModel.dataCategory #TEXT view
ObjectModel.modelingPattern #LANGUAGE_DEPENDENT_TEXT view
Search.searchable true view
Analytics.dataExtraction.enabled true view
ObjectModel.sapObjectNodeType.name CountryHierarchyText view
ObjectModel.representativeKey CountryHierarchy view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY CountryHierarchy Country/Region Hierarchy ID
KEY ValidityEndDate Validity End Date
KEY Language spras Off. Language
ValidityStartDate Validity Start Date
CountryHierarchyName hrytxt Hierarchy description
_Language _Language

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_CountryHierarchyText.
-- 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_CountryHierarchyText AS
SELECT
  cast(hrrp_dirt_n.hryid as fis_hryid_country preserving type ) AS CountryHierarchy,
  cast(hrrp_dirt_n.hryvalto as fis_datbi preserving type ) AS ValidityEndDate,
  spras AS Language,
  cast(hrrp_dirt_n.hryvalfrom as fis_datab preserving type ) AS ValidityStartDate,
  hrytxt AS CountryHierarchyName
FROM hrrp_dirt_n
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
;