I_GrantCostSharingLink

DDL: I_GRANTCOSTSHARINGLINK SQL: IGRANTCSLINK Type: view BASIC

Cost Sharing for the Grant

I_GrantCostSharingLink is a Basic CDS View that provides data about "Cost Sharing for the Grant" in SAP S/4HANA. It reads from 1 data source (gmgrcostshare) and exposes 16 fields with key fields GrantID, FinancialManagementArea, Fund, SponsoredProgram, SponsoredClass. It has 8 associations to related views.

Data Sources (1)

SourceAliasJoin Type
gmgrcostshare gmgrcostshare from

Associations (8)

CardinalityTargetAliasCondition
[1..1] I_Grant _Grant $projection.GrantID = _Grant.GrantID
[1..1] I_FinancialManagementArea _FinMgmtArea $projection.FinancialManagementArea = _FinMgmtArea.FinancialManagementArea
[1..1] I_SponsoredProgramCore _SponsoredProgram $projection.SponsoredProgram = _SponsoredProgram.SponsoredProgram
[0..*] I_SponsoredProgramTextCore _SponsoredProgramText $projection.SponsoredProgram = _SponsoredProgramText.SponsoredProgram
[1..1] I_SponsoredClassCore _SponsoredClass $projection.SponsoredClass = _SponsoredClass.SponsoredClass
[0..*] I_SponsoredClassCoreText _SponsoredClassText $projection.SponsoredClass = _SponsoredClassText.SponsoredClass
[1..1] I_Fund _Fund $projection.FinancialManagementArea = _Fund.FinancialManagementArea and $projection.Fund = _Fund.Fund
[0..*] I_FundText _FundText _FundText.FinancialManagementArea = 'A000' and $projection.Fund = _FundText.Fund

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IGRANTCSLINK view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Cost Sharing for the Grant view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY GrantID grant_nbr Receiver Grant
KEY FinancialManagementArea fm_area FM Area
KEY Fund fund Sender Fund
KEY SponsoredProgram sponsored_prog Sponsored Program
KEY SponsoredClass sponsored_class Sponsored Class
KEY GteeMCostSharingSource cost_share_src Cost Share Source
GranteeMgmtCostSharingType cost_share_type Cost Shar. Type
GteeMCostSharingRateInPercent percentage Well Contribution Percentage
_Grant _Grant
_FinMgmtArea _FinMgmtArea
_SponsoredProgram _SponsoredProgram
_SponsoredProgramText _SponsoredProgramText
_SponsoredClass _SponsoredClass
_SponsoredClassText _SponsoredClassText
_Fund _Fund
_FundText _FundText

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_GrantCostSharingLink.
-- 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: IGRANTCSLINK

CREATE VIEW I_GrantCostSharingLink AS
SELECT
  grant_nbr AS GrantID,
  fm_area AS FinancialManagementArea,
  Fund,
  sponsored_prog AS SponsoredProgram,
  sponsored_class AS SponsoredClass,
  cost_share_src AS GteeMCostSharingSource,
  cost_share_type AS GranteeMgmtCostSharingType,
  percentage AS GteeMCostSharingRateInPercent
FROM gmgrcostshare
LEFT OUTER JOIN I_Grant AS _Grant ON GrantID = _Grant.GrantID  -- association [1..1]
LEFT OUTER JOIN I_FinancialManagementArea AS _FinMgmtArea ON FinancialManagementArea = _FinMgmtArea.FinancialManagementArea  -- association [1..1]
LEFT OUTER JOIN I_SponsoredProgramCore AS _SponsoredProgram ON SponsoredProgram = _SponsoredProgram.SponsoredProgram  -- association [1..1]
LEFT OUTER JOIN I_SponsoredProgramTextCore AS _SponsoredProgramText ON SponsoredProgram = _SponsoredProgramText.SponsoredProgram  -- association [0..*]
LEFT OUTER JOIN I_SponsoredClassCore AS _SponsoredClass ON SponsoredClass = _SponsoredClass.SponsoredClass  -- association [1..1]
LEFT OUTER JOIN I_SponsoredClassCoreText AS _SponsoredClassText ON SponsoredClass = _SponsoredClassText.SponsoredClass  -- association [0..*]
LEFT OUTER JOIN I_Fund AS _Fund ON FinancialManagementArea = _Fund.FinancialManagementArea AND Fund = _Fund.Fund  -- association [1..1]
LEFT OUTER JOIN I_FundText AS _FundText ON _FundText.FinancialManagementArea = 'A000' AND Fund = _FundText.Fund  -- association [0..*]
;