I_ChangeRecordRelatedChangeTP
Related Change Record TP View
I_ChangeRecordRelatedChangeTP is a Transactional CDS View that provides data about "Related Change Record TP View" in SAP S/4HANA. It reads from 2 data sources (I_ChgRecordRelatedChangeBasic, I_ChangeRecordBsc) and exposes 19 fields with key field ChangeRecordReferenceUUID. It has 1 association to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_ChgRecordRelatedChangeBasic | current_cr | from |
| I_ChangeRecordBsc | related_cr | left_outer |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_ChangeRecordDraftTP | _ChangeRecord | $projection.ChangeRecordUUID = _ChangeRecord.ChangeRecordUUID |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| ObjectModel.writeDraftPersistence | PLMCRRELCH_D | view | |
| EndUserText.label | Related Change Record TP View | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (19)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ChangeRecordReferenceUUID | I_ChgRecordRelatedChangeBasic | ChangeRecordReferenceUUID | UUID |
| ChangeRecordType | I_ChgRecordRelatedChangeBasic | ChangeRecordType | Record Type | |
| RelatedChangeRecord | ||||
| ChgRecdRlvnceIsRvsLinkd | ||||
| ChangeRecordUUID | I_ChgRecordRelatedChangeBasic | ChangeRecordUUID | NodeID | |
| ChangeRecordReferenceType | I_ChgRecordRelatedChangeBasic | ChangeRecordReferenceType | Object Type | |
| ChangeRecordReferenceSubtype | I_ChgRecordRelatedChangeBasic | ChangeRecordReferenceSubtype | Subtype | |
| ChangeRecordReference | I_ChgRecordRelatedChangeBasic | ChangeRecordReference | Ref. Object ID | |
| ParentChangeRecordRefUUID | I_ChgRecordRelatedChangeBasic | ParentChangeRecordRefUUID | Node ID | |
| CreatedByUser | I_ChgRecordRelatedChangeBasic | CreatedByUser | User Name | |
| CreationDateTime | I_ChgRecordRelatedChangeBasic | CreationDateTime | Timestamp | |
| LastChangedByUser | I_ChgRecordRelatedChangeBasic | LastChangedByUser | User Name | |
| LastChangeDateTime | I_ChgRecordRelatedChangeBasic | LastChangeDateTime | Timestamp | |
| ChangeRecordItemRelevance | I_ChgRecordRelatedChangeBasic | ChangeRecordItemRelevance | Relevance | |
| ChangeRecordVirtualRefInd | I_ChgRecordRelatedChangeBasic | ChangeRecordVirtualRefInd | Virtual Reference | |
| RelatedChgRecordDescriptionTxt | I_ChangeRecordBsc | ChgRecordDescriptionText | ||
| ChangeRecordStatus | I_ChangeRecordBsc | ChangeRecordStatus | ||
| RelatedChangeRecordUUID | I_ChangeRecordBsc | ChangeRecordUUID | NodeID | |
| _ChangeRecord | _ChangeRecord |
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_ChangeRecordRelatedChangeTP.
-- 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_ChangeRecordRelatedChangeTP AS
SELECT
current_cr.ChangeRecordReferenceUUID AS ChangeRecordReferenceUUID,
current_cr.ChangeRecordType AS ChangeRecordType,
cast(current_cr.ChgRecRefInternalKey1 as /plmb/cr_id) AS RelatedChangeRecord,
cast(current_cr.ChgRecRefInternalKey2 as boolean) AS ChgRecdRlvnceIsRvsLinkd,
current_cr.ChangeRecordUUID AS ChangeRecordUUID,
current_cr.ChangeRecordReferenceType AS ChangeRecordReferenceType,
current_cr.ChangeRecordReferenceSubtype AS ChangeRecordReferenceSubtype,
current_cr.ChangeRecordReference AS ChangeRecordReference,
current_cr.ParentChangeRecordRefUUID AS ParentChangeRecordRefUUID,
current_cr.CreatedByUser AS CreatedByUser,
current_cr.CreationDateTime AS CreationDateTime,
current_cr.LastChangedByUser AS LastChangedByUser,
current_cr.LastChangeDateTime AS LastChangeDateTime,
current_cr.ChangeRecordItemRelevance AS ChangeRecordItemRelevance,
current_cr.ChangeRecordVirtualRefInd AS ChangeRecordVirtualRefInd,
related_cr.ChgRecordDescriptionText AS RelatedChgRecordDescriptionTxt,
related_cr.ChangeRecordStatus AS ChangeRecordStatus,
related_cr.ChangeRecordUUID AS RelatedChangeRecordUUID
FROM I_ChgRecordRelatedChangeBasic AS current_cr
LEFT OUTER JOIN I_ChangeRecordBsc AS related_cr ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ChangeRecordDraftTP AS _ChangeRecord ON ChangeRecordUUID = _ChangeRecord.ChangeRecordUUID -- association [1..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- 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