scmon_vrdata_view
scmon_vrdata_view is a CDS View in SAP S/4HANA. It reads from 4 data sources (scmon_rdata, scmon_slice, scmon_sub, scmon_sub) and exposes 12 fields with key fields subid1, subid2, sliceid.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| scmon_rdata | rdata | from |
| scmon_slice | slice | inner |
| scmon_sub | sub1 | inner |
| scmon_sub | sub2 | inner |
Annotations (1)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | scmon_vrdata | view |
Fields (12)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | subid1 | scmon_rdata | subid1 | |
| KEY | subid2 | scmon_rdata | subid2 | |
| KEY | sliceid | scmon_rdata | sliceid | Slice ID |
| slicestart | scmon_slice | startdate | Valid From | |
| sliceend | scmon_slice | enddate | Term to | |
| slicegroupid | scmon_slice | groupid | Group name | |
| roottype1 | scmon_sub | roottype | Request Type | |
| rootname1 | scmon_sub | rootname | Root Entity Name | |
| roottype2 | scmon_sub | roottype | Request Type | |
| rootname2 | scmon_sub | rootname | Root Entity Name | |
| counter | scmon_rdata | counter | Version | |
| summation |
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 scmon_vrdata_view.
-- 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: scmon_vrdata
CREATE VIEW scmon_vrdata_view AS
SELECT
rdata.subid1 AS subid1,
rdata.subid2 AS subid2,
rdata.sliceid AS sliceid,
slice.startdate AS slicestart,
slice.enddate AS sliceend,
slice.groupid AS slicegroupid,
sub1.roottype AS roottype1,
sub1.rootname AS rootname1,
sub2.roottype AS roottype2,
sub2.rootname AS rootname2,
rdata.counter AS counter,
cast(1 as abap.int4) AS summation
FROM scmon_rdata AS rdata
INNER JOIN scmon_slice AS slice ON /* join condition not captured in parsed metadata */
INNER JOIN scmon_sub AS sub1 ON /* join condition not captured in parsed metadata */
INNER JOIN scmon_sub AS sub2 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