I_UtilsProdCharValue

DDL: I_UTILSPRODCHARVALUE SQL: IUILPRDCHARVAL Type: view COMPOSITE

Utilities Product Characteristics Value

I_UtilsProdCharValue is a Composite CDS View that provides data about "Utilities Product Characteristics Value" in SAP S/4HANA. It reads from 2 data sources (I_Product, I_ClfnObjectCharcValForKeyDate) and exposes 54 fields with key fields ClfnObjectID, ClfnObjectTable, CharcInternalID, CharcValuePositionNumber, ClfnObjectType. It has 2 associations to related views.

Data Sources (2)

SourceAliasJoin Type
I_Product _P inner
I_ClfnObjectCharcValForKeyDate I_ClfnObjectCharcValForKeyDate from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_ClfnObjectCharcValue _CharacteristicValue _CharacteristicValue.CharcInternalID = $projection.CharcInternalID and _CharacteristicValue.CharcValue = $projection.CharcValue
[1..1] I_ClfnCharacteristic _Characteristic $projection.CharcInternalID = _Characteristic.CharcInternalID and $projection.ValidityStartDate <= _Characteristic.ValidityEndDate and $projection.ValidityEndDate >= _Characteristic.ValidityStartDate

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IUILPRDCHARVAL view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Utilities Product Characteristics Value view

Fields (54)

KeyFieldSource TableSource FieldDescription
KEY ClfnObjectID _V ClfnObjectID
KEY ClfnObjectTable _V ClfnObjectTable
KEY CharcInternalID _V CharcInternalID Characteristic Internal ID
KEY CharcValuePositionNumber _V CharcValuePositionNumber
KEY ClfnObjectType _V ClfnObjectType Object/Class
KEY ClassType _V ClassType X Flag
ProductType I_Product ProductType Product Type Group
ProductGroup I_Product ProductGroup Product Sold Group
ProductAuthorizationGroup I_Product AuthorizationGroup AuthorizGroup
ValidityStartDate _V ValidityStartDate Validity Start Date
ValidityEndDate _V ValidityEndDate ValidTo
Characteristic _Characteristic Characteristic Field Name
CharcDataType _Characteristic CharcDataType Format
CharcValue _V CharcValue Char. Value
CharcFromAmount _V CharcFromAmount LowrBndry Crcy
CharcToAmount _V CharcToAmount UprBndry Crcy
Currency _V Currency Valuation Crcy
CharcFromDecimalValue _V CharcFromDecimalValue LowrBndry Nmrc
CharcToDecimalValue _V CharcToDecimalValue UprBndry Nmrc
CharcFromDate _V CharcFromDate LowrBndry Date
CharcToDate _V CharcToDate UprBndry Date
CharcFromNumericValue _V CharcFromNumericValue Value from
CharcToNumericValue _V CharcToNumericValue Value to
CharcFromNumericValueUnit _V CharcFromNumericValueUnit Internal UoM
CharcToNumericValueUnit _V CharcToNumericValueUnit Internal UoM
CharcFromTime _V CharcFromTime LowrBndry Time
CharcToTime _V CharcToTime UprBndry Time
CharcValueUnit _Characteristic CharcValueUnit Internal UoM
CharcDecimals _Characteristic CharcDecimals Decimal Places
CharcLength _Characteristic CharcLength Number of Chars
CharcCheckTable _Characteristic CharcCheckTable
CharcReferenceTable _Characteristic CharcReferenceTable
CharcReferenceTableField _Characteristic CharcReferenceTableField
CharcConversionRoutine _Characteristic CharcConversionRoutine
ValueIntervalIsAllowed _Characteristic ValueIntervalIsAllowed
AdditionalValueIsAllowed _Characteristic AdditionalValueIsAllowed
MultipleValuesAreAllowed _Characteristic MultipleValuesAreAllowed
VarConfignValueAssignmentType
_ProductType I_Product _ProductType
_ProductGroup I_Product _ProductGroup
EntryIsRequired _Characteristic EntryIsRequired
NegativeValueIsAllowed _Characteristic NegativeValueIsAllowed
ValueIsCaseSensitive _Characteristic ValueIsCaseSensitive
CharcIsHidden _Characteristic CharcIsHidden
CharcIsReadOnly _Characteristic CharcIsReadOnly
CharcIsRestrictable _Characteristic CharcIsRestrictable
CharcStatus _Characteristic CharcStatus Status
CharcTemplate _Characteristic CharcTemplate
CharcExponentFormat _Characteristic CharcExponentFormat
CharcExponentValue _Characteristic CharcExponentValue
CharcMaintAuthGrp _Characteristic CharcMaintAuthGrp
IsDefaultValue
Associations_CharacteristicValue
_Characteristic _Characteristic

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_UtilsProdCharValue.
-- 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: IUILPRDCHARVAL

