R_InboundDocumentEvent

DDL: R_INBOUNDDOCUMENTEVENT Type: view_entity

IIP Document Event Notification

R_InboundDocumentEvent is a CDS View that provides data about "IIP Document Event Notification" in SAP S/4HANA. It reads from 1 data source (iip_doc_event) and exposes 13 fields with key field InboundDocumentEventIdentifier. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
iip_doc_event iip_doc_event from

Associations (3)

CardinalityTargetAliasCondition
[1] I_DocumentAIInbDocStsTxt _DocStsT $projection.InboundDocumentStatus = _DocStsT.InboundDocumentStatus
[1] I_DocumentAIInbDocEvtStsTxt _DocEvtStsT $projection.InboundDocumentEventStatus = _DocEvtStsT.InboundDocumentEventStatus
[0..*] R_InboundDocumentEventLog _eventLog

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label IIP Document Event Notification view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY InboundDocumentEventIdentifier doc_event_id
InboundDocumentIdentifier document_id Snapshot ID
InboundDocumentSchemaRegnID schema_regid
InboundDocumentStatus document_status Status
InboundDocumentEventStatus event_status Event Status
InbDocEvtProcgLtstExecNmbrVal latest_exec_number
InbDocEvtProcgRetryRmngValue retry_left
InboundDocEvtProcNotifyID islm_notification_id
CreatedAtDateTime createdat Time Stamp
LastChangeDateTime lastchangedat Time Stamp
_DocEvtStsT _DocEvtStsT
_DocStsT _DocStsT
_eventLog _eventLog

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 R_InboundDocumentEvent.
-- 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 R_InboundDocumentEvent AS
SELECT
  doc_event_id AS InboundDocumentEventIdentifier,
  document_id AS InboundDocumentIdentifier,
  schema_regid AS InboundDocumentSchemaRegnID,
  document_status AS InboundDocumentStatus,
  event_status AS InboundDocumentEventStatus,
  latest_exec_number AS InbDocEvtProcgLtstExecNmbrVal,
  retry_left AS InbDocEvtProcgRetryRmngValue,
  islm_notification_id AS InboundDocEvtProcNotifyID,
  createdat AS CreatedAtDateTime,
  lastchangedat AS LastChangeDateTime
FROM iip_doc_event
LEFT OUTER JOIN I_DocumentAIInbDocStsTxt AS _DocStsT ON InboundDocumentStatus = _DocStsT.InboundDocumentStatus  -- association [1]
LEFT OUTER JOIN I_DocumentAIInbDocEvtStsTxt AS _DocEvtStsT ON InboundDocumentEventStatus = _DocEvtStsT.InboundDocumentEventStatus  -- association [1]
LEFT OUTER JOIN R_InboundDocumentEventLog AS _eventLog ON /* condition not available in parsed metadata */  -- association [0..*]
;