I_UtilsMtrRdngBasePerdCatText

DDL: I_UTILSMTRRDNGBASEPERDCATTEXT SQL: IEMTRRDNGBPCATT Type: view BASIC

Meter Reading Base Period Category - Text

I_UtilsMtrRdngBasePerdCatText (Basic)

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

UtilsMtrRdngBasePeriodCatText · Utilities

I_UtilsMtrRdngBasePerdCatText is a Basic CDS View that provides data about "Meter Reading Base Period Category - Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 5 fields with key fields Language, MeterReadingBasePeriodCat. It has 2 associations to related views.

SAP API Hub

StateC1
Line of BusinessUtilities
Application ComponentIS-U-MD
CapabilitiesLanguage-Dependent Text, Data Source in SQL Select, Data Source for Defining CDS Entities, Association Target 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
dd07t dd07t from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_UtilsMtrRdngBasePerdCat _UtilsMtrRdngBasePerdCat $projection.MeterReadingBasePeriodCat = _UtilsMtrRdngBasePerdCat.MeterReadingBasePeriodCat
[0..1] I_Language _Language $projection.Language = _Language.Language

Annotations (15)

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

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY Language ddlanguage Language Key
KEY MeterReadingBasePeriodCat Base period category
MeterReadingBasePeriodCatName Name of Base Period Category
_UtilsMtrRdngBasePerdCat _UtilsMtrRdngBasePerdCat
_Language _Language

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_UtilsMtrRdngBasePerdCatText.
-- 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: IEMTRRDNGBPCATT

CREATE VIEW I_UtilsMtrRdngBasePerdCatText AS
SELECT
  ddlanguage AS Language,
  cast ( cast ( substring( domvalue_l, 1, 1 ) as abap.char( 1 ) ) as bapertyp ) AS MeterReadingBasePeriodCat,
  cast(ddtext as e_baspercat_name_vdm preserving type) AS MeterReadingBasePeriodCatName
FROM dd07t
LEFT OUTER JOIN I_UtilsMtrRdngBasePerdCat AS _UtilsMtrRdngBasePerdCat ON MeterReadingBasePeriodCat = _UtilsMtrRdngBasePerdCat.MeterReadingBasePeriodCat  -- association [0..1]
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
;