I_GrantHierarchyStdVH

DDL: I_GRANTHIERARCHYSTDVH SQL: IGMGRANTHVH Type: view BASIC Package: PSM_S4C_GM_MD

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_directory) and exposes 4 fields with key fields GrantHierarchy, ValidityEndDate. It has 1 association to related views. It is exposed through 1 OData service (ASQL_F4345). Part of development package PSM_S4C_GM_MD.

Data Sources (1)

SourceAliasJoin Type
hrrp_directory hrrp_directory from

Associations (1)

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

Annotations (18)

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
AbapCatalog.preserveKey true view
Consumption.filter.businessDate.at true view
Metadata.ignorePropagatedAnnotations true view
Search.searchable true view
Consumption.ranked true view

OData Services (1)

ServiceBindingVersionContractRelease
ASQL_F4345 ASQL_F4345 C2 NOT_RELEASED

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY GrantHierarchy
KEY ValidityEndDate
ValidityStartDate
_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_directory.hryid as gm_hryid_grant preserving type ) AS GrantHierarchy,
  cast(hrrp_directory.hryvalto as fis_datbi preserving type ) AS ValidityEndDate,
  cast(hrrp_directory.hryvalfrom as fis_datab preserving type ) AS ValidityStartDate
FROM hrrp_directory
LEFT OUTER JOIN I_GrantHierarchyText AS _Text ON GrantHierarchy = _Text.GrantHierarchy  -- association [1..*]
;