DHRDB_API_STATUS

DDL: DHRDB_API_STATUS Type: view_entity

CDS Viev for RDB replication status

DHRDB_API_STATUS is a CDS View that provides data about "CDS Viev for RDB replication status" in SAP S/4HANA. It reads from 4 data sources (dhrdb_bufferact, dhrdb_bufferstat, dhrdb_producer, dhrdb_tables) and exposes 12 fields with key fields producer_id, buffer_id, Objname, Objtype.

Data Sources (4)

SourceAliasJoin Type
dhrdb_bufferact act left_outer
dhrdb_bufferstat buf inner
dhrdb_producer prod from
dhrdb_tables tab inner

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
EndUserText.label CDS Viev for RDB replication status view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY producer_id dhrdb_producer producer_id Registration ID
KEY buffer_id dhrdb_bufferact buffer_id Buffer Table ID
KEY Objname dhrdb_producer objname Table Name
KEY Objtype dhrdb_producer objtype Translation OType
ProducerType dhrdb_producer producer_type Producer Type Code
ConsumerType dhrdb_producer consumer_type Consumer Type Code
LastActionTs dhrdb_bufferact last_action_ts Time Stamp
LastWriteTs dhrdb_bufferact last_write_ts Time Stamp
WriteBlocked dhrdb_bufferstat write_blocked Blocked Status of a Buffer Table
PrioReadEnabled dhrdb_bufferstat prio_read_enabled Priority Read Enab
PrioWriteFinished dhrdb_bufferstat prio_write_finished TRUE
Status dhrdb_tables status Workflow Status

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_API_STATUS.
-- 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_API_STATUS AS
SELECT
  prod.producer_id AS producer_id,
  act.buffer_id AS buffer_id,
  prod.objname AS Objname,
  prod.objtype AS Objtype,
  prod.producer_type AS ProducerType,
  prod.consumer_type AS ConsumerType,
  act.last_action_ts AS LastActionTs,
  act.last_write_ts AS LastWriteTs,
  buf.write_blocked AS WriteBlocked,
  buf.prio_read_enabled AS PrioReadEnabled,
  buf.prio_write_finished AS PrioWriteFinished,
  tab.status AS Status
FROM dhrdb_producer AS prod
INNER JOIN dhrdb_tables AS tab ON /* join condition not captured in parsed metadata */
INNER JOIN dhrdb_bufferstat AS buf ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN dhrdb_bufferact AS act ON /* join condition not captured in parsed metadata */
;