I_MeterReadingDocDvceInfoRecd

DDL: I_METERREADINGDOCDVCEINFORECD SQL: IEMTRRDNGDOCDDIR Type: view COMPOSITE

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)

SourceAliasJoin 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)

CardinalityTargetAliasCondition
[0..1] I_UtilsDeviceCategory _UtilsDeviceCategory $projection.UtilitiesDeviceCategory = _UtilsDeviceCategory.UtilitiesDeviceCategory
[0..1] I_Division _Division $projection.Division = _Division.Division

Annotations (9)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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
;