I_UtilsProdRateCat
Rate Category for Utilities Product
I_UtilsProdRateCat is a Composite CDS View that provides data about "Rate Category for Utilities Product" in SAP S/4HANA. It reads from 3 data sources (I_ClfnCharacteristic, I_UtilsCommonFields, I_Product) and exposes 8 fields with key fields CharcInternalID, UtilitiesProduct. It has 2 associations to related views.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_ClfnCharacteristic | _C | inner |
| I_UtilsCommonFields | _Comm | inner |
| I_Product | _P | inner |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_UtilitiesRateCategory | _RateCategory | $projection.UtilitiesRateCategory = _RateCategory.UtilitiesRateCategory |
| [0..1] | I_UtilsBillingClassesT | _BillingClassText | _RateCategory.UtilitiesBillingClass = _BillingClassText.UtilitiesBillingClass and _BillingClassText.Language = $session.system_language |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IUILPRODRATEC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Rate Category for Utilities Product | view |
Fields (8)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CharcInternalID | CharacteristicsValue | CharcInternalID | |
| KEY | UtilitiesProduct | CharacteristicsValue | ClfnObjectID | |
| Characteristic | I_ClfnCharacteristic | Characteristic | ||
| UtilitiesRateCategory | CharacteristicsValue | CharcValue | ||
| ProductGroup | I_Product | ProductGroup | ||
| _RateCategory | _RateCategory | |||
| UtilitiesBillingClass | _RateCategory | UtilitiesBillingClass | ||
| _BillingClassText | _BillingClassText |
@AbapCatalog.sqlViewName: 'IUILPRODRATEC'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #COMPOSITE
@ObjectModel.usageType.dataClass: #MIXED
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #XL
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Rate Category for Utilities Product'
define view I_UtilsProdRateCat
as select distinct from I_ClfnObjectCharcValue as CharacteristicsValue
inner join I_ClfnCharacteristic as _C on _C.CharcInternalID = CharacteristicsValue.CharcInternalID
inner join I_Product as _P on _P.Product = CharacteristicsValue.ClfnObjectID
inner join I_UtilsCommonFields as _Comm on _Comm.UtilsProductGroup = _P.ProductGroup
or _Comm.UtilsReferenceProductGroup = _P.ProductGroup
association [0..1] to I_UtilitiesRateCategory as _RateCategory on $projection.UtilitiesRateCategory = _RateCategory.UtilitiesRateCategory
association [0..1] to I_UtilsBillingClassesT as _BillingClassText on _RateCategory.UtilitiesBillingClass = _BillingClassText.UtilitiesBillingClass
and _BillingClassText.Language = $session.system_language
{
key CharacteristicsValue.CharcInternalID,
key CharacteristicsValue.ClfnObjectID as UtilitiesProduct,
_C.Characteristic,
// cast(CharacteristicsValue.CharcValue as tariftyp) as UtilitiesRateCategory,
CharacteristicsValue.CharcValue as UtilitiesRateCategory,
_P.ProductGroup,
_RateCategory,
_RateCategory.UtilitiesBillingClass,
// _BillingClassText.UtilitiesBillingClassName,
_BillingClassText
}
where
_C.Characteristic = _Comm.RateCatCharacteristic
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CLFNCHARACTERISTIC",
"I_CLFNOBJECTCHARCVALUE",
"I_PRODUCT",
"I_UTILITIESRATECATEGORY",
"I_UTILSCOMMONFIELDS"
],
"ASSOCIATED":
[
"I_UTILITIESRATECATEGORY",
"I_UTILSBILLINGCLASSEST"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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