I_ChgRecdRefMatBsc
Change Record Reference Object Material
I_ChgRecdRefMatBsc is a Basic CDS View that provides data about "Change Record Reference Object Material" in SAP S/4HANA. It reads from 2 data sources (/iam/d_i_obj_ref, /iam/d_i_root) and exposes 28 fields with key field ChangeRecordReferenceUUID. It has 1 association to related views. Part of development package VDM_PLMB_CR.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| /iam/d_i_obj_ref | reference | from |
| /iam/d_i_root | root | inner |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_ChangeRecordBsc | _ChangeRecordBsc | $projection.ChangeRecordUUID = _ChangeRecordBsc.ChangeRecordUUID |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ICHGRECDREFMATB | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #BASIC | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| EndUserText.label | Change Record Reference Object Material | view |
Fields (28)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ChangeRecordReferenceUUID | /iam/d_i_obj_ref | db_key | UUID |
| ChangeRecordUUID | /iam/d_i_obj_ref | parent_key | UUID | |
| ChangeRecord | /iam/d_i_root | issue_id | Issue ID | |
| ChangeRecordType | /iam/d_i_root | issue_type | Issue Type | |
| ChangeRecordReferenceType | /iam/d_i_obj_ref | type_cd | Usage Type | |
| ChangeRecordReferenceSubtype | /iam/d_i_obj_ref | subtype_cd | Subtype | |
| ChangeRecordReference | /iam/d_i_obj_ref | id | WorklistID | |
| ParentChangeRecordRefUUID | /iam/d_i_obj_ref | par_objref_uuid | Node ID | |
| IsMainReference | /iam/d_i_obj_ref | main_ref_ind | Main Reference | |
| CreatedByUser | /iam/d_i_obj_ref | created_by | Version Created By | |
| CreationDateTime | ||||
| LastChangedByUser | /iam/d_i_obj_ref | changed_by | User Name | |
| LastChangeDateTime | ||||
| ChangeRecordItemRelevance | /iam/d_i_obj_ref | item_rel | Relevance | |
| ChangeRecordVirtualRefInd | /iam/d_i_obj_ref | virtual_ref_ind | Virtual Reference | |
| ChgRecRefInternalKey1 | /iam/d_i_obj_ref | internal_id1 | Key | |
| ChangeRecordItemProcgStatus | reference_ext | itm_status | Processing Status | |
| ChgRecdCurrentItemProcgStatus | reference_ext | itm_status | Processing Status | |
| ChangeNumber | reference_ext | changenumber | Change Number | |
| ChgRecdItmTgtSts | reference_ext | tgt_proc_status | Tgt Proc. Sts | |
| ChgRecdItmDSgntr | reference_ext | dig_sign | Itm. Dgt. Sign. | |
| ChgRecdReasonForChange | reference_ext | reasonforchange | Reason for Chge | |
| ExpdCompltnDte | reference_ext | expected_comp_dat | Exp Completion Date | |
| ChgRecdAuthznGrpText | reference_ext | auth_group | AuthorizGroup | |
| ChgRecdNmbrChgSts | reference_ext | chgstatus | Status | |
| ChangeRecordLifecycleStatus | /iam/d_i_root | lcycle_cd | Issue Lifecycle | |
| ChangeRecordStatus | ||||
| _ChangeRecordBsc | _ChangeRecordBsc |
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_ChgRecdRefMatBsc.
-- 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: ICHGRECDREFMATB
CREATE VIEW I_ChgRecdRefMatBsc AS
SELECT
reference.db_key AS ChangeRecordReferenceUUID,
reference.parent_key AS ChangeRecordUUID,
root.issue_id AS ChangeRecord,
root.issue_type AS ChangeRecordType,
reference.type_cd AS ChangeRecordReferenceType,
reference.subtype_cd AS ChangeRecordReferenceSubtype,
reference.id AS ChangeRecordReference,
reference.par_objref_uuid AS ParentChangeRecordRefUUID,
reference.main_ref_ind AS IsMainReference,
reference.created_by AS CreatedByUser,
cast( reference.created_on as tzntstmps preserving type ) AS CreationDateTime,
reference.changed_by AS LastChangedByUser,
cast( reference.changed_on as tzntstmps preserving type ) AS LastChangeDateTime,
reference.item_rel AS ChangeRecordItemRelevance,
reference.virtual_ref_ind AS ChangeRecordVirtualRefInd,
reference.internal_id1 AS ChgRecRefInternalKey1,
reference_ext.itm_status AS ChangeRecordItemProcgStatus,
reference_ext.itm_status AS ChgRecdCurrentItemProcgStatus,
reference_ext.changenumber AS ChangeNumber,
reference_ext.tgt_proc_status AS ChgRecdItmTgtSts,
reference_ext.dig_sign AS ChgRecdItmDSgntr,
reference_ext.reasonforchange AS ChgRecdReasonForChange,
reference_ext.expected_comp_dat AS ExpdCompltnDte,
reference_ext.auth_group AS ChgRecdAuthznGrpText,
reference_ext.chgstatus AS ChgRecdNmbrChgSts,
root.lcycle_cd AS ChangeRecordLifecycleStatus,
cast(root.user_status_01 as /plmb/cr_hdr_status preserving type) AS ChangeRecordStatus
FROM /iam/d_i_obj_ref AS reference
INNER JOIN /iam/d_i_root AS root ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ChangeRecordBsc AS _ChangeRecordBsc ON ChangeRecordUUID = _ChangeRecordBsc.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