C_ARunDemandGroupRule

DDL: C_ARUNDEMANDGROUPRULE SQL: CARNDMNDGRPRL Type: view CONSUMPTION Package: ARUN_RULE

ARun Demand Grouping Rule

C_ARunDemandGroupRule is a Consumption CDS View that provides data about "ARun Demand Grouping Rule" in SAP S/4HANA. It reads from 1 data source (I_ARunDemandGroupRuleTP) and exposes 14 fields with key field ARunDemandGroupRuleUUID. It has 5 associations to related views. It is exposed through 1 OData service (UI_RFM_ARUN_DEMAND_GROUP). Part of development package ARUN_RULE.

Data Sources (1)

SourceAliasJoin Type
I_ARunDemandGroupRuleTP I_ARunDemandGroupRuleTP from

Associations (5)

CardinalityTargetAliasCondition
[0..1] I_User _LastChangedByUser $projection.LastChangedByUser = _LastChangedByUser.UserID
[0..1] I_User _CreatedByUser $projection.CreatedByUser = _CreatedByUser.UserID
[0..*] C_ARunDemandGroupAttrib _GroupAttrib $projection.ARunDemandGroupRuleUUID = _GroupAttrib.ARunDemandGroupRuleUUID
[0..*] C_ARunDemandGroupValues _GroupAttribVal $projection.ARunDemandGroupRuleUUID = _GroupAttribVal.ARunDemandGroupRuleUUID
[0..*] C_ARunDmndGrpRuleReltdARunRule _RelatedARunRules $projection.ARunDemandGroupRuleUUID = _RelatedARunRules.ARunDemandGroupRuleUUID

Annotations (23)

NameValueLevelField
AbapCatalog.sqlViewName CARNDMNDGRPRL view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
EndUserText.label ARun Demand Grouping Rule view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
ObjectModel.createEnabled EXTERNAL_CALCULATION view
ObjectModel.updateEnabled EXTERNAL_CALCULATION view
ObjectModel.deleteEnabled EXTERNAL_CALCULATION view
ObjectModel.draftEnabled true view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.compositionRoot true view
ObjectModel.representativeKey ARunDemandGroupRuleUUID view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
Search.searchable true view
UI.headerInfo.typeName Demand Grouping Rule view
UI.headerInfo.typeNamePlural Demand Grouping Rules view
UI.headerInfo.title.value ARunDemandGroupRule view
UI.headerInfo.description.value ARunDemandGroupRuleText view

OData Services (1)

ServiceBindingVersionContractRelease
UI_RFM_ARUN_DEMAND_GROUP UI_RFM_ARUN_DEMAND_GROUP V2 C1 NOT_RELEASED

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY ARunDemandGroupRuleUUID ARunDemandGroupRuleUUID ARun Group Rule UUID
ARunDemandGroupRule ARunDemandGroupRule Grouping Rule
ARunDemandGroupRuleText ARunDemandGroupRuleText Grouping Rule Description
CreatedByUser CreatedByUser Created By
CreatedByUserDescription _CreatedByUser UserDescription Created By User Description
CreationDateTime CreationDateTime Created On
LastChangedByUser LastChangedByUser Changed By
LastChangedByUserDescription _LastChangedByUser UserDescription Changed By User Description
LastChangeDateTime LastChangeDateTime Changed On
ARunIsRuleUsed ARunIsRuleUsed
_GroupRuleText _GroupRuleText
_GroupAttrib _GroupAttrib
_GroupAttribVal _GroupAttribVal
_RelatedARunRules _RelatedARunRules

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_ARunDemandGroupRule.
-- 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: CARNDMNDGRPRL

CREATE VIEW C_ARunDemandGroupRule AS
SELECT
  ARunDemandGroupRuleUUID,
  ARunDemandGroupRule,
  ARunDemandGroupRuleText,
  CreatedByUser,
  _CreatedByUser.UserDescription AS CreatedByUserDescription,
  CreationDateTime,
  LastChangedByUser,
  _LastChangedByUser.UserDescription AS LastChangedByUserDescription,
  LastChangeDateTime,
  ARunIsRuleUsed
FROM I_ARunDemandGroupRuleTP
LEFT OUTER JOIN I_User AS _LastChangedByUser ON LastChangedByUser = _LastChangedByUser.UserID  -- association [0..1]
LEFT OUTER JOIN I_User AS _CreatedByUser ON CreatedByUser = _CreatedByUser.UserID  -- association [0..1]
LEFT OUTER JOIN C_ARunDemandGroupAttrib AS _GroupAttrib ON ARunDemandGroupRuleUUID = _GroupAttrib.ARunDemandGroupRuleUUID  -- association [0..*]
LEFT OUTER JOIN C_ARunDemandGroupValues AS _GroupAttribVal ON ARunDemandGroupRuleUUID = _GroupAttribVal.ARunDemandGroupRuleUUID  -- association [0..*]
LEFT OUTER JOIN C_ARunDmndGrpRuleReltdARunRule AS _RelatedARunRules ON ARunDemandGroupRuleUUID = _RelatedARunRules.ARunDemandGroupRuleUUID  -- association [0..*]
;