I_UtilsMtrRdngBasePerdCat

DDL: I_UTILSMTRRDNGBASEPERDCAT SQL: IEMTRRDNGBPCAT Type: view BASIC

Meter Reading Base Period Category

I_UtilsMtrRdngBasePerdCat (Basic)

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

Utilities Meter Reading Base Period Category · Utilities

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

SAP Help Documentation

CategoryMiscellaneous
Data CategoryDimension
StatusC1
Purpose
This CDS view retrieves data for the field BAPERTYP (Base Period Category). The allowed values are: ( ) - Previous Period X - Previous Year Period

Prerequisites
Authorizations Not applicable.

Structure
Important fields in this view include the following: Field Name Description MeterReadingBasePeriodCat Base Period Category

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessUtilities
Application ComponentIS-U-MD
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 BAPERTYP (Base Period Category). </p> The allowed values are:<ul> <li><p>( ) - Previous Period</p></li> <li><p>X - Previous Year Period</p></li> </ul>

Documentation

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_UtilsMtrRdngBasePerdCatText _UtilsMtrRdngBasePerdCatText $projection.MeterReadingBasePeriodCat = _UtilsMtrRdngBasePerdCatText.MeterReadingBasePeriodCat

Annotations (15)

NameValueLevelField
EndUserText.label Meter Reading Base Period Category view
Analytics.dataCategory #DIMENSION view
VDM.viewType #BASIC view
ObjectModel.representativeKey MeterReadingBasePeriodCat view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName IEMTRRDNGBPCAT view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass META view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
Metadata.ignorePropagatedAnnotations true view
Analytics.dataExtraction.enabled true view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.sapObjectNodeType.name UtilsMtrRdngBasePeriodCategory view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY MeterReadingBasePeriodCat Base period category
_UtilsMtrRdngBasePerdCatText _UtilsMtrRdngBasePerdCatText

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_UtilsMtrRdngBasePerdCat.
-- 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: IEMTRRDNGBPCAT

CREATE VIEW I_UtilsMtrRdngBasePerdCat AS
SELECT
  cast ( cast ( substring( domvalue_l, 1, 1 ) as abap.char( 1 ) ) as bapertyp ) AS MeterReadingBasePeriodCat
FROM dd07l
LEFT OUTER JOIN I_UtilsMtrRdngBasePerdCatText AS _UtilsMtrRdngBasePerdCatText ON MeterReadingBasePeriodCat = _UtilsMtrRdngBasePerdCatText.MeterReadingBasePeriodCat  -- association [0..*]
;