I_MeterReadingStatus

DDL: I_METERREADINGSTATUS SQL: IEMTRRDNGSTS Type: view BASIC

Meter Reading Status

I_MeterReadingStatus (Basic)

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

UtilsMeterReadingStatus · Utilities

I_MeterReadingStatus is a Basic CDS View (Dimension) that provides data about "Meter Reading Status" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields with key field MeterReadingStatus. It has 1 association to related views.

SAP Help Documentation

CategoryMeter Reading
Data CategoryDimension
StatusMeter Reading Status
Purpose
This CDS view retrieves data for the field ABLSTAT (Meter Reading Status). Admissible values are: 0 - Meter reading order created 1 - Billable 2 - Automatically locked 3 - Locked by agent 4 - Released by agent 5 - Checked independently 7 - Billed * - Partially billed

Prerequisites
Authorizations Not applicable.

Structure
Important fields in this view include the following: Field Name Description MeterReadingStatus Meter Reading Status

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
PackageUtilities for SAP S/4HANA
Description <p>This CDS view retrieves data for the field ABLSTAT (Meter Reading Status).</p> <p>Admissible values are:</p> <ul> <li><p>0 - Meter reading order created</p></li> <li><p>1 - Billable</p></li> <li><p>2 - Automatically locked</p></li> <li><p>3 - Locked by agent</p></li> <li><p>4 - Released by agent</p></li> <li><p>5 - Checked independently</p></li> <li><p>7 - Billed</p></li> <li><p>* - Partially billed</p></li> </ul>

Documentation

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_MeterReadingStatusText _Text $projection.MeterReadingStatus = _Text.MeterReadingStatus

Annotations (16)

NameValueLevelField
EndUserText.label Meter Reading Status view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
Analytics.dataExtraction.enabled true view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName IEMTRRDNGSTS view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.representativeKey MeterReadingStatus view
ObjectModel.sapObjectNodeType.name UtilsMeterReadingStatus view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY MeterReadingStatus Meter Reading Status
_Text _Text

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_MeterReadingStatus.
-- 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: IEMTRRDNGSTS

CREATE VIEW I_MeterReadingStatus AS
SELECT
  cast ( cast ( substring( domvalue_l, 1, 1 ) as abap.char( 1 ) ) as ablstat ) AS MeterReadingStatus
FROM dd07l
LEFT OUTER JOIN I_MeterReadingStatusText AS _Text ON MeterReadingStatus = _Text.MeterReadingStatus  -- association [0..*]
;