I_UtilitiesInstallationHist

DDL: I_UTILITIESINSTALLATIONHIST SQL: IEINSTHISTORY Type: view BASIC

Installation History

I_UtilitiesInstallationHist (Basic)

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

UtilitiesInstallationHistory · Utilities

I_UtilitiesInstallationHist is a Basic CDS View (Dimension) that provides data about "Installation History" in SAP S/4HANA. It reads from 1 data source (eanlh) and exposes 30 fields with key fields UtilitiesInstallation, UtilsInstHistValidityEndDate. It has 9 associations to related views.

SAP Help Documentation

CategoryInstallation
Data CategoryDimension
Purpose
This CDS view retrieves general installation history-related data.

Prerequisites
Authorizations The following authorization objects are required to use this CDS view: E_INSTLN (Authorization to display IS-U installation data)

Structure
Important fields in this view include the following: Field Name Description UtilitiesInstallation Installation UtilitiesRateCategory Rate Category MeterReadingUnit Meter Reading Unit UtilitiesBillingClass Billing Class UtilsInstHistValidityEndDate Installation History Validity End Date UtilsInstHistValidityStartDate Installation History Validity Start Date UtilitiesFranchiseContract Franchise Contract ObligatorySupUtilsSrvcProvider Obligation to Supply

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessUtilities
Application ComponentIS-U-MD
CapabilitiesData Source in SQL Select, Analytical Dimension, Data Provider for Analytical Queries, 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 general installation history-related data.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
eanlh eanlh from

Associations (9)

CardinalityTargetAliasCondition
[1..1] I_UtilitiesInstallation _UtilitiesInstallation $projection.UtilitiesInstallation = _UtilitiesInstallation.UtilitiesInstallation
[0..1] I_UtilsDepdntValdtnGroup _UtilsDepdntValdtnGroup $projection.UtilsRegDepdntValdtnGroup = _UtilsDepdntValdtnGroup.UtilsRegDepdntValdtnGroup
[0..1] I_UtilsUnbilldRevnXtrapltnType _UtilsUnbilldRevnXtrapltnType $projection.UnbilldRevnXtrapltnType = _UtilsUnbilldRevnXtrapltnType.UnbilldRevnXtrapltnType
[0..1] I_UtilsInstGroupType _UtilsInstGroupType $projection.UtilsInstallationGroupType = _UtilsInstGroupType.UtilsInstallationGroupType
[0..1] I_UtilsInstGroupRole _UtilsInstGroupRole $projection.UtilsInstallationGroupRole = _UtilsInstGroupRole.UtilsInstallationGroupRole
[0..1] I_UtilsTemperatureArea _UtilsTemperatureArea $projection.UtilitiesTemperatureArea = _UtilsTemperatureArea.UtilitiesTemperatureArea
[0..1] I_UtilsBillingClass _UtilsBillingClass $projection.UtilitiesBillingClass = _UtilsBillingClass.UtilitiesBillingClass
[1..1] I_UtilitiesRateCategory _UtilitiesRateCategory $projection.UtilitiesRateCategory = _UtilitiesRateCategory.UtilitiesRateCategory
[1..1] I_MeterReadingUnit _MeterReadingUnit $projection.MeterReadingUnit = _MeterReadingUnit.MeterReadingUnit

Annotations (14)

NameValueLevelField
EndUserText.label Installation History view
Analytics.dataCategory #DIMENSION view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.representativeKey UtilitiesInstallation view
AbapCatalog.sqlViewName IEINSTHISTORY view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
AbapCatalog.compiler.compareFilter true view
Metadata.allowExtensions true view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view

Fields (30)

KeyFieldSource TableSource FieldDescription
KEY UtilitiesInstallation eanlh anlage Installation
KEY UtilsInstHistValidityEndDate Validity End Date of Installation
UtilsInstHistValidityStartDate Validity Start Date of Installation
UtilitiesRateCategory eanlh tariftyp Rate category
UtilitiesBillingSchema eanlh schemanr Number of the billing schema
UtilitiesBillingClass eanlh aklasse Billing Class
MeterReadingUnit eanlh ableinh Meter Reading Unit
UtilitiesTemperatureArea eanlh temp_area Temperature area
UtilsInstIsExmptFrmFrnchsFee eanlh konzbefr Exempt from franchise fee
UtilsInstDvceAllctnIsNotAllwd eanlh pauschal Device allocation is not possible
UtilitiesFranchiseContract eanlh konzver Franchise contract
UtilitiesBillingParty eanlh billing_party Service Provider that Bills the Installation
UtilitiesInvoicingParty eanlh invoicing_party Service Provider That Invoices the Contract
ObligatorySupUtilsSrvcProvider eanlh prov_last_res Obligation to Supply
PrimaryUtilitiesInstallation eanlh maininst Key of Primary Installation
UtilsInstallationGroupRole eanlh instrole Role of an Installation Within the Installation Group
UtilsInstallationGroupType eanlh instgrtype Grouping Type for Installation Group
HigherLevelUtilsInstallation eanlh highlevinst Higher-Level Installation
UnbilldRevnXtrapltnType eanlh hochart Type of extrapolation in unbilled revenue reporting
UtilsRegDepdntValdtnGroup eanlh pruefgr Validation group for dependent validations
IndustrySector Industry
_UtilsDepdntValdtnGroup _UtilsDepdntValdtnGroup
_UtilsUnbilldRevnXtrapltnType _UtilsUnbilldRevnXtrapltnType
_UtilsInstGroupType _UtilsInstGroupType
_UtilsInstGroupRole _UtilsInstGroupRole
_UtilsTemperatureArea _UtilsTemperatureArea
_UtilsBillingClass _UtilsBillingClass
_UtilitiesInstallation _UtilitiesInstallation
_UtilitiesRateCategory _UtilitiesRateCategory
_MeterReadingUnit _MeterReadingUnit

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_UtilitiesInstallationHist.
-- 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: IEINSTHISTORY

