I_GteeMLifeCycleStatusCube

DDL: I_GTEEMLIFECYCLESTATUSCUBE SQL: IGMLIFECYLSTSCBE Type: view COMPOSITE

Grant Life Cycle Status Changes - Cube

I_GteeMLifeCycleStatusCube (Composite)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Cross Applications

I_GteeMLifeCycleStatusCube is a Composite CDS View (Cube) that provides data about "Grant Life Cycle Status Changes - Cube" in SAP S/4HANA. It reads from 1 data source (I_Grant) and exposes 14 fields with key fields GrantID, CreationDate, CreationTime, GrantLifecycleStatus, ChangeDocPreviousFieldValue. It has 3 associations to related views.

SAP API Hub

StateC1
Line of BusinessCross Applications
Application ComponentPSM-GM-GTE-MD
CapabilitiesData Provider for Analytical Queries
PackageCross Applications for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
I_Grant I_Grant from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_GrantStatus _GrantStatus $projection.GrantLifecycleStatus = _GrantStatus.SystemStatus
[0..1] I_GrantStatus _GrantChangeDocStatus $projection.ChangeDocNewFieldValue = _GrantChangeDocStatus.SystemStatus
[0..1] I_GrantStatus _GrantChangeDocPreviousStatus $projection.ChangeDocPreviousFieldValue = _GrantChangeDocPreviousStatus.SystemStatus

Annotations (18)

NameValueLevelField
AbapCatalog.sqlViewName IGMLIFECYLSTSCBE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.personalData.blocking #REQUIRED view
AbapCatalog.buffering.status #NOT_ALLOWED view
VDM.viewType #COMPOSITE view
Analytics.dataCategory #CUBE view
Analytics.internalName #LOCAL view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.modelingPattern #ANALYTICAL_CUBE view
EndUserText.label Grant Life Cycle Status Changes - Cube view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY GrantID Grant GrantID Sender Grant
KEY CreationDate Creation Date of Change Document
KEY CreationTime Time of Change
KEY GrantLifecycleStatus Grant GrantLifecycleStatus Lifecycle Status
KEY ChangeDocPreviousFieldValue GrantLifeCycleStatus ChangeDocPreviousFieldValue Old Content of Changed Field
GrantAuthznGrp Grant GrantAuthznGrp Grants Management: Authorization Groups
GrantIsNotRelevantGrant Grant GrantIsNotRelevantGrant Identify the Not Relevant Grant
NumberOfGteeMMasterDataRecords 1 Number of Records
FiscalYearVariant Fiscal Year Variant
GranteeMgmtSponsor Grant GranteeMgmtSponsor Grant Sponsor
_Sponsor Grant _Sponsor
_GrantStatus _GrantStatus
_GrantChangeDocStatus _GrantChangeDocStatus
_GrantChangeDocPreviousStatus _GrantChangeDocPreviousStatus

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_GteeMLifeCycleStatusCube.
-- 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: IGMLIFECYLSTSCBE

CREATE VIEW I_GteeMLifeCycleStatusCube AS
SELECT
  Grant.GrantID AS GrantID,
  case when GrantLifeCycleStatus.CreationDate is null then Grant.CreationDate when GrantLifeCycleStatus.ChangeDocNewFieldValue = 'I5613' then Grant.CreationDate else GrantLifeCycleStatus.CreationDate end AS CreationDate,
  case when GrantLifeCycleStatus.CreationTime is null then Grant.CreationTime when GrantLifeCycleStatus.ChangeDocNewFieldValue = 'I5613' then Grant.CreationTime else GrantLifeCycleStatus.CreationTime end AS CreationTime,
  Grant.GrantLifecycleStatus AS GrantLifecycleStatus,
  GrantLifeCycleStatus.ChangeDocPreviousFieldValue AS ChangeDocPreviousFieldValue,
  Grant.GrantAuthznGrp AS GrantAuthznGrp,
  Grant.GrantIsNotRelevantGrant AS GrantIsNotRelevantGrant,
  1 AS NumberOfGteeMMasterDataRecords,
  Grant._CompanyCode.FiscalYearVariant AS FiscalYearVariant,
  Grant.GranteeMgmtSponsor AS GranteeMgmtSponsor,
  Grant._Sponsor AS _Sponsor
FROM I_Grant
LEFT OUTER JOIN I_GrantStatus AS _GrantStatus ON GrantLifecycleStatus = _GrantStatus.SystemStatus  -- association [0..1]
LEFT OUTER JOIN I_GrantStatus AS _GrantChangeDocStatus ON ChangeDocNewFieldValue = _GrantChangeDocStatus.SystemStatus  -- association [0..1]
LEFT OUTER JOIN I_GrantStatus AS _GrantChangeDocPreviousStatus ON ChangeDocPreviousFieldValue = _GrantChangeDocPreviousStatus.SystemStatus  -- association [0..1]
;