I_GrantBdgtValidityLink

DDL: I_GRANTBDGTVALIDITYLINK SQL: IGRANTBDGTLINK Type: view BASIC Package: ODATA_PSM_S4C_GM_MD

Grant Specific Budget Validity Details

I_GrantBdgtValidityLink is a Basic CDS View that provides data about "Grant Specific Budget Validity Details" in SAP S/4HANA. It reads from 1 data source (gmbdgtvalidity) and exposes 12 fields with key fields GrantID, GranteeMgmtBdgtPhase, GranteeMgmtBudgetStatus, GteeMBudgetValidityNumber. It has 3 associations to related views. Part of development package ODATA_PSM_S4C_GM_MD.

Data Sources (1)

SourceAliasJoin Type
gmbdgtvalidity gmbdgtvalidity from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_Grant _Grant $projection.GrantID = _Grant.GrantID
[1..1] I_GranteeMgmtBdgtPhase _GranteeMgmtBdgtPhase $projection.GranteeMgmtBdgtPhase = _GranteeMgmtBdgtPhase.GranteeMgmtBdgtPhase
[0..*] I_GranteeMgmtBdgtPhaseText _GranteeMgmtBdgtPhaseText $projection.GranteeMgmtBdgtPhase = _GranteeMgmtBdgtPhaseText.GranteeMgmtBdgtPhase

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IGRANTBDGTLINK view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Grant Specific Budget Validity Details view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY GrantID grant_nbr Receiver Grant
KEY GranteeMgmtBdgtPhase bdgt_phase Budget Phase
KEY GranteeMgmtBudgetStatus release_status Status
KEY GteeMBudgetValidityNumber bdgt_vldty_nbr Bdgt Validty No.
ValidityStartDate from_date Valid from Date
ValidityEndDate to_date Valid to Date
SponsorFiscalYear sponsor_fy Sponsor FY
GranteeFiscalYear grantee_fy Grantee Fisc. Year
GteeMBudgetBlock block Bulk Storage
_Grant _Grant
_GranteeMgmtBdgtPhase _GranteeMgmtBdgtPhase
_GranteeMgmtBdgtPhaseText _GranteeMgmtBdgtPhaseText

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_GrantBdgtValidityLink.
-- 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: IGRANTBDGTLINK

CREATE VIEW I_GrantBdgtValidityLink AS
SELECT
  grant_nbr AS GrantID,
  bdgt_phase AS GranteeMgmtBdgtPhase,
  release_status AS GranteeMgmtBudgetStatus,
  bdgt_vldty_nbr AS GteeMBudgetValidityNumber,
  from_date AS ValidityStartDate,
  to_date AS ValidityEndDate,
  sponsor_fy AS SponsorFiscalYear,
  grantee_fy AS GranteeFiscalYear,
  block AS GteeMBudgetBlock
FROM gmbdgtvalidity
LEFT OUTER JOIN I_Grant AS _Grant ON GrantID = _Grant.GrantID  -- association [1..1]
LEFT OUTER JOIN I_GranteeMgmtBdgtPhase AS _GranteeMgmtBdgtPhase ON GranteeMgmtBdgtPhase = _GranteeMgmtBdgtPhase.GranteeMgmtBdgtPhase  -- association [1..1]
LEFT OUTER JOIN I_GranteeMgmtBdgtPhaseText AS _GranteeMgmtBdgtPhaseText ON GranteeMgmtBdgtPhase = _GranteeMgmtBdgtPhaseText.GranteeMgmtBdgtPhase  -- association [0..*]
;