I_ILMRetPolicyTP
Interface view entity for LRM_T_OT_POL_ORI Retention Policy
I_ILMRetPolicyTP is a CDS View that provides data about "Interface view entity for LRM_T_OT_POL_ORI Retention Policy" in SAP S/4HANA. It reads from 1 data source (R_ILMPolicyTP) and exposes 16 fields with key fields ILMObjectCategory, ILMObject, ILMPolicyCategory, ILMPolicyType, ILMPolicyOrigin. It has 4 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_ILMPolicyTP | R_ILMPolicyTP | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_ILMPolicySingletonHNRltn | _Single | $projection.SingletonID = _Single.SingletonID |
| [0..*] | I_ILMPolicyStatusT | _ILMPolicyStatusDesc | $projection.ILMPolicyStatus = _ILMPolicyStatusDesc.DomainValue |
| [0..*] | I_ILMRetConditionFieldTP | _I_ILMRetConditionFieldTP | |
| [0..*] | I_ILMRetRuleTP | _I_ILMRetRuleTP | |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Interface view entity for LRM_T_OT_POL_ORI Retention Policy | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (16)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ILMObjectCategory | ILMObjectCategory | Object Category | |
| KEY | ILMObject | ILMObject | Type | |
| KEY | ILMPolicyCategory | ILMPolicyCategory | Policy Category | |
| KEY | ILMPolicyType | ILMPolicyType | Audit Area | |
| KEY | ILMPolicyOrigin | ILMPolicyOrigin | Policy Name | |
| ILMPolicyStatus | ILMPolicyStatus | Policy Status | ||
| _ILMPolicyStatusDesc | _ILMPolicyStatusDesc | |||
| ChangedByUserName | ChangedByUserName | User Name | ||
| ChangedOnDateTime | ChangedOnDateTime | Last Changed At | ||
| clientNULLasLastChangedAt | ||||
| ILMPolicyComment | ILMPolicyComment | User Notes | ||
| SingletonID | 1 | |||
| _Single | _Single | |||
| _I_ILMAudObjAssgmtTP | _I_ILMAudObjAssgmtTP | |||
| _I_ILMRetConditionFieldTP | _I_ILMRetConditionFieldTP | |||
| _I_ILMRetRuleTP | _I_ILMRetRuleTP |
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_ILMRetPolicyTP.
-- 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_ILMRetPolicyTP AS
SELECT
ILMObjectCategory,
ILMObject,
ILMPolicyCategory,
ILMPolicyType,
ILMPolicyOrigin,
ILMPolicyStatus,
ChangedByUserName,
ChangedOnDateTime,
tstmp_to_dats( ChangedOnDateTime, abap_system_timezone( $session.client,'NULL' ), $session.client,'NULL' ) as LastChangedAt AS clientNULLasLastChangedAt,
ILMPolicyComment,
1 AS SingletonID
FROM R_ILMPolicyTP
LEFT OUTER JOIN I_ILMPolicySingletonHNRltn AS _Single ON SingletonID = _Single.SingletonID -- association [1..1]
LEFT OUTER JOIN I_ILMPolicyStatusT AS _ILMPolicyStatusDesc ON ILMPolicyStatus = _ILMPolicyStatusDesc.DomainValue -- association [0..*]
LEFT OUTER JOIN I_ILMRetConditionFieldTP AS _I_ILMRetConditionFieldTP ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN I_ILMRetRuleTP AS _I_ILMRetRuleTP 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