R_GrantTP

DDL: R_GRANTTP Type: view_entity TRANSACTIONAL

Manage Grant - TP

R_GrantTP is a Transactional CDS View that provides data about "Manage Grant - TP" in SAP S/4HANA. It reads from 1 data source (I_Grant) and exposes 45 fields with key field GrantID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_Grant iGrant from

Associations (1)

CardinalityTargetAliasCondition
[0..1] E_Grant _Extension $projection.GrantID = _Extension.GrantID

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MASTER view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
EndUserText.label Manage Grant - TP view

Fields (45)

KeyFieldSource TableSource FieldDescription
KEY GrantID I_Grant GrantID Sender Grant
ValidityStartDate I_Grant ValidityStartDate Validity Start Date
ValidityEndDate I_Grant ValidityEndDate ValidTo
GranteeMgmtSponsor I_Grant GranteeMgmtSponsor With Partner
GrantAuthznGrp I_Grant GrantAuthznGrp Authorization Group
GrantLfcycStatusForAuthzn I_Grant GrantLfcycStatusForAuthzn
GrantType I_Grant GrantType Grant Type
CompanyCode I_Grant CompanyCode Receiver Company Code
GrantIsBlockedForPosting I_Grant GrantIsBlockedForPosting Block All Postings
GrantCurrency I_Grant GrantCurrency Grant Currency
GrantTotalAmountInGrantCrcy I_Grant GrantTotalAmountInGrantCrcy Grant Value
GteeMIndrctCostShrngRule I_Grant GteeMIndrctCostShrngRule IDC Rule
GrantLifecycleStatus I_Grant GrantLifecycleStatus Status
GrantStatusProfile I_Grant GrantStatusProfile Status Profile
GrantUserStatus I_Grant GrantUserStatus User Status
GranteeMgmtCostSharingRule I_Grant GranteeMgmtCostSharingRule Cost Sharing Rule
GteeMCostSharingOverallRate I_Grant GteeMCostSharingOverallRate Cost Shar.Rate
GranteeMgmtBillingRule I_Grant GranteeMgmtBillingRule Billing Rule
CreatedByUser I_Grant CreatedByUser User Name
CreationDate I_Grant CreationDate Time Stamp
CreationTime I_Grant CreationTime Time of Change
LastChangedByUser I_Grant LastChangedByUser User Name
LastChangeDate I_Grant LastChangeDate Time Stamp
LastChangeTime I_Grant LastChangeTime Time changed
PreAwardPstgIsAllowedForGrant I_Grant PreAwardPstgIsAllowedForGrant Pre-Award Postings
GrantFiscalYearVariant I_Grant GrantFiscalYearVariant Grant FY variant
GrantIsNotRelevantGrant I_Grant GrantIsNotRelevantGrant
GteeMTimeSliceSplittingRule I_Grant GteeMTimeSliceSplittingRule Split Rule
GrantName
GrantDescription
_BillingRule I_Grant _BillingRule
_CompanyCode I_Grant _CompanyCode
_CostSharingRule I_Grant _CostSharingRule
_CreatedByUser I_Grant _CreatedByUser
_FiscalYearVariant I_Grant _FiscalYearVariant
_GrantCurrency I_Grant _GrantCurrency
_GrantLifecycleStatus I_Grant _GrantLifecycleStatus
_GrantResponsibility I_Grant _GrantResponsibility
_GrantType I_Grant _GrantType
_IndirectCostSharingRule I_Grant _IndirectCostSharingRule
_LastChangedByUser I_Grant _LastChangedByUser
_Sponsor I_Grant _Sponsor
_StatusProfile I_Grant _StatusProfile
_Text I_Grant _Text
_UserStatus I_Grant _UserStatus

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 R_GrantTP.
-- 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.

CREATE VIEW R_GrantTP AS
SELECT
  iGrant.GrantID AS GrantID,
  iGrant.ValidityStartDate AS ValidityStartDate,
  iGrant.ValidityEndDate AS ValidityEndDate,
  iGrant.GranteeMgmtSponsor AS GranteeMgmtSponsor,
  iGrant.GrantAuthznGrp AS GrantAuthznGrp,
  iGrant.GrantLfcycStatusForAuthzn AS GrantLfcycStatusForAuthzn,
  iGrant.GrantType AS GrantType,
  iGrant.CompanyCode AS CompanyCode,
  iGrant.GrantIsBlockedForPosting AS GrantIsBlockedForPosting,
  iGrant.GrantCurrency AS GrantCurrency,
  iGrant.GrantTotalAmountInGrantCrcy AS GrantTotalAmountInGrantCrcy,
  iGrant.GteeMIndrctCostShrngRule AS GteeMIndrctCostShrngRule,
  iGrant.GrantLifecycleStatus AS GrantLifecycleStatus,
  iGrant.GrantStatusProfile AS GrantStatusProfile,
  iGrant.GrantUserStatus AS GrantUserStatus,
  iGrant.GranteeMgmtCostSharingRule AS GranteeMgmtCostSharingRule,
  iGrant.GteeMCostSharingOverallRate AS GteeMCostSharingOverallRate,
  iGrant.GranteeMgmtBillingRule AS GranteeMgmtBillingRule,
  iGrant.CreatedByUser AS CreatedByUser,
  iGrant.CreationDate AS CreationDate,
  iGrant.CreationTime AS CreationTime,
  iGrant.LastChangedByUser AS LastChangedByUser,
  iGrant.LastChangeDate AS LastChangeDate,
  iGrant.LastChangeTime AS LastChangeTime,
  iGrant.PreAwardPstgIsAllowedForGrant AS PreAwardPstgIsAllowedForGrant,
  iGrant.GrantFiscalYearVariant AS GrantFiscalYearVariant,
  iGrant.GrantIsNotRelevantGrant AS GrantIsNotRelevantGrant,
  iGrant.GteeMTimeSliceSplittingRule AS GteeMTimeSliceSplittingRule,
  iGrant._Text[1:Language = $session.system_language].GrantName AS GrantName,
  iGrant._Text[1:Language = $session.system_language].GrantDescription AS GrantDescription,
  iGrant._BillingRule AS _BillingRule,
  iGrant._CompanyCode AS _CompanyCode,
  iGrant._CostSharingRule AS _CostSharingRule,
  iGrant._CreatedByUser AS _CreatedByUser,
  iGrant._FiscalYearVariant AS _FiscalYearVariant,
  iGrant._GrantCurrency AS _GrantCurrency,
  iGrant._GrantLifecycleStatus AS _GrantLifecycleStatus,
  iGrant._GrantResponsibility AS _GrantResponsibility,
  iGrant._GrantType AS _GrantType,
  iGrant._IndirectCostSharingRule AS _IndirectCostSharingRule,
  iGrant._LastChangedByUser AS _LastChangedByUser,
  iGrant._Sponsor AS _Sponsor,
  iGrant._StatusProfile AS _StatusProfile,
  iGrant._Text AS _Text,
  iGrant._UserStatus AS _UserStatus
FROM I_Grant AS iGrant
LEFT OUTER JOIN E_Grant AS _Extension ON GrantID = _Extension.GrantID  -- association [0..1]
;