R_ILMResRuleTP

DDL: R_ILMRESRULETP Type: view_entity BASIC Package: S_ILM_POL_ODATA

Basic view for LRM_BS_RST_RULES

R_ILMResRuleTP is a Basic CDS View that provides data about "Basic view for LRM_BS_RST_RULES" in SAP S/4HANA. It reads from 1 data source (lrm_bs_rst_rules) and exposes 12 fields with key fields ILMObjectCategory, ILMObject, ILMPolicyCategory, ILMPolicyType, ILMPolicyOrigin. Part of development package S_ILM_POL_ODATA.

Data Sources (1)

SourceAliasJoin Type
lrm_bs_rst_rules lrm_bs_rst_rules from

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Basic view 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
VDM.viewType #BASIC view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY ILMObjectCategory Object Category
KEY ILMObject object_type Type
KEY ILMPolicyCategory policy_category Policy Category
KEY ILMPolicyType policy_type Audit Area
KEY ILMPolicyOrigin policy_origin Policy Name
KEY ILMRuleNumber rule_identifier Rule Number
ILMRulePriority rule_priority Rule Priority
ILMRuleInherit rule_inheriting Inheriting Possible
ILMResidencePeriod residence_time Residence Time
ILMResidencePeriodUnit IRM Constant
ILMTimeReference IRM Constant
ILMTimeOffset IRM Constant

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 R_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 R_ILMResRuleTP AS
SELECT
  cast( object_category as lrm_object_category preserving type ) AS ILMObjectCategory,
  object_type AS ILMObject,
  policy_category AS ILMPolicyCategory,
  policy_type AS ILMPolicyType,
  policy_origin AS ILMPolicyOrigin,
  rule_identifier AS ILMRuleNumber,
  rule_priority AS ILMRulePriority,
  rule_inheriting AS ILMRuleInherit,
  residence_time AS ILMResidencePeriod,
  cast( rst_time_unit as lrm_constant_value preserving type ) AS ILMResidencePeriodUnit,
  cast( starttime_type as lrm_constant_value preserving type ) AS ILMTimeReference,
  cast( time_offset as lrm_constant_value preserving type ) AS ILMTimeOffset
FROM lrm_bs_rst_rules
;