I_CompanyCodeHierarchyT

DDL: I_COMPANYCODEHIERARCHYT SQL: IFICOCODEHT Type: view BASIC Package: FIN_COMPANY_CODE_HIER

Company Code Hierarchy - Text

I_CompanyCodeHierarchyT (Basic)

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

CompanyCodeHierarchyText · Accounting and Financial Close

I_CompanyCodeHierarchyT is a Basic CDS View that provides data about "Company Code Hierarchy - Text" in SAP S/4HANA. It reads from 1 data source (hrrp_dirt_n) and exposes 6 fields with key fields CompanyCodeHierarchy, ValidityEndDate, Language. It has 1 association to related views. Part of development package FIN_COMPANY_CODE_HIER.

SAP API Hub

CategoryBasic
StateC1
Line of BusinessAccounting and Financial Close
Application ComponentFI-GL-GL-N-2CL
CapabilitiesData Source for Data Extraction,Data Source for Defining CDS Entities,Association Target for Defining CDS Entities,Language-Dependent Text
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Released
PackageAccounting and Financial Close for SAP S/4HANA Cloud Public 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 (16)

NameValueLevelField
EndUserText.label Company Code Hierarchy - Text view
ObjectModel.representativeKey CompanyCodeHierarchy view
Analytics.dataExtraction.enabled true view
ObjectModel.dataCategory #TEXT view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName IFICOCODEHT view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XL view
Search.searchable true view
ObjectModel.sapObjectNodeType.name CompanyCodeHierarchyText view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY CompanyCodeHierarchy Company Code Hierarchy
KEY ValidityEndDate Validity End Date
KEY Language spras Off. Language
ValidityStartDate Validity Start Date
CompanyCodeHierarchyName 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_CompanyCodeHierarchyT.
-- 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: IFICOCODEHT

CREATE VIEW I_CompanyCodeHierarchyT AS
SELECT
  cast(hrrp_dirt_n.hryid_42 as fis_hryid_ccode_42 preserving type ) AS CompanyCodeHierarchy,
  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 CompanyCodeHierarchyName
FROM hrrp_dirt_n
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
;