I_CustomerGroupHierarchyText

DDL: I_CUSTOMERGROUPHIERARCHYTEXT Type: view_entity BASIC

Customer Group Hierarchy - Text

I_CustomerGroupHierarchyText (Basic)

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

CustomerGroupHierarchyText · Accounting and Financial Close

I_CustomerGroupHierarchyText is a Basic CDS View that provides data about "Customer Group Hierarchy - Text" in SAP S/4HANA. It reads from 1 data source (hrrp_dirt_n) and exposes 6 fields with key fields CustomerGroupHierarchy, 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 Customer Group Hierarchy - Text view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L 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 CustomerGroupHierarchyText view
ObjectModel.representativeKey CustomerGroupHierarchy view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY CustomerGroupHierarchy Customer Group Hierarchy ID
KEY ValidityEndDate Validity End Date
KEY Language spras Off. Language
ValidityStartDate Validity Start Date
CustomerGroupHierarchyName 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_CustomerGroupHierarchyText.
-- 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_CustomerGroupHierarchyText AS
SELECT
  cast(hrrp_dirt_n.hryid as fis_hryid_customergroup preserving type ) AS CustomerGroupHierarchy,
  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 CustomerGroupHierarchyName
FROM hrrp_dirt_n
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
;