R_GrantCoreTP
Manage Grants in Core
R_GrantCoreTP is a Transactional CDS View that provides data about "Manage Grants in Core" in SAP S/4HANA. It reads from 1 data source (I_Grant) and exposes 67 fields with key field GrantID. It has 9 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_Grant | iGrant | from |
Associations (9)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | R_GrantCoreTextTP | _Text | |
| [0..*] | R_GrantFundsLinkTP | _GrantFundsLink | |
| [0..*] | R_GrantSponsoredClassesLinkTP | _GrantSponsoredClassesLink | |
| [0..*] | R_GrantSponsoredProgramsLinkTP | _GrantSponsoredProgramsLink | |
| [0..*] | R_GrantBdgtValidityLinkTP | _GrantBdgtValidityLink | |
| [0..*] | R_GrantCostSharingLinkTP | _GrantCostSharingLink | |
| [0..*] | R_GrantOverHeadCostLinkTP | _GrantOverHeadCostLink | |
| [0..*] | R_GrantOverHeadCostCapLinkTP | _GrantOverHeadCostCapLink | |
| [0..*] | R_GrantObjOvrHeadCostCapLinkTP | _GrantObjOvrHeadCostCapLink | |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| EndUserText.label | Manage Grants in Core | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.sapObjectNodeType.name | Grant | view |
Fields (67)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | GrantID | I_Grant | GrantID | Sender Grant |
| CompanyCode | I_Grant | CompanyCode | Receiver Company Code | |
| GrantAuthznGrp | I_Grant | GrantAuthznGrp | Authorization Group | |
| ValidityStartDate | I_Grant | ValidityStartDate | Validity Start Date | |
| ValidityEndDate | I_Grant | ValidityEndDate | ValidTo | |
| GrantName | ||||
| GrantDescription | ||||
| GrantIsNotRelevantGrant | I_Grant | GrantIsNotRelevantGrant | ||
| 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 | |
| GranteeMgmtSponsor | I_Grant | GranteeMgmtSponsor | With Partner | |
| GrantLfcycStatusForAuthzn | I_Grant | GrantLfcycStatusForAuthzn | ||
| GrantType | I_Grant | GrantType | Grant Type | |
| 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 | |
| GteeMIndirectCostRateInPercent | I_Grant | GteeMIndirectCostRateInPercent | Indirect Costs % | |
| GrantLifecycleStatus | I_Grant | GrantLifecycleStatus | Status | |
| GrantStatusProfile | I_Grant | GrantStatusProfile | Status Profile | |
| GrantUserStatus | I_Grant | GrantUserStatus | User Status | |
| GrantStatus | I_Grant | GrantStatus | Workflow Status | |
| GranteeMgmtCostSharingRule | I_Grant | GranteeMgmtCostSharingRule | Cost Sharing Rule | |
| GteeMCostSharingOverallRate | I_Grant | GteeMCostSharingOverallRate | Cost Shar.Rate | |
| GranteeMgmtBillingRule | I_Grant | GranteeMgmtBillingRule | Billing Rule | |
| PreAwardPstgIsAllowedForGrant | I_Grant | PreAwardPstgIsAllowedForGrant | Pre-Award Postings | |
| GrantFiscalYearVariant | I_Grant | GrantFiscalYearVariant | Grant FY variant | |
| GteeMTimeSliceSplittingRule | I_Grant | GteeMTimeSliceSplittingRule | Split Rule | |
| GrantBlockedByWorkflow | I_Grant | GrantBlockedByWorkflow | Workflow Block | |
| CostCenter | I_Grant | CostCenter | Cost Center | |
| ControllingArea | I_Grant | ControllingArea | Controlling Area | |
| GrantValidityPeriod | ||||
| GrantResponsibleUser | I_Grant | GrantResponsibleUser | User Responsible | |
| GrantExternalReference | I_Grant | GrantExternalReference | External Reference | |
| GrantAssistanceListingNumber | I_Grant | GrantAssistanceListingNumber | Assist. List No. | |
| SalesOrder | I_Grant | SalesOrder | SD Document | |
| GrantAwardType | I_Grant | GrantAwardType | Award Type | |
| _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 | ||||
| _GrantResponsibility | I_Grant | _GrantResponsibility | ||
| _GrantType | I_Grant | _GrantType | ||
| _IndirectCostSharingRule | I_Grant | _IndirectCostSharingRule | ||
| _LastChangedByUser | I_Grant | _LastChangedByUser | ||
| _Sponsor | I_Grant | _Sponsor | ||
| _StatusProfile | I_Grant | _StatusProfile | ||
| _UserStatus | I_Grant | _UserStatus | ||
| _CostCenter | I_Grant | _CostCenter | ||
| _ControllingArea | I_Grant | _ControllingArea | ||
| _CurrentCostCenter | I_Grant | _CurrentCostCenter | ||
| _Text | _Text | |||
| _GrantFundsLink | _GrantFundsLink | |||
| _GrantSponsoredClassesLink | _GrantSponsoredClassesLink | |||
| _GrantSponsoredProgramsLink | _GrantSponsoredProgramsLink | |||
| _GrantBdgtValidityLink | _GrantBdgtValidityLink | |||
| _GrantCostSharingLink | _GrantCostSharingLink | |||
| _GrantOverHeadCostLink | _GrantOverHeadCostLink | |||
| _GrantOverHeadCostCapLink | _GrantOverHeadCostCapLink | |||
| _GrantObjOvrHeadCostCapLink | _GrantObjOvrHeadCostCapLink |
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_GrantCoreTP.
-- 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_GrantCoreTP AS
SELECT
iGrant.GrantID AS GrantID,
iGrant.CompanyCode AS CompanyCode,
iGrant.GrantAuthznGrp AS GrantAuthznGrp,
iGrant.ValidityStartDate AS ValidityStartDate,
iGrant.ValidityEndDate AS ValidityEndDate,
iGrant._Text[1:Language = $session.system_language].GrantName AS GrantName,
iGrant._Text[1:Language = $session.system_language].GrantDescription AS GrantDescription,
iGrant.GrantIsNotRelevantGrant AS GrantIsNotRelevantGrant,
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.GranteeMgmtSponsor AS GranteeMgmtSponsor,
iGrant.GrantLfcycStatusForAuthzn AS GrantLfcycStatusForAuthzn,
iGrant.GrantType AS GrantType,
iGrant.GrantIsBlockedForPosting AS GrantIsBlockedForPosting,
iGrant.GrantCurrency AS GrantCurrency,
iGrant.GrantTotalAmountInGrantCrcy AS GrantTotalAmountInGrantCrcy,
iGrant.GteeMIndrctCostShrngRule AS GteeMIndrctCostShrngRule,
iGrant.GteeMIndirectCostRateInPercent AS GteeMIndirectCostRateInPercent,
iGrant.GrantLifecycleStatus AS GrantLifecycleStatus,
iGrant.GrantStatusProfile AS GrantStatusProfile,
iGrant.GrantUserStatus AS GrantUserStatus,
iGrant.GrantStatus AS GrantStatus,
iGrant.GranteeMgmtCostSharingRule AS GranteeMgmtCostSharingRule,
iGrant.GteeMCostSharingOverallRate AS GteeMCostSharingOverallRate,
iGrant.GranteeMgmtBillingRule AS GranteeMgmtBillingRule,
iGrant.PreAwardPstgIsAllowedForGrant AS PreAwardPstgIsAllowedForGrant,
iGrant.GrantFiscalYearVariant AS GrantFiscalYearVariant,
iGrant.GteeMTimeSliceSplittingRule AS GteeMTimeSliceSplittingRule,
iGrant.GrantBlockedByWorkflow AS GrantBlockedByWorkflow,
iGrant.CostCenter AS CostCenter,
iGrant.ControllingArea AS ControllingArea,
cast( concat(ValidityStartDate, concat('-',ValidityEndDate)) as grantvalidityperiod ) AS GrantValidityPeriod,
iGrant.GrantResponsibleUser AS GrantResponsibleUser,
iGrant.GrantExternalReference AS GrantExternalReference,
iGrant.GrantAssistanceListingNumber AS GrantAssistanceListingNumber,
iGrant.SalesOrder AS SalesOrder,
iGrant.GrantAwardType AS GrantAwardType,
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._UserStatus AS _UserStatus,
iGrant._CostCenter AS _CostCenter,
iGrant._ControllingArea AS _ControllingArea,
iGrant._CurrentCostCenter AS _CurrentCostCenter
FROM I_Grant AS iGrant
LEFT OUTER JOIN R_GrantCoreTextTP AS _Text ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN R_GrantFundsLinkTP AS _GrantFundsLink ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN R_GrantSponsoredClassesLinkTP AS _GrantSponsoredClassesLink ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN R_GrantSponsoredProgramsLinkTP AS _GrantSponsoredProgramsLink ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN R_GrantBdgtValidityLinkTP AS _GrantBdgtValidityLink ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN R_GrantCostSharingLinkTP AS _GrantCostSharingLink ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN R_GrantOverHeadCostLinkTP AS _GrantOverHeadCostLink ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN R_GrantOverHeadCostCapLinkTP AS _GrantOverHeadCostCapLink ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN R_GrantObjOvrHeadCostCapLinkTP AS _GrantObjOvrHeadCostCapLink ON /* condition not available in parsed metadata */ -- association [0..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA