I_SponsoredClassHierarchy

DDL: I_SPONSOREDCLASSHIERARCHY SQL: IGMSPCLASSH Type: view BASIC Package: PSM_S4C_GM_MD

Hierarchy of Sponsored Class

I_SponsoredClassHierarchy is a Basic CDS View that provides data about "Hierarchy of Sponsored Class" in SAP S/4HANA. It reads from 2 data sources (hrrp_directory, hrrp_node) and exposes 6 fields with key fields SponsoredClassHierarchy, ValidityEndDate. It has 1 association to related views. Part of development package PSM_S4C_GM_MD.

Data Sources (2)

SourceAliasJoin Type
hrrp_directory hrrp_directory from
hrrp_node hrrp_node inner

Associations (1)

CardinalityTargetAliasCondition
[1..*] I_SponsoredClassHierarchyText _Text $projection.SponsoredClassHierarchy = _Text.SponsoredClassHierarchy

Annotations (12)

NameValueLevelField
ObjectModel.representativeKey SponsoredClassHierarchy view
AbapCatalog.sqlViewName IGMSPCLASSH view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XL view
Metadata.allowExtensions true view
EndUserText.label Hierarchy of Sponsored Class view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY SponsoredClassHierarchy
KEY ValidityEndDate
ValidityStartDate
LastChangedByUser hrrp_directory upduser Changed By
LastChangeDateTime hrrp_directory updtime Updated At
_Text _Text

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_SponsoredClassHierarchy.
-- 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: IGMSPCLASSH

CREATE VIEW I_SponsoredClassHierarchy AS
SELECT
  cast(hrrp_directory.hryid as gmis_hryid_sponsoredclass ) AS SponsoredClassHierarchy,
  cast(hrrp_directory.hryvalto as fis_datbi preserving type ) AS ValidityEndDate,
  cast(hrrp_directory.hryvalfrom as fis_datab preserving type ) AS ValidityStartDate,
  hrrp_directory.upduser AS LastChangedByUser,
  hrrp_directory.updtime AS LastChangeDateTime
FROM hrrp_directory
INNER JOIN hrrp_node ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_SponsoredClassHierarchyText AS _Text ON SponsoredClassHierarchy = _Text.SponsoredClassHierarchy  -- association [1..*]
;