I_HDMRelation

DDL: I_HDMRELATION Type: view_entity BASIC Package: SECM_HDM_RAP

HDM Relation Entity

I_HDMRelation is a Basic CDS View that provides data about "HDM Relation Entity" in SAP S/4HANA. It reads from 1 data source (shdm_relation) and exposes 9 fields with key fields SAPObjectNodeType, LinkedSAPObjectKey, BaseObjectType, BaseObjectKey. Part of development package SECM_HDM_RAP.

Data Sources (1)

SourceAliasJoin Type
shdm_relation shdm_relation from

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label HDM Relation Entity view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ObjectModel.representativeKey BaseObjectKey view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
Metadata.ignorePropagatedAnnotations true view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY SAPObjectNodeType sapobjectnodetype SONT Name
KEY LinkedSAPObjectKey linkedsapobjectkey SAP Object Key
KEY BaseObjectType baseobjecttype
KEY BaseObjectKey baseobjectkey
HDMRelationIsLocked relationshipstatus Relship Status
CreatedByUserName createdby User Name
HDMCreatedAtDateTime createdat Time Stamp
ChangedByUserName changedby User Name
HDMChangedAtDateTime changedat Time Stamp

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_HDMRelation.
-- 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_HDMRelation AS
SELECT
  SAPObjectNodeType,
  LinkedSAPObjectKey,
  BaseObjectType,
  BaseObjectKey,
  relationshipstatus AS HDMRelationIsLocked,
  createdby AS CreatedByUserName,
  createdat AS HDMCreatedAtDateTime,
  changedby AS ChangedByUserName,
  changedat AS HDMChangedAtDateTime
FROM shdm_relation
;