I_MeterReadingUnit

DDL: I_METERREADINGUNIT SQL: IEMETERRDNGUNIT Type: view BASIC

Meter Reading Unit

I_MeterReadingUnit (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

UtilsMeterReadingUnit · Utilities

I_MeterReadingUnit is a Basic CDS View (Dimension) that provides data about "Meter Reading Unit" in SAP S/4HANA. It reads from 1 data source (te422) and exposes 6 fields with key field MeterReadingUnit. It has 1 association to related views.

SAP Help Documentation

CategoryMeter Reading
Data CategoryDimension
StatusC1
Purpose
This CDS view retrieves schedule master data for the meter reading unit.

Prerequisites
Authorizations The following authorization objects are required to use this CDS view: E_MRD_UNIT (Authorization to display schedule master data for the meter reading unit)

Structure
Important fields in this view include the following: Field Name Description MeterReadingUnit Meter Reading Unit UtilitiesPortion Portion UtilsMtrRdngIntervalInDays Meter Reading Interval in Days

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessUtilities
Application ComponentIS-U-DM-MR
CapabilitiesData Source in SQL Select, Analytical Dimension, Association Target for Defining CDS Entities, Data Source for Defining CDS Entities, Data Source for Data Extraction, Data Provider for Analytical Queries
PackageUtilities for SAP S/4HANA
Description <p>This CDS view retrieves schedule master data for the meter reading unit.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
te422 te422 from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_UtilitiesPortion _UtilitiesPortion $projection.UtilitiesPortion = _UtilitiesPortion.UtilitiesPortion

Annotations (18)

NameValueLevelField
EndUserText.label Meter Reading Unit view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
Analytics.dataExtraction.enabled true view
Analytics.dataExtraction.delta.changeDataCapture.automatic true view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName IEMETERRDNGUNIT view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
AbapCatalog.compiler.compareFilter true view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.representativeKey MeterReadingUnit view
ObjectModel.sapObjectNodeType.name UtilsMeterReadingUnit view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY MeterReadingUnit termschl Meter Reading Unit
UtilitiesPortion portion Portion
UtilsMtrRdngIntervalInDays Meter Reading Interval
AuthorizationGroup begru Authorization Group
MeterReadingUnitName Meter Reading Unit Name
_UtilitiesPortion _UtilitiesPortion

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_MeterReadingUnit.
-- 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: IEMETERRDNGUNIT

CREATE VIEW I_MeterReadingUnit AS
SELECT
  termschl AS MeterReadingUnit,
  portion AS UtilitiesPortion,
  cast(ablkar as e_ablkar_vdm preserving type ) AS UtilsMtrRdngIntervalInDays,
  begru AS AuthorizationGroup,
  cast(termtext as e_ableinheit_name_vdm preserving type) AS MeterReadingUnitName
FROM te422
LEFT OUTER JOIN I_UtilitiesPortion AS _UtilitiesPortion ON UtilitiesPortion = _UtilitiesPortion.UtilitiesPortion  -- association [0..1]
;