I_MeterReadingDocDvceInfoRecd
Meter Reading Document Device Device Info Record
I_MeterReadingDocDvceInfoRecd is a Composite CDS View that provides data about "Meter Reading Document Device Device Info Record" in SAP S/4HANA. It reads from 6 data sources and exposes 19 fields with key fields Equipment, UtilsDeviceValidityEndDate, UtilsDeviceValidityEndDate. It has 2 associations to related views.
Data Sources (6)
| Source | Alias | Join Type |
|---|---|---|
| I_MeterReadingDocument | I_MeterReadingDocument | inner |
| I_MeterReadingDocument | I_MeterReadingDocument | inner |
| I_UtilitiesDevice | I_UtilitiesDevice | from |
| I_UtilsDeviceCategory | I_UtilsDeviceCategory | inner |
| I_UtilsDeviceCategory | I_UtilsDeviceCategory | inner |
| I_UtilsDvceInfoRecordHistory | I_UtilsDvceInfoRecordHistory | union |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_UtilsDeviceCategory | _UtilsDeviceCategory | $projection.UtilitiesDeviceCategory = _UtilsDeviceCategory.UtilitiesDeviceCategory |
| [0..1] | I_Division | _Division | $projection.Division = _Division.Division |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Meter Reading Document Device Device Info Record | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| VDM.viewType | #COMPOSITE | view | |
| AbapCatalog.sqlViewName | IEMTRRDNGDOCDDIR | view |
Fields (19)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Equipment | I_UtilitiesDevice | UtilitiesDevice | Serial Number |
| KEY | UtilsDeviceValidityEndDate | I_UtilitiesDevice | UtilsDeviceValidityEndDate | |
| SerialNumber | I_UtilitiesDevice | SerialNumber | Serial Number | |
| UtilsDeviceValidityStartDate | I_UtilitiesDevice | UtilsDeviceValidityStartDate | ||
| UtilitiesDeviceCategory | I_UtilitiesDevice | UtilitiesDeviceCategory | ||
| Division | I_UtilitiesDevice | Division | Internal Division ID | |
| UtilitiesLogicalDeviceNumber | I_UtilitiesDevice | UtilitiesLogicalDeviceNumber | Log. dev. no. | |
| UtilsDeviceCategoryDescription | I_UtilsDeviceCategory | UtilsDeviceCategoryDescription | ||
| _UtilsDeviceCategory | _UtilsDeviceCategory | |||
| UtilitiesDeviceInfoRecordasEquipment | ||||
| KEY | UtilsDeviceValidityEndDate | I_UtilsDvceInfoRecordHistory | UtilsDeviceValidityEndDate | |
| SerialNumber | I_UtilsDvceInfoRecordHistory | SerialNumber | Serial Number | |
| UtilsDeviceValidityStartDate | I_UtilsDvceInfoRecordHistory | UtilsDeviceValidityStartDate | ||
| UtilitiesDeviceCategory | I_UtilsDvceInfoRecordHistory | UtilitiesDeviceCategory | ||
| Division | I_UtilsDvceInfoRecordHistory | Division | Internal Division ID | |
| UtilitiesLogicalDeviceNumber | I_UtilsDvceInfoRecordHistory | UtilitiesLogicalDeviceNumber | Log. dev. no. | |
| UtilsDeviceCategoryDescription | I_UtilsDeviceCategory | UtilsDeviceCategoryDescription | ||
| _UtilsDeviceCategory | _UtilsDeviceCategory | |||
| _Division | _Division |
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 I_MeterReadingDocDvceInfoRecd.
-- 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: IEMTRRDNGDOCDDIR
CREATE VIEW I_MeterReadingDocDvceInfoRecd AS
SELECT
I_UtilitiesDevice.UtilitiesDevice AS Equipment,
I_UtilitiesDevice.UtilsDeviceValidityEndDate AS UtilsDeviceValidityEndDate,
I_UtilitiesDevice.SerialNumber AS SerialNumber,
I_UtilitiesDevice.UtilsDeviceValidityStartDate AS UtilsDeviceValidityStartDate,
I_UtilitiesDevice.UtilitiesDeviceCategory AS UtilitiesDeviceCategory,
I_UtilitiesDevice.Division AS Division,
I_UtilitiesDevice.UtilitiesLogicalDeviceNumber AS UtilitiesLogicalDeviceNumber,
I_UtilsDeviceCategory.UtilsDeviceCategoryDescription AS UtilsDeviceCategoryDescription
FROM I_UtilitiesDevice
INNER JOIN I_MeterReadingDocument ON /* join condition not captured in parsed metadata */
INNER JOIN I_UtilsDeviceCategory ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_UtilsDeviceCategory AS _UtilsDeviceCategory ON UtilitiesDeviceCategory = _UtilsDeviceCategory.UtilitiesDeviceCategory -- association [0..1]
LEFT OUTER JOIN I_Division AS _Division ON Division = _Division.Division -- association [0..1]
-- UNION with additional select branch(es): I_UtilsDvceInfoRecordHistory
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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