I_ClfnCharcValueDescForKeyDate

DDL: I_CLFNCHARCVALUEDESCFORKEYDATE SQL: INGCCHR13 Type: view COMPOSITE Package: NGC_CORE_VDM

Desc of Clfn Charc Val for Key Date

I_ClfnCharcValueDescForKeyDate is a Composite CDS View that provides data about "Desc of Clfn Charc Val for Key Date" in SAP S/4HANA. It reads from 1 data source (I_ClfnCharcValueDesc) and exposes 10 fields with key fields CharcInternalID, CharcValuePositionNumber, Language. It has 2 associations to related views. Part of development package NGC_CORE_VDM.

Data Sources (1)

SourceAliasJoin Type
I_ClfnCharcValueDesc CharcValueDesc from

Parameters (1)

NameTypeDefault
P_KeyDate sydate

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_ClfnCharacteristicForKeyDate _Characteristic $projection.CharcInternalID = _Characteristic.CharcInternalID
[1..1] I_ClfnCharcValueForKeyDate _CharacteristicValue $projection.CharcInternalID = _CharacteristicValue.CharcInternalID and $projection.CharcValuePositionNumber = _CharacteristicValue.CharcValuePositionNumber

Annotations (15)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName INGCCHR13 view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Desc of Clfn Charc Val for Key Date view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.dataCategory #TEXT view
ObjectModel.representativeKey CharcValuePositionNumber view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.modelingPattern #LANGUAGE_DEPENDENT_TEXT view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY CharcInternalID I_ClfnCharcValueDesc CharcInternalID
KEY CharcValuePositionNumber I_ClfnCharcValueDesc CharcValuePositionNumber
KEY Language I_ClfnCharcValueDesc Language
CharcValueDescription I_ClfnCharcValueDesc CharcValueDescription
ChangeNumber I_ClfnCharcValueDesc ChangeNumber
ValidityStartDate I_ClfnCharcValueDesc ValidityStartDate
ValidityEndDate I_ClfnCharcValueDesc ValidityEndDate
_Characteristic _Characteristic
_CharacteristicValue _CharacteristicValue
_Language _Language
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.sqlViewName: 'INGCCHR13'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Desc of Clfn Charc Val for Key Date'
@VDM.viewType: #COMPOSITE
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@Metadata.ignorePropagatedAnnotations: true

@ObjectModel.dataCategory: #TEXT
@ObjectModel.representativeKey: 'CharcValuePositionNumber'
@ObjectModel.usageType.sizeCategory: #M
@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.modelingPattern: #LANGUAGE_DEPENDENT_TEXT
@ObjectModel.supportedCapabilities:
  [  #LANGUAGE_DEPENDENT_TEXT,
     #CDS_MODELING_DATA_SOURCE,
     #CDS_MODELING_ASSOCIATION_TARGET,
     #SQL_DATA_SOURCE                  ]
/*+[hideWarning] { "IDS" : [ "KEY_CHECK" ] } */
define view I_ClfnCharcValueDescForKeyDate
  with parameters
    @Consumption.hidden: true
    @Environment.systemField: #SYSTEM_DATE
    P_KeyDate : sydate
  as select from I_ClfnCharcValueDesc as CharcValueDesc
     
      association [1..1] to I_ClfnCharacteristicForKeyDate as _Characteristic
        on $projection.CharcInternalID          = _Characteristic.CharcInternalID 

      association [1..1] to I_ClfnCharcValueForKeyDate as _CharacteristicValue
        on $projection.CharcInternalID          = _CharacteristicValue.CharcInternalID 
       and $projection.CharcValuePositionNumber = _CharacteristicValue.CharcValuePositionNumber 
{
      @ObjectModel.foreignKey.association: '_Characteristic' 
  key CharcValueDesc.CharcInternalID, 
  key CharcValueDesc.CharcValuePositionNumber,
      @ObjectModel.foreignKey.association: '_Language'
      @Semantics.language: true
  key CharcValueDesc.Language, 
      @Semantics.text: true 
      CharcValueDesc.CharcValueDescription, 
      CharcValueDesc.ChangeNumber, 
      @Semantics.businessDate.from: true
      CharcValueDesc.ValidityStartDate, 
      @Semantics.businessDate.to: true
      CharcValueDesc.ValidityEndDate,   
      
      _Characteristic,
      _CharacteristicValue,
      _Language
}
where CharcValueDesc.ValidityStartDate   <= $parameters.P_KeyDate
and   CharcValueDesc.ValidityEndDate     >= $parameters.P_KeyDate
and   CharcValueDesc.IsDeleted = ''