I_UtilitiesInstallationHist
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
| Category | Installation |
|---|---|
| Data Category | Dimension |
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
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Utilities |
| Application Component | IS-U-MD |
| Capabilities | Data 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 |
| Package | Utilities for SAP S/4HANA |
| Description | <p>This CDS view retrieves general installation history-related data.</p> |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA, onpremise edition — Explore SAP S/4HANA Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| eanlh | eanlh | from |
Associations (9)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA