C_GrantGroup_Objp

DDL: C_GRANTGROUP_OBJP SQL: CGRANTGRP Type: view CONSUMPTION

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)

SourceAliasJoin Type
I_SetHeader I_SetHeader from

Associations (3)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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..*]
;