I_PubSecGrantOverview
Grant Master data for Monitor Grants
I_PubSecGrantOverview is a Composite CDS View that provides data about "Grant Master data for Monitor Grants" in SAP S/4HANA. It reads from 1 data source (I_Grant) and exposes 22 fields with key field GrantID. Part of development package ODATA_PSM_S4C_GM_REPORTING.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_Grant | I_Grant | from |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| EndUserText.label | Grant Master data for Monitor Grants | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | GrantID | GrantID | Sender Grant | |
| GrantName | ||||
| ValidityStartDate | ValidityStartDate | Validity Start Date | ||
| ValidityEndDate | ValidityEndDate | ValidTo | ||
| GranteeMgmtSponsor | GranteeMgmtSponsor | With Partner | ||
| BusinessPartnerName | _Sponsor | BusinessPartnerName | Extracted Customer Name | |
| GrantType | GrantType | Grant Type | ||
| GrantTypeDescription | ||||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| GrantLifecycleStatus | GrantLifecycleStatus | Status | ||
| GrantStatus | GrantStatus | Workflow Status | ||
| GrantStatusName | _GrantStatus | GrantStatusName | ||
| GrantIsNotRelevantGrant | GrantIsNotRelevantGrant | |||
| GrantAuthznGrp | GrantAuthznGrp | Authorization Group | ||
| GrantLfcycStatusForAuthzn | GrantLfcycStatusForAuthzn | |||
| GrantFiscalYearVariant | GrantFiscalYearVariant | Grant FY variant | ||
| GrantBlockedByWorkflow | ||||
| NumberOfGteeMMasterDataRecords | ||||
| int4endasNumberOfRecords | ||||
| _Sponsor | _Sponsor | |||
| _GrantType | _GrantType | |||
| _GrantStatus | _GrantStatus |
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_PubSecGrantOverview.
-- 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 I_PubSecGrantOverview AS
SELECT
GrantID,
_Text[1:Language = $session.system_language].GrantName AS GrantName,
ValidityStartDate,
ValidityEndDate,
GranteeMgmtSponsor,
_Sponsor.BusinessPartnerName AS BusinessPartnerName,
GrantType,
_GrantType._GrantTypeText[1:Language = $session.system_language].GrantTypeDescription AS GrantTypeDescription,
CompanyCode,
GrantLifecycleStatus,
GrantStatus,
_GrantStatus.GrantStatusName AS GrantStatusName,
GrantIsNotRelevantGrant,
GrantAuthznGrp,
GrantLfcycStatusForAuthzn,
GrantFiscalYearVariant,
cast( 'X' as boole_d ) AS GrantBlockedByWorkflow,
cast( 1 as abap.int4 ) AS NumberOfGteeMMasterDataRecords,
case when GrantBlockedByWorkflow = '1' then cast( 1 as abap.int4 ) else cast( 0 as abap.int4 ) end as NumberOfRecords AS int4endasNumberOfRecords
FROM I_Grant
;
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