R_StRpDataReplicationTP

DDL: R_STRPDATAREPLICATIONTP Type: view_entity TRANSACTIONAL Package: RAP_GLO_GEN_SRF_REPLICATION

Data Replication Definition - TP

R_StRpDataReplicationTP is a Transactional CDS View that provides data about "Data Replication Definition - TP" in SAP S/4HANA. It reads from 1 data source (I_StRpDataReplication) and exposes 15 fields with key field StRpDataReplicationUUID. It has 6 associations to related views. Part of development package RAP_GLO_GEN_SRF_REPLICATION.

Data Sources (1)

SourceAliasJoin Type
I_StRpDataReplication I_StRpDataReplication from

Associations (6)

CardinalityTargetAliasCondition
[1..1] R_StRpDataReplicationRunTP _LastRun _LastRun.StRpDataReplicationRunUUID = $projection.StRpDataReplicationLastRunUUID
[1..*] I_StRpDtaRplctnRunStatusText _RunStatusText _RunStatusText.StRpDtaRplctnRunStatus = $projection.strpdtarplctnrunstatus
[1..1] I_StRpEntity _ReportingEntity _ReportingEntity.StatryRptgEntity = $projection.StatryRptgEntity
[1..1] I_CompanyCode _Company _Company.CompanyCode = $projection.CompanyCode
[1..*] I_StRpDtaRplctnMnthText _ReplicationMonthText _ReplicationMonthText.StRpDataReplicationMonth = $projection.StRpDataReplicationMonth
[1..*] R_StRpDataReplicationRunTP _Run

Annotations (8)

NameValueLevelField
EndUserText.label Data Replication Definition - TP view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.sapObjectNodeType.name StatryRptDataRplctnDefinition view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY StRpDataReplicationUUID StRpDataReplicationUUID Replication UUID
StatryRptgEntity StatryRptgEntity Reporting Entity
CompanyCode CompanyCode Receiver Company Code
StRpDataReplicationMonth StRpDataReplicationMonth Replication Month
StRpDataReplicationYear StRpDataReplicationYear Replication Year
StRpDataReplicationLastRunUUID StRpDataReplicationLastRunUUID Rep. Run UUID
StRpDtaRplctnRunStatus _LastRun StRpDtaRplctnRunStatus
StRpDtaRplctnRunStsCritlty _LastRun StRpDtaRplctnRunStsCritlty
CreationDateTime _LastRun CreationDateTime Timestamp
_Run _Run
_LastRun _LastRun
_RunStatusText _RunStatusText
_ReportingEntity _ReportingEntity
_Company _Company
_ReplicationMonthText _ReplicationMonthText

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_StRpDataReplicationTP.
-- 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_StRpDataReplicationTP AS
SELECT
  StRpDataReplicationUUID,
  StatryRptgEntity,
  CompanyCode,
  StRpDataReplicationMonth,
  StRpDataReplicationYear,
  StRpDataReplicationLastRunUUID,
  _LastRun.StRpDtaRplctnRunStatus AS StRpDtaRplctnRunStatus,
  _LastRun.StRpDtaRplctnRunStsCritlty AS StRpDtaRplctnRunStsCritlty,
  _LastRun.CreationDateTime AS CreationDateTime
FROM I_StRpDataReplication
LEFT OUTER JOIN R_StRpDataReplicationRunTP AS _LastRun ON _LastRun.StRpDataReplicationRunUUID = StRpDataReplicationLastRunUUID  -- association [1..1]
LEFT OUTER JOIN I_StRpDtaRplctnRunStatusText AS _RunStatusText ON _RunStatusText.StRpDtaRplctnRunStatus = strpdtarplctnrunstatus  -- association [1..*]
LEFT OUTER JOIN I_StRpEntity AS _ReportingEntity ON _ReportingEntity.StatryRptgEntity = StatryRptgEntity  -- association [1..1]
LEFT OUTER JOIN I_CompanyCode AS _Company ON _Company.CompanyCode = CompanyCode  -- association [1..1]
LEFT OUTER JOIN I_StRpDtaRplctnMnthText AS _ReplicationMonthText ON _ReplicationMonthText.StRpDataReplicationMonth = StRpDataReplicationMonth  -- association [1..*]
LEFT OUTER JOIN R_StRpDataReplicationRunTP AS _Run ON /* condition not available in parsed metadata */  -- association [1..*]
;