I_ProductHierarchyText

DDL: I_PRODUCTHIERARCHYTEXT SQL: IPORDHIERTEXT Type: view BASIC

Product Hierarchy - Text

I_ProductHierarchyText (Basic)

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

Database & Data Management

I_ProductHierarchyText is a Basic CDS View that provides data about "Product Hierarchy - Text" in SAP S/4HANA. It reads from 1 data source (t179t) and exposes 5 fields with key fields ProductHierarchy, Language. It has 2 associations to related views.

SAP API Hub

StateC1
Line of BusinessDatabase & Data Management
Application ComponentLO-MD-MM
CapabilitiesData Source for Defining CDS Entities, Association Target for Defining CDS Entities, Data Source in SQL Select, Language-Dependent Text, Data Source for Search
PackageDatabase & Data Management for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
t179t t179t from

Associations (2)

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

Annotations (13)

NameValueLevelField
EndUserText.label Product Hierarchy - Text view
ObjectModel.dataCategory #TEXT view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName IPORDHIERTEXT view
ObjectModel.representativeKey ProductHierarchy view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MASTER view
ClientHandling.algorithm #SESSION_VARIABLE view
Search.searchable true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #LANGUAGE_DEPENDENT_TEXT view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY ProductHierarchy prodh Product Hierarchy
KEY Language spras Off. Language
ProductHierarchyText Product Hierarchy Text
_ProductHierarchy _ProductHierarchy
_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_ProductHierarchyText.
-- 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: IPORDHIERTEXT

CREATE VIEW I_ProductHierarchyText AS
SELECT
  prodh AS ProductHierarchy,
  spras AS Language,
  cast( vtext as producthierarchytext preserving type ) AS ProductHierarchyText
FROM t179t
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
LEFT OUTER JOIN I_ProductHierarchy AS _ProductHierarchy ON ProductHierarchy = _ProductHierarchy.ProductHierarchy  -- association [1..1]
;