I_UtilsDeviceRateData

DDL: I_UTILSDEVICERATEDATA SQL: IEDVCERATEDATA Type: view BASIC

Device Rate Data

I_UtilsDeviceRateData (Basic)

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

UtilsDeviceRateData · Utilities

I_UtilsDeviceRateData is a Basic CDS View (Dimension) that provides data about "Device Rate Data" in SAP S/4HANA. It reads from 1 data source (eastl) and exposes 14 fields with key fields UtilitiesLogicalDeviceNumber, UtilitiesInstallation, UtilsDvceRateDataValdtyEndDte. It has 4 associations to related views.

SAP Help Documentation

CategoryDevice Management
Data CategoryDimension
StatusC1
Purpose
This CDS view retrieves rate data for an installation structure at device level. To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

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

Structure
Important fields in this view include the following: Field Name Description UtilitiesLogicalDeviceNumber Logical Device Number UtilitiesInstallation Installation UtilsDeviceRateType Device Rate Type UtilsDeviceRateFactGroup Device Rate Fact Group

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessUtilities
Application ComponentIS-U-DM
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 rate data for an installation structure at device level.</p> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
eastl eastl from

Associations (4)

CardinalityTargetAliasCondition
[0..1] I_UtilsDevicePriceClass _UtilsDevicePriceClass $projection.UtilsDevicePriceClass = _UtilsDevicePriceClass.UtilsDevicePriceClass
[0..1] I_UtilsDeviceRateType _UtilsDeviceRateType $projection.UtilsDeviceRateType = _UtilsDeviceRateType.UtilsDeviceRateType
[0..1] I_UtilsDeviceRateFactGrp _UtilsDeviceRateFactGrp $projection.UtilsDeviceRateFactGroup = _UtilsDeviceRateFactGrp.UtilsDeviceRateFactGroup
[1..1] I_UtilitiesInstallation _UtilitiesInstallation $projection.UtilitiesInstallation = _UtilitiesInstallation.UtilitiesInstallation

Annotations (17)

NameValueLevelField
EndUserText.label Device Rate Data view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
Analytics.dataExtraction.enabled true view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.sqlViewName IEDVCERATEDATA view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.allowExtensions true view
AbapCatalog.compiler.compareFilter true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.representativeKey UtilitiesLogicalDeviceNumber view
ObjectModel.sapObjectNodeType.name UtilsDeviceRateData view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY UtilitiesLogicalDeviceNumber logiknr Logical device number
KEY UtilitiesInstallation anlage Installation
KEY UtilsDvceRateDataValdtyEndDte Validity End Date of Device Rate Data
UtilsDvceRateDataValdtyStrtDte Validity Start Date of Device Rate Data
UtilsInstallationDvceRateData anlage Installation
UtilsDevicePriceClass preiskla Price Class
UtilsDvceIsRelevantForRntlPrc gverrech Pay rental price
UtilsDeviceRateType tarifart Rate Type
UtilsDeviceRateFactGroup kondigr Rate fact group
UtilsDvceIsNotBillingRelevant device_nbr Device Not Relevant for Billing
_UtilsDevicePriceClass _UtilsDevicePriceClass
_UtilsDeviceRateType _UtilsDeviceRateType
_UtilsDeviceRateFactGrp _UtilsDeviceRateFactGrp
_UtilitiesInstallation _UtilitiesInstallation

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_UtilsDeviceRateData.
-- 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: IEDVCERATEDATA

CREATE VIEW I_UtilsDeviceRateData AS
SELECT
  logiknr AS UtilitiesLogicalDeviceNumber,
  anlage AS UtilitiesInstallation,
  cast(bis as e_devrate_end_vdm preserving type) AS UtilsDvceRateDataValdtyEndDte,
  cast(ab as e_devrate_start_vdm preserving type) AS UtilsDvceRateDataValdtyStrtDte,
  anlage AS UtilsInstallationDvceRateData,
  preiskla AS UtilsDevicePriceClass,
  gverrech AS UtilsDvceIsRelevantForRntlPrc,
  tarifart AS UtilsDeviceRateType,
  kondigr AS UtilsDeviceRateFactGroup,
  device_nbr AS UtilsDvceIsNotBillingRelevant
FROM eastl
LEFT OUTER JOIN I_UtilsDevicePriceClass AS _UtilsDevicePriceClass ON UtilsDevicePriceClass = _UtilsDevicePriceClass.UtilsDevicePriceClass  -- association [0..1]
LEFT OUTER JOIN I_UtilsDeviceRateType AS _UtilsDeviceRateType ON UtilsDeviceRateType = _UtilsDeviceRateType.UtilsDeviceRateType  -- association [0..1]
LEFT OUTER JOIN I_UtilsDeviceRateFactGrp AS _UtilsDeviceRateFactGrp ON UtilsDeviceRateFactGroup = _UtilsDeviceRateFactGrp.UtilsDeviceRateFactGroup  -- association [0..1]
LEFT OUTER JOIN I_UtilitiesInstallation AS _UtilitiesInstallation ON UtilitiesInstallation = _UtilitiesInstallation.UtilitiesInstallation  -- association [1..1]
;