CREATE VIEW I_UtilitiesInstallationHist AS
SELECT
  eanlh.anlage AS UtilitiesInstallation,
  cast(eanlh.bis as e_inst_end_vdm preserving type) AS UtilsInstHistValidityEndDate,
  cast(eanlh.ab as e_inst_start_vdm preserving type) AS UtilsInstHistValidityStartDate,
  eanlh.tariftyp AS UtilitiesRateCategory,
  eanlh.schemanr AS UtilitiesBillingSchema,
  eanlh.aklasse AS UtilitiesBillingClass,
  eanlh.ableinh AS MeterReadingUnit,
  eanlh.temp_area AS UtilitiesTemperatureArea,
  eanlh.konzbefr AS UtilsInstIsExmptFrmFrnchsFee,
  eanlh.pauschal AS UtilsInstDvceAllctnIsNotAllwd,
  eanlh.konzver AS UtilitiesFranchiseContract,
  eanlh.billing_party AS UtilitiesBillingParty,
  eanlh.invoicing_party AS UtilitiesInvoicingParty,
  eanlh.prov_last_res AS ObligatorySupUtilsSrvcProvider,
  eanlh.maininst AS PrimaryUtilitiesInstallation,
  eanlh.instrole AS UtilsInstallationGroupRole,
  eanlh.instgrtype AS UtilsInstallationGroupType,
  eanlh.highlevinst AS HigherLevelUtilsInstallation,
  eanlh.hochart AS UnbilldRevnXtrapltnType,
  eanlh.pruefgr AS UtilsRegDepdntValdtnGroup,
  cast ( eanlh.branche as bu_ind_sector preserving type ) AS IndustrySector
FROM eanlh
LEFT OUTER JOIN I_UtilitiesInstallation AS _UtilitiesInstallation ON UtilitiesInstallation = _UtilitiesInstallation.UtilitiesInstallation  -- association [1..1]
LEFT OUTER JOIN I_UtilsDepdntValdtnGroup AS _UtilsDepdntValdtnGroup ON UtilsRegDepdntValdtnGroup = _UtilsDepdntValdtnGroup.UtilsRegDepdntValdtnGroup  -- association [0..1]
LEFT OUTER JOIN I_UtilsUnbilldRevnXtrapltnType AS _UtilsUnbilldRevnXtrapltnType ON UnbilldRevnXtrapltnType = _UtilsUnbilldRevnXtrapltnType.UnbilldRevnXtrapltnType  -- association [0..1]
LEFT OUTER JOIN I_UtilsInstGroupType AS _UtilsInstGroupType ON UtilsInstallationGroupType = _UtilsInstGroupType.UtilsInstallationGroupType  -- association [0..1]
LEFT OUTER JOIN I_UtilsInstGroupRole AS _UtilsInstGroupRole ON UtilsInstallationGroupRole = _UtilsInstGroupRole.UtilsInstallationGroupRole  -- association [0..1]
LEFT OUTER JOIN I_UtilsTemperatureArea AS _UtilsTemperatureArea ON UtilitiesTemperatureArea = _UtilsTemperatureArea.UtilitiesTemperatureArea  -- association [0..1]
LEFT OUTER JOIN I_UtilsBillingClass AS _UtilsBillingClass ON UtilitiesBillingClass = _UtilsBillingClass.UtilitiesBillingClass  -- association [0..1]
LEFT OUTER JOIN I_UtilitiesRateCategory AS _UtilitiesRateCategory ON UtilitiesRateCategory = _UtilitiesRateCategory.UtilitiesRateCategory  -- association [1..1]
LEFT OUTER JOIN I_MeterReadingUnit AS _MeterReadingUnit ON MeterReadingUnit = _MeterReadingUnit.MeterReadingUnit  -- association [1..1]
;