R_StatisticalKeyFigureTP

DDL: R_STATISTICALKEYFIGURETP Type: view_entity TRANSACTIONAL Package: RAP_FIN_CO_STAT_KEY_FIGURE

Statistical Key Figure - TP

R_StatisticalKeyFigureTP is a Transactional CDS View that provides data about "Statistical Key Figure - TP" in SAP S/4HANA. It reads from 1 data source (I_StatisticalKeyFigure) and exposes 17 fields with key fields StatisticalKeyFigure, ControllingArea. It has 1 association to related views. Part of development package RAP_FIN_CO_STAT_KEY_FIGURE.

Data Sources (1)

SourceAliasJoin Type
I_StatisticalKeyFigure I_StatisticalKeyFigure from

Associations (1)

CardinalityTargetAliasCondition
[0..*] R_StatisticalKeyFigureTextTP _StatisticalKeyFigureTextTP

Annotations (11)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label Statistical Key Figure - TP view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #ORGANIZATIONAL view
ObjectModel.sapObjectNodeType.name StatisticalKeyFigure view
ObjectModel.representativeKey StatisticalKeyFigure view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
Metadata.ignorePropagatedAnnotations true view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY StatisticalKeyFigure StatisticalKeyFigure
KEY ControllingArea ControllingArea
StatisticalKeyFigureForEdit StatisticalKeyFigure
ControllingAreaForEdit ControllingArea
StatisticalKeyFigureName
StstcKeyFigQuantityUnit
StstcKeyFigCategory
StstclKeyFigCreatedAtDateTime StstclKeyFigCreatedAtDateTime
StstclKeyFigLastChgdAtDteTme StstclKeyFigLastChgdAtDteTme
StstclKeyFigureCreatedByUser StstclKeyFigureCreatedByUser
StstclKeyFigLastChangedByUser StstclKeyFigLastChangedByUser
_ControllingArea _ControllingArea
_StatisticalKeyFigureCat _StatisticalKeyFigureCat
_StstclKeyFigureHierNode _StstclKeyFigureHierNode
_Text _Text
_UnitOfMeasure _UnitOfMeasure
_StatisticalKeyFigureTextTP _StatisticalKeyFigureTextTP
@AccessControl.authorizationCheck: #MANDATORY
@AccessControl.personalData.blocking: #NOT_REQUIRED

@EndUserText.label: 'Statistical Key Figure - TP'

@ObjectModel: {
  usageType: {
    serviceQuality: #A,
    sizeCategory: #M,
    dataClass: #ORGANIZATIONAL
  },
  semanticKey: [ 'StatisticalKeyFigure', 'ControllingArea' ],
  sapObjectNodeType.name: 'StatisticalKeyFigure'
}
@ObjectModel.representativeKey: 'StatisticalKeyFigure'

@VDM: {
  viewType: #TRANSACTIONAL,
  lifecycle.contract.type: #SAP_INTERNAL_API
}

@Metadata.ignorePropagatedAnnotations: true

define root view entity R_StatisticalKeyFigureTP
  as select from I_StatisticalKeyFigure
  composition [0..*] of R_StatisticalKeyFigureTextTP as _StatisticalKeyFigureTextTP
{
      @ObjectModel.text.association: '_StatisticalKeyFigureTextTP'
  key StatisticalKeyFigure,
  key ControllingArea,

      @ObjectModel.editableFieldFor: 'StatisticalKeyFigure'
      StatisticalKeyFigure as StatisticalKeyFigureForEdit,
      @ObjectModel.editableFieldFor: 'ControllingArea'
      ControllingArea      as ControllingAreaForEdit,
      
      @Semantics.text:true
      _Text[1:Language=$session.system_language].StatisticalKeyFigureName,
      cast (StstcKeyFigQuantityUnit as fis_ui_seinh preserving type ) as StstcKeyFigQuantityUnit,
      cast (StstcKeyFigCategory as fis_ui_grtyp preserving type) as StstcKeyFigCategory, 
      @Semantics: { dateTime: true }
      StstclKeyFigCreatedAtDateTime,
      @Semantics: { dateTime: true }
      StstclKeyFigLastChgdAtDteTme,
      StstclKeyFigureCreatedByUser,
      StstclKeyFigLastChangedByUser,      
      
      /* Associations */
      _ControllingArea,
      _StatisticalKeyFigureCat,
      _StstclKeyFigureHierNode,
      _Text,
      _UnitOfMeasure,
      _StatisticalKeyFigureTextTP
}