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 Statistical Key Figure
KEY ControllingArea ControllingArea Controlling Area
StatisticalKeyFigureForEdit StatisticalKeyFigure Statistical Key Figure
ControllingAreaForEdit ControllingArea Controlling Area
StatisticalKeyFigureName
StstcKeyFigQuantityUnit Quantity Unit
StstcKeyFigCategory Category
StstclKeyFigCreatedAtDateTime StstclKeyFigCreatedAtDateTime Creation Time
StstclKeyFigLastChgdAtDteTme StstclKeyFigLastChgdAtDteTme Last Changed At
StstclKeyFigureCreatedByUser StstclKeyFigureCreatedByUser Created By
StstclKeyFigLastChangedByUser StstclKeyFigLastChangedByUser Username
_ControllingArea _ControllingArea
_StatisticalKeyFigureCat _StatisticalKeyFigureCat
_StstclKeyFigureHierNode _StstclKeyFigureHierNode
_Text _Text
_UnitOfMeasure _UnitOfMeasure
_StatisticalKeyFigureTextTP _StatisticalKeyFigureTextTP

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 R_StatisticalKeyFigureTP.
-- 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.

CREATE VIEW R_StatisticalKeyFigureTP AS
SELECT
  StatisticalKeyFigure,
  ControllingArea,
  StatisticalKeyFigure AS StatisticalKeyFigureForEdit,
  ControllingArea AS ControllingAreaForEdit,
  _Text[1:Language=$session.system_language].StatisticalKeyFigureName AS StatisticalKeyFigureName,
  cast (StstcKeyFigQuantityUnit as fis_ui_seinh preserving type ) AS StstcKeyFigQuantityUnit,
  cast (StstcKeyFigCategory as fis_ui_grtyp preserving type) AS StstcKeyFigCategory,
  StstclKeyFigCreatedAtDateTime,
  StstclKeyFigLastChgdAtDteTme,
  StstclKeyFigureCreatedByUser,
  StstclKeyFigLastChangedByUser
FROM I_StatisticalKeyFigure
LEFT OUTER JOIN R_StatisticalKeyFigureTextTP AS _StatisticalKeyFigureTextTP ON /* condition not available in parsed metadata */  -- association [0..*]
;