I_UTILSPRODCHARVALUE

CDS View

Utilities Product Characteristics Value

I_UTILSPRODCHARVALUE is a CDS View in S/4HANA. Utilities Product Characteristics Value. It contains 23 fields. 2 CDS views read from this table.

CDS Views using this table (2)

ViewTypeJoinVDMDescription
I_UtilsProdAttributes view left_outer COMPOSITE IS-U Product Attributes
I_UtilsStandardCharcValue view from COMPOSITE Utilities Product Standard Characteristic Value Table

Fields (23)

KeyField CDS FieldsUsed in Views
KEY Characteristic Characteristic 1
KEY ClfnObjectID UtilitiesReferenceProduct 1
CharcCheckTable CharcCheckTable 1
CharcDataType CharcDataType 1
CharcDecimals CharcDecimals 1
CharcFromAmount CharcFromAmount 1
CharcFromDate CharcFromDate 1
CharcFromDecimalValue CharcFromDecimalValue 1
CharcLength CharcLength 1
CharcReferenceTable CharcReferenceTable 1
CharcReferenceTableField CharcReferenceTableField 1
CharcToAmount CharcToAmount 1
CharcToDate CharcToDate 1
CharcToDecimalValue CharcToDecimalValue 1
CharcValue CharcValue 1
CharcValuePositionNumber CharcValuePositionNumber 2
CharcValueUnit CharcValueUnit 2
ClassType ClassType 1
ClfnObjectType ClfnObjectType 1
Currency Currency 1
ProductGroup ProductGroup 1
ValidityEndDate ValidityEndDate 1
ValidityStartDate ValidityStartDate 1
@AbapCatalog.sqlViewName: 'IUILPRDCHARVAL'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #COMPOSITE
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Utilities Product Characteristics Value'
define view I_UtilsProdCharValue
  as select from I_ClfnObjectCharcValForKeyDate(P_KeyDate: $session.system_date) as _V
    inner join   I_Product                                                       as _P on _P.Product = _V.ClfnObjectID
  association [0..*] to I_ClfnObjectCharcValue as _CharacteristicValue on  _CharacteristicValue.CharcInternalID = $projection.CharcInternalID
                                                                       and _CharacteristicValue.CharcValue      = $projection.CharcValue
  association [1..1] to I_ClfnCharacteristic   as _Characteristic
  // Usage of validity start and end date replaces key field TimeIntervalNumber of characteristic in the condition

                                                                       on  $projection.CharcInternalID   =  _Characteristic.CharcInternalID
                                                                       and $projection.ValidityStartDate <= _Characteristic.ValidityEndDate
                                                                       and $projection.ValidityEndDate   >= _Characteristic.ValidityStartDate
{
  key ClfnObjectID,
  key ClfnObjectTable,
  key CharcInternalID,
  key CharcValuePositionNumber,
  key ClfnObjectType,
  key ClassType,
      @Consumption.hidden
      _P.ProductType,
      _P.ProductGroup,
      @Consumption.hidden
      _P.AuthorizationGroup as ProductAuthorizationGroup,
      _V.ValidityStartDate,
      _V.ValidityEndDate,
      _Characteristic.Characteristic,
      _Characteristic.CharcDataType,
      CharcValue,
      _V.CharcFromAmount,
      _V.CharcToAmount,
      _V.Currency,
      _V.CharcFromDecimalValue,
      _V.CharcToDecimalValue,
      _V.CharcFromDate,
      _V.CharcToDate,
      _Characteristic.CharcValueUnit,
      _Characteristic.CharcDecimals,
      _Characteristic.CharcLength,
      _Characteristic.CharcCheckTable,
      _Characteristic.CharcReferenceTable,
      _Characteristic.CharcReferenceTableField,
      _Characteristic.CharcConversionRoutine,
      _P._ProductType,
      _P._ProductGroup
}
where
  ClfnObjectTable = 'MARA'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CLFNCHARACTERISTIC",
"I_CLFNOBJECTCHARCVALFORKEYDATE",
"I_PRODUCT"
],
"ASSOCIATED":
[
"I_CLFNCHARACTERISTIC",
"I_CLFNOBJECTCHARCVALUE",
"I_PRODUCTGROUP",
"I_PRODUCTTYPE"
],
"BASE":
[
"I_PRODUCT"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/