P_PubSecGrantCostSharingAgg

DDL: P_PUBSECGRANTCOSTSHARINGAGG SQL: PPSGRCSAGG Type: view COMPOSITE Package: ODATA_PSM_S4C_GM_REPORTING

Grants Cost Sharing Aggregation

P_PubSecGrantCostSharingAgg is a Composite CDS View that provides data about "Grants Cost Sharing Aggregation" in SAP S/4HANA. It reads from 1 data source (I_GrantCostSharingLink) and exposes 4 fields with key fields GrantID, SponsoredProgram, SponsoredClass. Part of development package ODATA_PSM_S4C_GM_REPORTING.

Data Sources (1)

SourceAliasJoin Type
I_GrantCostSharingLink Main from

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName PPSGRCSAGG view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
AbapCatalog.buffering.status #NOT_ALLOWED view
VDM.viewType #COMPOSITE view
VDM.private true view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #P view
ObjectModel.usageType.sizeCategory #XL view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY GrantID I_GrantCostSharingLink GrantID Sender Grant
KEY SponsoredProgram I_GrantCostSharingLink SponsoredProgram Sponsored Program
KEY SponsoredClass I_GrantCostSharingLink SponsoredClass Sponsored Class
GteeMCostSharingRateInPercent

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 P_PubSecGrantCostSharingAgg.
-- 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: PPSGRCSAGG

CREATE VIEW P_PubSecGrantCostSharingAgg AS
SELECT
  Main.GrantID AS GrantID,
  Main.SponsoredProgram AS SponsoredProgram,
  Main.SponsoredClass AS SponsoredClass,
  cast( sum (Main.GteeMCostSharingRateInPercent ) as gm_cost_share_percentage preserving type ) AS GteeMCostSharingRateInPercent
FROM I_GrantCostSharingLink AS Main
;