RV_C_ODQQUEUES
Consumption view for ODP Queues
RV_C_ODQQUEUES is a CDS View that provides data about "Consumption view for ODP Queues" in SAP S/4HANA. It reads from 1 data source (RV_I_ODQQueues) and exposes 16 fields with key fields provider, queue. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| RV_I_ODQQueues | queue_data | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | RV_I_ODQREADREQ | _requestSelection | _requestSelection.read_full_requests = $projection.requestSelection |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | RVCODQQUEUE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Consumption view for ODP Queues | view | |
| UI.headerInfo.typeName | Queue | view | |
| UI.headerInfo.typeNamePlural | Queues | view |
Fields (16)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | provider | RV_I_ODQQueues | provider | Supplier |
| KEY | queue | RV_I_ODQQueues | queue | Queue |
| queueState | RV_I_ODQQueues | queueState | Queue Status | |
| tsnMax | ||||
| tsnMin | ||||
| countSubscriptions | RV_I_ODQQueues | countSubscriptions | ||
| countRequests | RV_I_ODQQueues | countRequests | ||
| countUnits | RV_I_ODQQueues | countUnits | ||
| countRows | RV_I_ODQQueues | countRows | ||
| originalSize | RV_I_ODQQueues | originalSize | ||
| compressedSize | RV_I_ODQQueues | compressedSize | ||
| compressionRate | RV_I_ODQQueues | compressionRate | ||
| _queue | _queue | |||
| _provider | _provider | |||
| _queueState | _queueState | |||
| _requestSelection | _requestSelection |
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 RV_C_ODQQUEUES.
-- 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: RVCODQQUEUE
CREATE VIEW RV_C_ODQQUEUES AS
SELECT
queue_data.provider AS provider,
queue_data.queue AS queue,
queue_data.queueState AS queueState,
cast(tstmp_to_dats(queue_data.tsnMax, abap_system_timezone( $session.client,'NULL' ), $session.client, 'NULL') as sydatum preserving type ) AS tsnMax,
cast(tstmp_to_dats(queue_data.tsnMin, abap_system_timezone( $session.client,'NULL' ), $session.client, 'NULL') as sydatum preserving type ) AS tsnMin,
queue_data.countSubscriptions AS countSubscriptions,
queue_data.countRequests AS countRequests,
queue_data.countUnits AS countUnits,
queue_data.countRows AS countRows,
queue_data.originalSize AS originalSize,
queue_data.compressedSize AS compressedSize,
queue_data.compressionRate AS compressionRate
FROM RV_I_ODQQueues AS queue_data
LEFT OUTER JOIN RV_I_ODQREADREQ AS _requestSelection ON _requestSelection.read_full_requests = requestSelection -- association [0..1]
;
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