DHRDB_EVENT_TAB_AGGR

DDL: DHRDB_EVENT_TAB_AGGR Type: view_entity

Calculated packages creation time

DHRDB_EVENT_TAB_AGGR is a CDS View that provides data about "Calculated packages creation time" in SAP S/4HANA. It reads from 1 data source (dhrdb_statevent) and exposes 7 fields with key fields buffer_id, package_id, event_name.

Data Sources (1)

SourceAliasJoin Type
dhrdb_statevent dhrdb_statevent from

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Calculated packages creation time view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY buffer_id buffer_id Buffer Table ID
KEY package_id package_id Report Chain ID
KEY event_name event_name Process Event
min_ts
max_ts
counter
one

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 DHRDB_EVENT_TAB_AGGR.
-- 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 DHRDB_EVENT_TAB_AGGR AS
SELECT
  buffer_id,
  package_id,
  event_name,
  tstmpl_to_utcl( min( event_ts ), 'NULL', 'NULL' ) AS min_ts,
  tstmpl_to_utcl( max( event_ts ), 'NULL', 'NULL' ) AS max_ts,
  count( * ) AS counter,
  cast( 1 as abap.decfloat34 ) AS one
FROM dhrdb_statevent
;