I_IlmRuleGroup
Interface view for ILM Rule Groups
I_IlmRuleGroup is a CDS View that provides data about "Interface view for ILM Rule Groups" in SAP S/4HANA. It reads from 2 data sources (lrm_t_oc_rg, lrm_t_oc_rg_t) and exposes 13 fields with key field rule_group. It has 9 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| lrm_t_oc_rg | lrm_t_oc_rg | from |
| lrm_t_oc_rg_t | lrm_t_oc_rg_t | left_outer |
Associations (9)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_IlmRuleGroupField | _IlmRuleGrpFldRetMin | _IlmRuleGrpFldRetMin.object_category = $projection.object_category and _IlmRuleGrpFldRetMin.policy_category = $projection.policy_category and _IlmRuleGrpFldRetMin.rule_group = $projection.rule_group and _IlmRuleGrpFldRetMin.field_name = 'RET_PERIOD_MIN' |
| [1..1] | I_IlmRuleGroupField | _IlmRuleGrpFldRetMax | _IlmRuleGrpFldRetMax.object_category = $projection.object_category and _IlmRuleGrpFldRetMax.policy_category = $projection.policy_category and _IlmRuleGrpFldRetMax.rule_group = $projection.rule_group and _IlmRuleGrpFldRetMax.field_name = 'RET_PERIOD_MAX' |
| [1..1] | I_IlmRuleGroupField | _IlmRuleGrpFldResidence | _IlmRuleGrpFldResidence.object_category = $projection.object_category and _IlmRuleGrpFldResidence.policy_category = $projection.policy_category and _IlmRuleGrpFldResidence.rule_group = $projection.rule_group and _IlmRuleGrpFldResidence.field_name = 'RESIDENCE_TIME' |
| [1..1] | I_IlmRuleGroupField | _IlmRuleGrpFldRetUnit | _IlmRuleGrpFldRetUnit.object_category = $projection.object_category and _IlmRuleGrpFldRetUnit.policy_category = $projection.policy_category and _IlmRuleGrpFldRetUnit.rule_group = $projection.rule_group and _IlmRuleGrpFldRetUnit.field_name = 'RET_PER_UNIT' |
| [1..1] | I_IlmRuleGroupField | _IlmRuleGrpFldResUnit | _IlmRuleGrpFldResUnit.object_category = $projection.object_category and _IlmRuleGrpFldResUnit.policy_category = $projection.policy_category and _IlmRuleGrpFldResUnit.rule_group = $projection.rule_group and _IlmRuleGrpFldResUnit.field_name = 'RST_TIME_UNIT' |
| [1..1] | I_IlmRuleGroupField | _IlmRuleGrpFldTimeRef | _IlmRuleGrpFldTimeRef.object_category = $projection.object_category and _IlmRuleGrpFldTimeRef.policy_category = $projection.policy_category and _IlmRuleGrpFldTimeRef.rule_group = $projection.rule_group and _IlmRuleGrpFldTimeRef.field_name = 'STARTTIME_TYPE' |
| [1..1] | I_IlmRuleGroupField | _IlmRuleGrpFldTimeOff | _IlmRuleGrpFldTimeOff.object_category = $projection.object_category and _IlmRuleGrpFldTimeOff.policy_category = $projection.policy_category and _IlmRuleGrpFldTimeOff.rule_group = $projection.rule_group and _IlmRuleGrpFldTimeOff.field_name = 'TIME_OFFSET' |
| [1..1] | I_IlmRuleGroupField | _IlmRuleGrpFldAuthGrp | _IlmRuleGrpFldAuthGrp.object_category = $projection.object_category and _IlmRuleGrpFldAuthGrp.policy_category = $projection.policy_category and _IlmRuleGrpFldAuthGrp.rule_group = $projection.rule_group and _IlmRuleGrpFldAuthGrp.field_name = 'AUTH_GROUP' |
| [1..1] | I_IlmRuleGroupField | _IlmRuleGrpFldArchStore | _IlmRuleGrpFldArchStore.object_category = $projection.object_category and _IlmRuleGrpFldArchStore.policy_category = $projection.policy_category and _IlmRuleGrpFldArchStore.rule_group = $projection.rule_group and _IlmRuleGrpFldArchStore.field_name = 'ARCHIVE_STORE' |
Annotations (4)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IILMRULEGROUP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Interface view for ILM Rule Groups | view |
Fields (13)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | rule_group | RuleGroups | rule_group | Rule Group |
| spras | RuleGroupsDesc | spras | Off. Language | |
| rule_group_t | RuleGroupsDesc | rule_group_t | Description | |
| object_group | object_group | Object Group | ||
| _IlmRuleGrpFldRetMin | _IlmRuleGrpFldRetMin | |||
| _IlmRuleGrpFldRetMax | _IlmRuleGrpFldRetMax | |||
| _IlmRuleGrpFldResidence | _IlmRuleGrpFldResidence | |||
| _IlmRuleGrpFldRetUnit | _IlmRuleGrpFldRetUnit | |||
| _IlmRuleGrpFldResUnit | _IlmRuleGrpFldResUnit | |||
| _IlmRuleGrpFldTimeRef | _IlmRuleGrpFldTimeRef | |||
| _IlmRuleGrpFldTimeOff | _IlmRuleGrpFldTimeOff | |||
| _IlmRuleGrpFldAuthGrp | _IlmRuleGrpFldAuthGrp | |||
| _IlmRuleGrpFldArchStore | _IlmRuleGrpFldArchStore |
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_IlmRuleGroup.
-- 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: IILMRULEGROUP
CREATE VIEW I_IlmRuleGroup AS
SELECT
RuleGroups.rule_group AS rule_group,
RuleGroupsDesc.spras AS spras,
RuleGroupsDesc.rule_group_t AS rule_group_t,
object_group
FROM lrm_t_oc_rg
LEFT OUTER JOIN lrm_t_oc_rg_t ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_IlmRuleGroupField AS _IlmRuleGrpFldRetMin ON _IlmRuleGrpFldRetMin.object_category = object_category AND _IlmRuleGrpFldRetMin.policy_category = policy_category AND _IlmRuleGrpFldRetMin.rule_group = rule_group AND _IlmRuleGrpFldRetMin.field_name = 'RET_PERIOD_MIN' -- association [1..1]
LEFT OUTER JOIN I_IlmRuleGroupField AS _IlmRuleGrpFldRetMax ON _IlmRuleGrpFldRetMax.object_category = object_category AND _IlmRuleGrpFldRetMax.policy_category = policy_category AND _IlmRuleGrpFldRetMax.rule_group = rule_group AND _IlmRuleGrpFldRetMax.field_name = 'RET_PERIOD_MAX' -- association [1..1]
LEFT OUTER JOIN I_IlmRuleGroupField AS _IlmRuleGrpFldResidence ON _IlmRuleGrpFldResidence.object_category = object_category AND _IlmRuleGrpFldResidence.policy_category = policy_category AND _IlmRuleGrpFldResidence.rule_group = rule_group AND _IlmRuleGrpFldResidence.field_name = 'RESIDENCE_TIME' -- association [1..1]
LEFT OUTER JOIN I_IlmRuleGroupField AS _IlmRuleGrpFldRetUnit ON _IlmRuleGrpFldRetUnit.object_category = object_category AND _IlmRuleGrpFldRetUnit.policy_category = policy_category AND _IlmRuleGrpFldRetUnit.rule_group = rule_group AND _IlmRuleGrpFldRetUnit.field_name = 'RET_PER_UNIT' -- association [1..1]
LEFT OUTER JOIN I_IlmRuleGroupField AS _IlmRuleGrpFldResUnit ON _IlmRuleGrpFldResUnit.object_category = object_category AND _IlmRuleGrpFldResUnit.policy_category = policy_category AND _IlmRuleGrpFldResUnit.rule_group = rule_group AND _IlmRuleGrpFldResUnit.field_name = 'RST_TIME_UNIT' -- association [1..1]
LEFT OUTER JOIN I_IlmRuleGroupField AS _IlmRuleGrpFldTimeRef ON _IlmRuleGrpFldTimeRef.object_category = object_category AND _IlmRuleGrpFldTimeRef.policy_category = policy_category AND _IlmRuleGrpFldTimeRef.rule_group = rule_group AND _IlmRuleGrpFldTimeRef.field_name = 'STARTTIME_TYPE' -- association [1..1]
LEFT OUTER JOIN I_IlmRuleGroupField AS _IlmRuleGrpFldTimeOff ON _IlmRuleGrpFldTimeOff.object_category = object_category AND _IlmRuleGrpFldTimeOff.policy_category = policy_category AND _IlmRuleGrpFldTimeOff.rule_group = rule_group AND _IlmRuleGrpFldTimeOff.field_name = 'TIME_OFFSET' -- association [1..1]
LEFT OUTER JOIN I_IlmRuleGroupField AS _IlmRuleGrpFldAuthGrp ON _IlmRuleGrpFldAuthGrp.object_category = object_category AND _IlmRuleGrpFldAuthGrp.policy_category = policy_category AND _IlmRuleGrpFldAuthGrp.rule_group = rule_group AND _IlmRuleGrpFldAuthGrp.field_name = 'AUTH_GROUP' -- association [1..1]
LEFT OUTER JOIN I_IlmRuleGroupField AS _IlmRuleGrpFldArchStore ON _IlmRuleGrpFldArchStore.object_category = object_category AND _IlmRuleGrpFldArchStore.policy_category = policy_category AND _IlmRuleGrpFldArchStore.rule_group = rule_group AND _IlmRuleGrpFldArchStore.field_name = 'ARCHIVE_STORE' -- association [1..1]
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- 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