I_ChangeRecordRefDocument

DDL: I_CHANGERECORDREFDOCUMENT Type: view_entity COMPOSITE

Change Record Document Reference Item

I_ChangeRecordRefDocument is a Composite CDS View that provides data about "Change Record Document Reference Item" in SAP S/4HANA. It reads from 2 data sources (/iam/d_i_obj_ref, /iam/d_i_root) and exposes 18 fields with key field ChangeRecordReferenceUUID.

Data Sources (2)

SourceAliasJoin Type
/iam/d_i_obj_ref reference from
/iam/d_i_root root inner

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Change Record Document Reference Item view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (18)

KeyFieldSource TableSource FieldDescription
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
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
ChgRecRefInternalKey2 /iam/d_i_obj_ref internal_id2 Key
ChgRecRefInternalKey3 /iam/d_i_obj_ref internal_id3 Key
ChgRecRefInternalKey4 /iam/d_i_obj_ref internal_id4 Key

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_ChangeRecordRefDocument.
-- 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_ChangeRecordRefDocument AS
SELECT
  reference.db_key AS ChangeRecordReferenceUUID,
  reference.parent_key AS ChangeRecordUUID,
  root.issue_id AS ChangeRecord,
  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 ) AS CreationDateTime,
  reference.changed_by AS LastChangedByUser,
  cast( reference.changed_on as tzntstmps ) AS LastChangeDateTime,
  reference.item_rel AS ChangeRecordItemRelevance,
  reference.virtual_ref_ind AS ChangeRecordVirtualRefInd,
  reference.internal_id1 AS ChgRecRefInternalKey1,
  reference.internal_id2 AS ChgRecRefInternalKey2,
  reference.internal_id3 AS ChgRecRefInternalKey3,
  reference.internal_id4 AS ChgRecRefInternalKey4
FROM /iam/d_i_obj_ref AS reference
INNER JOIN /iam/d_i_root AS root ON /* join condition not captured in parsed metadata */
;