CREATE VIEW I_UtilsProdCharValue AS
SELECT
  _V.ClfnObjectID AS ClfnObjectID,
  _V.ClfnObjectTable AS ClfnObjectTable,
  _V.CharcInternalID AS CharcInternalID,
  _V.CharcValuePositionNumber AS CharcValuePositionNumber,
  _V.ClfnObjectType AS ClfnObjectType,
  _V.ClassType AS ClassType,
  _P.ProductType AS ProductType,
  _P.ProductGroup AS ProductGroup,
  _P.AuthorizationGroup AS ProductAuthorizationGroup,
  _V.ValidityStartDate AS ValidityStartDate,
  _V.ValidityEndDate AS ValidityEndDate,
  _Characteristic.Characteristic AS Characteristic,
  _Characteristic.CharcDataType AS CharcDataType,
  _V.CharcValue AS CharcValue,
  _V.CharcFromAmount AS CharcFromAmount,
  _V.CharcToAmount AS CharcToAmount,
  _V.Currency AS Currency,
  _V.CharcFromDecimalValue AS CharcFromDecimalValue,
  _V.CharcToDecimalValue AS CharcToDecimalValue,
  _V.CharcFromDate AS CharcFromDate,
  _V.CharcToDate AS CharcToDate,
  _V.CharcFromNumericValue AS CharcFromNumericValue,
  _V.CharcToNumericValue AS CharcToNumericValue,
  _V.CharcFromNumericValueUnit AS CharcFromNumericValueUnit,
  _V.CharcToNumericValueUnit AS CharcToNumericValueUnit,
  _V.CharcFromTime AS CharcFromTime,
  _V.CharcToTime AS CharcToTime,
  _Characteristic.CharcValueUnit AS CharcValueUnit,
  _Characteristic.CharcDecimals AS CharcDecimals,
  _Characteristic.CharcLength AS CharcLength,
  _Characteristic.CharcCheckTable AS CharcCheckTable,
  _Characteristic.CharcReferenceTable AS CharcReferenceTable,
  _Characteristic.CharcReferenceTableField AS CharcReferenceTableField,
  _Characteristic.CharcConversionRoutine AS CharcConversionRoutine,
  _Characteristic.ValueIntervalIsAllowed AS ValueIntervalIsAllowed,
  _Characteristic.AdditionalValueIsAllowed AS AdditionalValueIsAllowed,
  _Characteristic.MultipleValuesAreAllowed AS MultipleValuesAreAllowed,
  cast( 5 as vch_hl_assignment_type ) AS VarConfignValueAssignmentType,
  _P._ProductType AS _ProductType,
  _P._ProductGroup AS _ProductGroup,
  _Characteristic.EntryIsRequired AS EntryIsRequired,
  _Characteristic.NegativeValueIsAllowed AS NegativeValueIsAllowed,
  _Characteristic.ValueIsCaseSensitive AS ValueIsCaseSensitive,
  _Characteristic.CharcIsHidden AS CharcIsHidden,
  _Characteristic.CharcIsReadOnly AS CharcIsReadOnly,
  _Characteristic.CharcIsRestrictable AS CharcIsRestrictable,
  _Characteristic.CharcStatus AS CharcStatus,
  _Characteristic.CharcTemplate AS CharcTemplate,
  _Characteristic.CharcExponentFormat AS CharcExponentFormat,
  _Characteristic.CharcExponentValue AS CharcExponentValue,
  _Characteristic.CharcMaintAuthGrp AS CharcMaintAuthGrp,
  cast( '' as atstd preserving type ) AS IsDefaultValue
FROM I_ClfnObjectCharcValForKeyDate
INNER JOIN I_Product AS _P ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ClfnObjectCharcValue AS _CharacteristicValue ON _CharacteristicValue.CharcInternalID = CharcInternalID AND _CharacteristicValue.CharcValue = CharcValue  -- association [0..*]
LEFT OUTER JOIN I_ClfnCharacteristic AS _Characteristic ON CharcInternalID = _Characteristic.CharcInternalID AND ValidityStartDate <= _Characteristic.ValidityEndDate AND ValidityEndDate >= _Characteristic.ValidityStartDate  -- association [1..1]
;