R_GrantTP
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)
| Source | Alias | Join Type |
|---|---|---|
| I_Grant | iGrant | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | E_Grant | _Extension | $projection.GrantID = _Extension.GrantID |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
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