I_SponsoredProgramHierarchy

DDL: I_SPONSOREDPROGRAMHIERARCHY SQL: IGMSPPROGH Type: view BASIC

Hierarchy of the Sponsored Program

I_SponsoredProgramHierarchy is a Basic CDS View that provides data about "Hierarchy of the Sponsored Program" in SAP S/4HANA. It reads from 2 data sources (hrrp_directory, hrrp_node) and exposes 6 fields with key fields SponsoredProgramHierarchy, ValidityEndDate. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
hrrp_directory hrrp_directory from
hrrp_node hrrp_node inner

Associations (1)

CardinalityTargetAliasCondition
[1..*] I_SponsoredProgHierarchyText _Text $projection.SponsoredProgramHierarchy = _Text.SponsoredProgramHierarchy

Annotations (12)

NameValueLevelField
ObjectModel.representativeKey SponsoredProgramHierarchy view
AbapCatalog.sqlViewName IGMSPPROGH 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 the Sponsored Program view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY SponsoredProgramHierarchy
KEY ValidityEndDate
ValidityStartDate
LastChangedByUser hrrp_directory upduser
LastChangeDateTime hrrp_directory updtime
_Text _Text
@ObjectModel.representativeKey: 'SponsoredProgramHierarchy'
@AbapCatalog.sqlViewName: 'IGMSPPROGH'
@AccessControl.authorizationCheck: #CHECK
@AbapCatalog.preserveKey:true
@AbapCatalog.compiler.compareFilter:true
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #BASIC
@ObjectModel.usageType: {
  dataClass: #MASTER,
  serviceQuality: #A,
  sizeCategory: #XL
}

@Metadata.allowExtensions: true
@EndUserText.label: 'Hierarchy of the Sponsored Program'
define view I_SponsoredProgramHierarchy
  as select from hrrp_directory
    inner join   hrrp_node on  hrrp_directory.hryid    = hrrp_node.hryid
                           and hrrp_directory.hryver   = hrrp_node.hryver
                           and hrrp_directory.hryvalto = hrrp_node.hryvalto
                           and hrrp_node.nodetype      = 'R'

  association [1..*] to I_SponsoredProgHierarchyText as _Text on $projection.SponsoredProgramHierarchy = _Text.SponsoredProgramHierarchy

{
      @ObjectModel.text.association: '_Text'
  key cast(hrrp_directory.hryid as gmis_hryid_sponsoredprog )       as SponsoredProgramHierarchy,
      @Semantics.businessDate.to: true
  key cast(hrrp_directory.hryvalto as fis_datbi preserving type )   as ValidityEndDate,
      @Semantics.businessDate.from: true
      cast(hrrp_directory.hryvalfrom as fis_datab preserving type ) as ValidityStartDate,
      @Semantics.user.lastChangedBy: true
      hrrp_directory.upduser                                        as LastChangedByUser,
      @Semantics.systemDate.lastChangedAt: true
      hrrp_directory.updtime                                        as LastChangeDateTime,


      _Text
}

where
  hrrp_directory.hrytyp = '0314';