DHRDB_API_STATUS
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)
| Source | Alias | Join Type |
|---|---|---|
| dhrdb_bufferact | act | left_outer |
| dhrdb_bufferstat | buf | inner |
| dhrdb_producer | prod | from |
| dhrdb_tables | tab | inner |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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 */
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA