C_GrantGroup_Objp
Consumption view for Grant Group
C_GrantGroup_Objp is a Consumption CDS View that provides data about "Consumption view for Grant Group" in SAP S/4HANA. It reads from 1 data source (I_SetHeader) and exposes 11 fields with key fields SetClass, SetSubClass, GrantGroup. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SetHeader | I_SetHeader | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | C_ChildGrantGroup | _Child | $projection.SetClass = _Child.SetClass and $projection.SetSubClass = _Child.SetSubClass and $projection.GrantGroup = _Child.SetID |
| [0..*] | C_ParentGrantGroup | _Parent | $projection.SetClass = _Parent.ChildSetClass and $projection.SetSubClass = _Parent.ChildSetSubClass and $projection.GrantGroup = _Parent.ChildSetID |
| [0..*] | C_SetLeafForGrantGrp | _Grant | $projection.SetClass = _Grant.SetClass and $projection.GrantGroup = _Grant.SetID and $projection.SetSubClass = _Grant.SetSubClass |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CGRANTGRP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| EndUserText.label | Consumption view for Grant Group | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| VDM.viewType | #CONSUMPTION | view | |
| UI.headerInfo.typeName | Grant Group | view | |
| UI.headerInfo.typeNamePlural | Grant Groups | view | |
| UI.headerInfo.title.value | GrantGroup | view | |
| UI.headerInfo.description.value | SetDescription | view |
Fields (11)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SetClass | I_SetHeader | SetClass | Set Class |
| KEY | SetSubClass | I_SetHeader | SetSubClass | Subclass |
| KEY | GrantGroup | I_SetHeader | SetID | Grant Group |
| CreatedByUser | I_SetHeader | CreatedByUser | Created By | |
| CreationDate | I_SetHeader | CreationDate | Created On | |
| CreationTime | I_SetHeader | CreationTime | Time of Change | |
| SetType | I_SetHeader | SetType | Set Type | |
| SetDescription | Grant Group Description | |||
| _Child | _Child | |||
| _Parent | _Parent | |||
| _Grant | _Grant |
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 C_GrantGroup_Objp.
-- 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: CGRANTGRP
CREATE VIEW C_GrantGroup_Objp AS
SELECT
I_SetHeader.SetClass AS SetClass,
I_SetHeader.SetSubClass AS SetSubClass,
I_SetHeader.SetID AS GrantGroup,
I_SetHeader.CreatedByUser AS CreatedByUser,
I_SetHeader.CreationDate AS CreationDate,
I_SetHeader.CreationTime AS CreationTime,
I_SetHeader.SetType AS SetType,
I_SetHeader._SetHeaderText[1:Language=$session.system_language].SetDescription AS SetDescription
FROM I_SetHeader
LEFT OUTER JOIN C_ChildGrantGroup AS _Child ON SetClass = _Child.SetClass AND SetSubClass = _Child.SetSubClass AND GrantGroup = _Child.SetID -- association [0..*]
LEFT OUTER JOIN C_ParentGrantGroup AS _Parent ON SetClass = _Parent.ChildSetClass AND SetSubClass = _Parent.ChildSetSubClass AND GrantGroup = _Parent.ChildSetID -- association [0..*]
LEFT OUTER JOIN C_SetLeafForGrantGrp AS _Grant ON SetClass = _Grant.SetClass AND GrantGroup = _Grant.SetID AND SetSubClass = _Grant.SetSubClass -- 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