P_RU_StRpRepRun

DDL: P_RU_STRPREPRUN SQL: PRUSRREPRUN Type: view COMPOSITE

P_RU_StRpRepRun is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_StRpRepRun) and exposes 14 fields with key field StatryRptRunUUID.

Data Sources (1)

SourceAliasJoin Type
I_StRpRepRun I_StRpRepRun from

Annotations (7)

NameValueLevelField
VDM.private true view
VDM.viewType #COMPOSITE view
AbapCatalog.sqlViewName PRUSRREPRUN view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY StatryRptRunUUID StatryRptRunUUID UUID
StatryRptActivityUUID StatryRptActivityUUID UUID
StatryRptTaskUUID StatryRptTaskUUID UUID
StatryRptgEntity StatryRptgEntity Reporting Entity
StatryRptCategory StatryRptCategory Report ID
StatryRptRunID StatryRptRunID Report Run ID
StatryRptRunStatus StatryRptRunStatus Report Run Status
StatryRptRunCreatedByUser StatryRptRunCreatedByUser Version Created By
StatryRptRunCreatedOnDate StatryRptRunCreatedOnDate Variant created on
clientNULLasGeneratedOn
clientNULLasGeneratedAt
StatryRptCatPhase StatryRptCatPhase
StatryRptDef StatryRptDef Report ID
StatryRptTaskPeriodEndDate StatryRptTaskPeriodEndDate

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 P_RU_StRpRepRun.
-- 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.
-- SQL view name: PRUSRREPRUN

CREATE VIEW P_RU_StRpRepRun AS
SELECT
  StatryRptRunUUID,
  StatryRptActivityUUID,
  StatryRptTaskUUID,
  StatryRptgEntity,
  StatryRptCategory,
  StatryRptRunID,
  StatryRptRunStatus,
  StatryRptRunCreatedByUser,
  StatryRptRunCreatedOnDate,
  tstmp_to_dats( StatryRptRunCreatedOnDate, abap_system_timezone( $session.client,'NULL' ), $session.client, 'NULL' ) as GeneratedOn AS clientNULLasGeneratedOn,
  tstmp_to_tims( StatryRptRunCreatedOnDate, abap_system_timezone( $session.client,'NULL' ), $session.client, 'NULL' ) as GeneratedAt AS clientNULLasGeneratedAt,
  StatryRptCatPhase,
  StatryRptDef,
  StatryRptTaskPeriodEndDate
FROM I_StRpRepRun
;