RV_C_ODQUNITS
Consumption view for ODP Units
RV_C_ODQUNITS is a CDS View that provides data about "Consumption view for ODP Units" in SAP S/4HANA. It reads from 1 data source (RV_I_ODQUnits) and exposes 17 fields with key fields tsn, unitNumber, provider, queue. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| RV_I_ODQUnits | units_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 | RVCODQUNITS | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Consumption view for ODP Units | view | |
| UI.headerInfo.typeName | Unit | view | |
| UI.headerInfo.typeNamePlural | Units | view |
Fields (17)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | tsn | RV_I_ODQUnits | tsn | TSN |
| KEY | unitNumber | RV_I_ODQUnits | unitNumber | |
| KEY | provider | RV_I_ODQUnits | provider | Supplier |
| KEY | queue | RV_I_ODQUnits | queue | Queue |
| tid | RV_I_ODQUnits | tid | Transaction ID for updating external tax system | |
| countRows | RV_I_ODQUnits | countRows | ||
| originalSize | RV_I_ODQUnits | originalSize | ||
| compressedSize | RV_I_ODQUnits | compressedSize | ||
| compressionRate | RV_I_ODQUnits | compressionRate | ||
| dataFormat | RV_I_ODQUnits | dataFormat | Data Format | |
| extractionMode | RV_I_ODQUnits | extractionMode | ||
| storage | RV_I_ODQUnits | storage | Storage | |
| tsnTimestamp | ||||
| _provider | _provider | |||
| _queue | _queue | |||
| _requestSelection | _requestSelection | |||
| _extractionMode | _extractionMode |
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_ODQUNITS.
-- 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: RVCODQUNITS
CREATE VIEW RV_C_ODQUNITS AS
SELECT
units_data.tsn AS tsn,
units_data.unitNumber AS unitNumber,
units_data.provider AS provider,
units_data.queue AS queue,
units_data.tid AS tid,
units_data.countRows AS countRows,
units_data.originalSize AS originalSize,
units_data.compressedSize AS compressedSize,
units_data.compressionRate AS compressionRate,
units_data.dataFormat AS dataFormat,
units_data.extractionMode AS extractionMode,
units_data.storage AS storage,
cast(tstmp_to_dats(units_data.tsnTimestamp, abap_system_timezone( $session.client,'NULL' ), $session.client, 'NULL') as sydatum preserving type ) AS tsnTimestamp
FROM RV_I_ODQUnits AS units_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