I_ProductGroupHierarchyText

DDL: I_PRODUCTGROUPHIERARCHYTEXT Type: view_entity BASIC Package: FINS_FIS_FICO

Product Group Hierarchy - Text

I_ProductGroupHierarchyText (Basic)

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

ProductGroupHierarchyText · Accounting and Financial Close

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

SAP API Hub

CategoryBasic
StateC1
Line of BusinessAccounting and Financial Close
Application ComponentFI-GL-IS-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
Description <p>This CDS view is designed to represent the hierarchy of product groups within an organization. It provides a structured view of product group data, including validity dates, user information, and associated text descriptions. The view is intended for use in analytical scenarios, allowing users to extract and analyze product group hierarchy data efficiently.</p> <p>This CDS view provides the data to answer the following business questions:</p> <ul> <li><p>What are the different product groups and their hierarchical relationships within the organization?</p></li> <li><p>What are the validity periods for each product group hierarchy?</p></li> <li><p>Who last changed the product group hierarchy data, and when was it last updated?</p></li> <li><p>How can the product group hierarchy be utilized in analytical dimensions for reporting and data extraction purposes?</p></li> </ul> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

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 Product 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 ProductGroupHierarchyText view
ObjectModel.representativeKey ProductGroupHierarchy view

Fields (6)

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