I_ILMResRuleTP
Interface view entity for LRM_BS_RST_RULES
I_ILMResRuleTP is a CDS View that provides data about "Interface view entity for LRM_BS_RST_RULES" in SAP S/4HANA. It reads from 2 data sources (I_ILMResConditionFieldValueGP, R_ILMResRuleTP) and exposes 17 fields with key fields ILMObjectCategory, ILMObject, ILMPolicyCategory, ILMPolicyType, ILMPolicyOrigin. It has 2 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_ILMResConditionFieldValueGP | _I_ILMResCondGP | left_outer |
| R_ILMResRuleTP | R_ILMResRuleTP | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_ILMPolicySingletonHNRltn | _Single | $projection.SingletonID = _Single.SingletonID |
| [0..*] | I_ILMResConditionFieldValueTP | _I_ILMResConditionFieldValueTP | |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Interface view entity for LRM_BS_RST_RULES | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (17)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ILMObjectCategory | R_ILMResRuleTP | ILMObjectCategory | Object Category |
| KEY | ILMObject | R_ILMResRuleTP | ILMObject | Type |
| KEY | ILMPolicyCategory | R_ILMResRuleTP | ILMPolicyCategory | Policy Category |
| KEY | ILMPolicyType | R_ILMResRuleTP | ILMPolicyType | Audit Area |
| KEY | ILMPolicyOrigin | R_ILMResRuleTP | ILMPolicyOrigin | Policy Name |
| KEY | ILMRuleNumber | R_ILMResRuleTP | ILMRuleNumber | Rule Number |
| ILMRulePriority | R_ILMResRuleTP | ILMRulePriority | Rule Priority | |
| ILMRuleInherit | R_ILMResRuleTP | ILMRuleInherit | Inheriting Possible | |
| ILMResidencePeriod | R_ILMResRuleTP | ILMResidencePeriod | Residence Time | |
| char12endasResidencePeriodChar | ||||
| ILMResidencePeriodUnit | R_ILMResRuleTP | ILMResidencePeriodUnit | IRM Constant | |
| ILMTimeReference | R_ILMResRuleTP | ILMTimeReference | IRM Constant | |
| ILMTimeOffset | R_ILMResRuleTP | ILMTimeOffset | IRM Constant | |
| SingletonID | 1 | |||
| _Single | _Single | |||
| _I_ILMResPolicyTP | _I_ILMResPolicyTP | |||
| _I_ILMResConditionFieldValueTP | _I_ILMResConditionFieldValueTP |
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_ILMResRuleTP.
-- 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.
CREATE VIEW I_ILMResRuleTP AS
SELECT
R_ILMResRuleTP.ILMObjectCategory AS ILMObjectCategory,
R_ILMResRuleTP.ILMObject AS ILMObject,
R_ILMResRuleTP.ILMPolicyCategory AS ILMPolicyCategory,
R_ILMResRuleTP.ILMPolicyType AS ILMPolicyType,
R_ILMResRuleTP.ILMPolicyOrigin AS ILMPolicyOrigin,
R_ILMResRuleTP.ILMRuleNumber AS ILMRuleNumber,
R_ILMResRuleTP.ILMRulePriority AS ILMRulePriority,
R_ILMResRuleTP.ILMRuleInherit AS ILMRuleInherit,
R_ILMResRuleTP.ILMResidencePeriod AS ILMResidencePeriod,
case R_ILMResRuleTP.ILMResidencePeriod when -1 then cast( ' ' as abap.char( 12 ) ) else cast( R_ILMResRuleTP.ILMResidencePeriod as abap.char( 12 ) ) end as ResidencePeriodChar AS char12endasResidencePeriodChar,
R_ILMResRuleTP.ILMResidencePeriodUnit AS ILMResidencePeriodUnit,
R_ILMResRuleTP.ILMTimeReference AS ILMTimeReference,
R_ILMResRuleTP.ILMTimeOffset AS ILMTimeOffset,
1 AS SingletonID
FROM R_ILMResRuleTP
LEFT OUTER JOIN I_ILMResConditionFieldValueGP AS _I_ILMResCondGP ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ILMPolicySingletonHNRltn AS _Single ON SingletonID = _Single.SingletonID -- association [1..1]
LEFT OUTER JOIN I_ILMResConditionFieldValueTP AS _I_ILMResConditionFieldValueTP ON /* condition not available in parsed metadata */ -- association [0..*]
;
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