I_UtilsPriceHeader

DDL: I_UTILSPRICEHEADER SQL: IEUILPRICEHEADR Type: view BASIC

Utilities Price Master

I_UtilsPriceHeader is a Basic CDS View that provides data about "Utilities Price Master" in SAP S/4HANA. It reads from 1 data source (eprei) and exposes 17 fields with key fields UtilsPriceID, UtilsPriceCategory, UtilsPriceLevel. It has 6 associations to related views.

SAP Help Documentation

CategoryCDS Views for the Utilities Product Integration Layer
StatusNot Released
Purpose
This CDS view retrieves all the price attributes along with their price category, division, and so on of an existing price ID. This view provides the data to answer the business question: What are the header attributes of a utilities price key?

Prerequisites
You have authorization to access the utilities price object.

Structure
Main parameters and filters of the CDS view The main parameters are as follows: UtilsPriceID UtilsPriceCategory The important fields of this view are as follows: Field Name Description Preis UtilsPriceID Preistyp UtilsPriceCategory Sparte Division Mass UtilsMeasurementUnit Aklasse UtilitiesBillingClass Timbasis UtilsTimeBasis Timtyp UtilsTimeCategory Preisart UtilsPriceTierType You can navigate from the I_UtilitiesPrice view to the following associated views (including detailed field and data type information), which are lower in the hierarchy: UtilsPriceFrequencyUnit UtilsPriceCategory UtilsChargeTierType UtilitiesPriceText UnitOfMeasure Measures and attributes Some important measures and attributes are: The Division attribute to indicate whether the division category of the utilities product is electricity, gas, or water. The UtilitiesBillingClass attribute to indicate whether the billing class is residential or commercial. The PriceCategory attribute to indciate whether the price category of the price key is a quantity-based price, a flat rate, a rental price, or a time-dependent price.

View on SAP Help Portal →

Data Sources (1)

SourceAliasJoin Type
eprei eprei from

Associations (6)

CardinalityTargetAliasCondition
[0..1] I_UtilitiesPriceText _UtilitiesPriceText $projection.UtilsPriceID = _UtilitiesPriceText.UtilsPriceID and $projection.UtilsPriceCategory = _UtilitiesPriceText.UtilsPriceCategory and $projection.UtilsPriceLevel = _UtilitiesPriceText.UtilsPriceLevel and _UtilitiesPriceText.Language = $session.system_language
[1..1] I_UtilsChargeTierTypeVH _UtilsChargeTierType $projection.UtilsPriceTierType = _UtilsChargeTierType.UtilsPriceTierType
[1..1] I_UtilsPriceCategoryVH _UtilsPriceCategory $projection.UtilsPriceCategory = _UtilsPriceCategory.UtilsPriceCategory
[1..1] I_UtilsTimeCategoryVH _UtilsPriceFrequencyUnit $projection.UtilsTimeCategory = _UtilsPriceFrequencyUnit.UtilsTimeCategory
[0..1] I_UnitOfMeasure _UnitOfMeasure $projection.UtilsMeasurementUnit = _UnitOfMeasure.UnitOfMeasure
[1..1] I_UtilsPriceOriginVH _UtilsPriceOrigin $projection.UtilsPriceOrigin = _UtilsPriceOrigin.UtilsPriceOrigin

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IEUILPRICEHEADR view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #BASIC view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey UtilsPriceID view
EndUserText.label Utilities Price Master view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY UtilsPriceID preis Valuation Price
KEY UtilsPriceCategory preistyp Price category
KEY UtilsPriceLevel preistuf Price level
Division sparte Insurance LOB
UtilsMeasurementUnit mass Unit of meas.
UtilitiesBillingClass aklasse Billing Class
UtilsTimeBasis timbasis Time basis
UtilsTimeCategory timtyp Time Type
UtilsPriceTierType preisart Price type
UtilitiesAuthorizationGroup begru AuthorizGroup
UtilsPriceOrigin priceorigin Price Origin
_UtilsChargeTierType _UtilsChargeTierType
_UtilsPriceFrequencyUnit _UtilsPriceFrequencyUnit
_UtilsPriceCategory _UtilsPriceCategory
_UtilitiesPriceText _UtilitiesPriceText
_UnitOfMeasure _UnitOfMeasure
_UtilsPriceOrigin _UtilsPriceOrigin

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_UtilsPriceHeader.
-- 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: IEUILPRICEHEADR

CREATE VIEW I_UtilsPriceHeader AS
SELECT
  preis AS UtilsPriceID,
  preistyp AS UtilsPriceCategory,
  preistuf AS UtilsPriceLevel,
  sparte AS Division,
  mass AS UtilsMeasurementUnit,
  aklasse AS UtilitiesBillingClass,
  timbasis AS UtilsTimeBasis,
  timtyp AS UtilsTimeCategory,
  preisart AS UtilsPriceTierType,
  begru AS UtilitiesAuthorizationGroup,
  priceorigin AS UtilsPriceOrigin
FROM eprei
LEFT OUTER JOIN I_UtilitiesPriceText AS _UtilitiesPriceText ON UtilsPriceID = _UtilitiesPriceText.UtilsPriceID AND UtilsPriceCategory = _UtilitiesPriceText.UtilsPriceCategory AND UtilsPriceLevel = _UtilitiesPriceText.UtilsPriceLevel AND _UtilitiesPriceText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_UtilsChargeTierTypeVH AS _UtilsChargeTierType ON UtilsPriceTierType = _UtilsChargeTierType.UtilsPriceTierType  -- association [1..1]
LEFT OUTER JOIN I_UtilsPriceCategoryVH AS _UtilsPriceCategory ON UtilsPriceCategory = _UtilsPriceCategory.UtilsPriceCategory  -- association [1..1]
LEFT OUTER JOIN I_UtilsTimeCategoryVH AS _UtilsPriceFrequencyUnit ON UtilsTimeCategory = _UtilsPriceFrequencyUnit.UtilsTimeCategory  -- association [1..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasure ON UtilsMeasurementUnit = _UnitOfMeasure.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_UtilsPriceOriginVH AS _UtilsPriceOrigin ON UtilsPriceOrigin = _UtilsPriceOrigin.UtilsPriceOrigin  -- association [1..1]
;