R_ProdCmplncEventTP

DDL: R_PRODCMPLNCEVENTTP Type: view_entity TRANSACTIONAL

Product Compliance Event - TP

R_ProdCmplncEventTP is a Transactional CDS View that provides data about "Product Compliance Event - TP" in SAP S/4HANA. It reads from 1 data source (I_ProdCmplncEvent) and exposes 20 fields with key field ProdCmplncEventUUID. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ProdCmplncEvent I_ProdCmplncEvent from

Associations (2)

CardinalityTargetAliasCondition
[0..*] R_ProdCmplncEventParameterTP _ProdCmplncEventParameter
[0..*] R_ProdCmplncEventTaskAssgmtTP _ProdCmplncEventTaskAssgmt

Annotations (4)

NameValueLevelField
EndUserText.label Product Compliance Event - TP view
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (20)

KeyFieldSource TableSource FieldDescription
KEY ProdCmplncEventUUID ProdCmplncEventUUID Product Compliance Event
ProdCmplncEventID ProdCmplncEventID Event
ProdCmplncEventType ProdCmplncEventType Event Type
ProdCmplncEventSourceUUID ProdCmplncEventSourceUUID Event Source UUID
CreationDateTime CreationDateTime Timestamp
CreatedByUser CreatedByUser User Name
LastChangeDateTime LastChangeDateTime Timestamp
LastChangedByUser LastChangedByUser User Name
ProdCmplncEventSourceType ProdCmplncEventSourceType Event Source Type
ProdCmplncEventProcgType ProdCmplncEventProcgType Event Processing Type
ProdCmplncEventProcgStatus ProdCmplncEventProcgStatus Event Processing Status
ProdCmplncEvtProcgStartDteTme ProcessingStartTime Task Processing Start Time
ProdCmplncEventNmbrOfAttempts ProdCmplncEventNmbrOfAttempts Event Processing Attempts
ApplicationLogHandle Log Handle
_ChmlCmplncInfo _ChmlCmplncInfo
_ChmlComposition _ChmlComposition
_CmplRqRslt _CmplRqRslt
_ProdCmplncEventParameter _ProdCmplncEventParameter
_ProdCmplncEventTaskAssgmt _ProdCmplncEventTaskAssgmt
_SubstanceEnhanced _SubstanceEnhanced

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_ProdCmplncEventTP.
-- 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_ProdCmplncEventTP AS
SELECT
  ProdCmplncEventUUID,
  ProdCmplncEventID,
  ProdCmplncEventType,
  ProdCmplncEventSourceUUID,
  CreationDateTime,
  CreatedByUser,
  LastChangeDateTime,
  LastChangedByUser,
  ProdCmplncEventSourceType,
  ProdCmplncEventProcgType,
  ProdCmplncEventProcgStatus,
  ProcessingStartTime AS ProdCmplncEvtProcgStartDteTme,
  ProdCmplncEventNmbrOfAttempts,
  cast(ApplicationLogHandle as balloghndl preserving type) AS ApplicationLogHandle
FROM I_ProdCmplncEvent
LEFT OUTER JOIN R_ProdCmplncEventParameterTP AS _ProdCmplncEventParameter ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN R_ProdCmplncEventTaskAssgmtTP AS _ProdCmplncEventTaskAssgmt ON /* condition not available in parsed metadata */  -- association [0..*]
;