C_ARunDemandGroupRule
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)
| Source | Alias | Join Type |
|---|---|---|
| I_ARunDemandGroupRuleTP | I_ARunDemandGroupRuleTP | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| UI_RFM_ARUN_DEMAND_GROUP | UI_RFM_ARUN_DEMAND_GROUP | V2 | C1 | NOT_RELEASED |
Fields (14)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- 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