I_GrantHierarchyStdVH

DDL: I_GRANTHIERARCHYSTDVH SQL: IGMGRANTHVH Type: view BASIC

Grant Hierarchy

I_GrantHierarchyStdVH is a Basic CDS View that provides data about "Grant Hierarchy" in SAP S/4HANA. It reads from 1 data source (hrrp_dir_n) and exposes 7 fields with key fields GrantHierarchy, ValidityEndDate. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
hrrp_dir_n hrrp_dir_n from

Associations (1)

CardinalityTargetAliasCondition
[1..*] I_GrantHierarchyText _Text $projection.GrantHierarchy = _Text.GrantHierarchy

Annotations (17)

NameValueLevelField
ObjectModel.representativeKey GrantHierarchy view
EndUserText.label Grant Hierarchy view
ObjectModel.dataCategory #VALUE_HELP view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName IGMGRANTHVH view
AccessControl.authorizationCheck #MANDATORY view
Metadata.allowExtensions true view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.modelingPattern #VALUE_HELP_PROVIDER view
Consumption.filter.businessDate.at true view
Metadata.ignorePropagatedAnnotations true view
Search.searchable true view
Consumption.ranked true view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY GrantHierarchy
KEY ValidityEndDate
ValidityStartDate
LastChangedByUser hrrp_dir_n upduser Changed By
LastChangeDateTime hrrp_dir_n updtime Updated At
HierarchyShortID hrrp_dir_n hrysid Hierarchy ID
_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_GrantHierarchyStdVH.
-- 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: IGMGRANTHVH

CREATE VIEW I_GrantHierarchyStdVH AS
SELECT
  cast(hrrp_dir_n.hryid as gm_hryid_grant ) AS GrantHierarchy,
  cast(hrrp_dir_n.hryvalto as fis_datbi preserving type ) AS ValidityEndDate,
  cast(hrrp_dir_n.hryvalfrom as fis_datab preserving type ) AS ValidityStartDate,
  hrrp_dir_n.upduser AS LastChangedByUser,
  hrrp_dir_n.updtime AS LastChangeDateTime,
  hrrp_dir_n.hrysid AS HierarchyShortID
FROM hrrp_dir_n
LEFT OUTER JOIN I_GrantHierarchyText AS _Text ON GrantHierarchy = _Text.GrantHierarchy  -- association [1..*]
;