I_PrmtHbRpldPurReqnItmComment

DDL: I_PRMTHBRPLDPURREQNITMCOMMENT Type: view_entity BASIC

Central PR item comments

I_PrmtHbRpldPurReqnItmComment is a Basic CDS View that provides data about "Central PR item comments" in SAP S/4HANA. It reads from 1 data source (mmpur_hub_cmnts) and exposes 12 fields with key fields ProcmtHubPurReqnItmCommentUUID, ProcmtHubPurchaseRequisition, ProcmtHubPurRequisitionItem, ProcurementHubSourceSystem. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
mmpur_hub_cmnts mmpur_hub_cmnts from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_User _Users $projection.PrmtHbCommentedByUserID = _Users.UserID

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Central PR item comments view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
AccessControl.personalData.blocking #REQUIRED view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY ProcmtHubPurReqnItmCommentUUID comment_id UUID
KEY ProcmtHubPurchaseRequisition purchaserequisition Requisition
KEY ProcmtHubPurRequisitionItem purchaserequisitionitem Requisn. item
KEY ProcurementHubSourceSystem extsourcesystem Connected System ID
PrmtHbCommentCreatedOnDateTime created_on Variant created on
LastChangeDateTime changed_on Variant Changed on
PrmtHbCommentedByUserID commented_by User
PrmtHbCommentedByUserName _Users UserDescription Full Name
PrmtHbPurReqnItmActnCntxtText system_comment Comment
PrmtHbPurReqnItmCmntText user_comment Comment
IsDeleted isdeleted TRUE
_Users _Users

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_PrmtHbRpldPurReqnItmComment.
-- 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_PrmtHbRpldPurReqnItmComment AS
SELECT
  comment_id AS ProcmtHubPurReqnItmCommentUUID,
  purchaserequisition AS ProcmtHubPurchaseRequisition,
  purchaserequisitionitem AS ProcmtHubPurRequisitionItem,
  extsourcesystem AS ProcurementHubSourceSystem,
  created_on AS PrmtHbCommentCreatedOnDateTime,
  changed_on AS LastChangeDateTime,
  commented_by AS PrmtHbCommentedByUserID,
  _Users.UserDescription AS PrmtHbCommentedByUserName,
  system_comment AS PrmtHbPurReqnItmActnCntxtText,
  user_comment AS PrmtHbPurReqnItmCmntText,
  IsDeleted
FROM mmpur_hub_cmnts
LEFT OUTER JOIN I_User AS _Users ON PrmtHbCommentedByUserID = _Users.UserID  -- association [1..1]
;