C_FinStatisticalKeyFigure

DDL: C_FINSTATISTICALKEYFIGURE SQL: CFIFINSSKF Type: view CONSUMPTION

Read Statistical Key Figures per Period

C_FinStatisticalKeyFigure is a Consumption CDS View that provides data about "Read Statistical Key Figures per Period" in SAP S/4HANA. It reads from 2 data sources (I_Ledger, I_FinStatisticalKeyFigureItem) and exposes 38 fields.

Data Sources (2)

SourceAliasJoin Type
I_Ledger _Ledger inner
I_FinStatisticalKeyFigureItem I_FinStatisticalKeyFigureItem from

Annotations (13)

NameValueLevelField
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.sqlViewName CFIFINSSKF view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Read Statistical Key Figures per Period view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.buffering.status #NOT_ALLOWED view
Metadata.ignorePropagatedAnnotations true view
Analytics.settings.maxProcessingEffort #HIGH view

Fields (38)

KeyFieldSource TableSource FieldDescription
Ledger I_FinStatisticalKeyFigureItem Ledger Ledger
CompanyCode CompanyCode Receiver Company Code
StatisticalKeyFigure StatisticalKeyFigure Statistical Key Figure
FiscalYear FiscalYear G/L Fiscal Year
FiscalPeriod FiscalPeriod Tax period
PlanningCategory PlanningCategory Plan Category
ControllingArea ControllingArea Controlling Area
FiscalYearPeriod Period/Year
StatisticalKeyFigureCategory StatisticalKeyFigureCategory Stat. Key Fig. Cat.
Segment Segment Segment number
ProfitCenter ProfitCenter Profit Center
CostCenter CostCenter Cost Center
StatisticalKeyFigQtyUnit
IntmdStatisticalKeyFigFixedQty IntmdStatisticalKeyFigFixedQty
IntmdStatisticalKeyFigSumQty IntmdStatisticalKeyFigSumQty
StstclKeyFigIntmdActlFixedQty StstclKeyFigIntmdActlFixedQty
StstclKeyFigIntmdPlanFixedQty StstclKeyFigIntmdPlanFixedQty
StstclKeyFigIntmdActlSumQty StstclKeyFigIntmdActlSumQty
StstclKeyFigIntmdPlanSumQty StstclKeyFigIntmdPlanSumQty
StatisticalKeyFigFixedQty
StatisticalKeyFigSumQty
StatisticalKeyFigureQuantity
StatisticalKeyFigPlanFixedQty
StatisticalKeyFigPlanSumQty
StatisticalKeyFigurePlanQty
FunctionalArea FunctionalArea Sendr Fctl Area
BusinessArea BusinessArea Business Area
OrderID OrderID Order ID
CostCtrActivityType CostCtrActivityType Activity Type
WBSElement WBSElement WBS Internal ID
ControllingBusTransacType ControllingBusTransacType CO Bus. Transaction
ControllingObject ControllingObject Object number
ControllingObjectClass ControllingObjectClass Object Class
SalesOrder SalesOrder SD Document
SalesOrderItem SalesOrderItem Sales Order Item
ServiceDocumentType ServiceDocumentType Transaction Type
ServiceDocument ServiceDocument Transaction ID
ServiceDocumentItem ServiceDocumentItem Service Document

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 C_FinStatisticalKeyFigure.
-- 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: CFIFINSSKF

CREATE VIEW C_FinStatisticalKeyFigure AS
SELECT
  I_FinStatisticalKeyFigureItem.Ledger AS Ledger,
  CompanyCode,
  StatisticalKeyFigure,
  FiscalYear,
  FiscalPeriod,
  PlanningCategory,
  ControllingArea,
  cast(FiscalYearPeriod as abap.char(8)) AS FiscalYearPeriod,
  StatisticalKeyFigureCategory,
  Segment,
  ProfitCenter,
  CostCenter,
  cast( I_FinStatisticalKeyFigureItem.StatisticalKeyFigQtyUnit as fis_ui_seinh preserving type ) AS StatisticalKeyFigQtyUnit,
  IntmdStatisticalKeyFigFixedQty,
  IntmdStatisticalKeyFigSumQty,
  StstclKeyFigIntmdActlFixedQty,
  StstclKeyFigIntmdPlanFixedQty,
  StstclKeyFigIntmdActlSumQty,
  StstclKeyFigIntmdPlanSumQty,
  cast( cast( IntmdStatisticalKeyFigFixedQty as abap.quan(23,3)) as fis_ui_fixed_smexxx_long ) AS StatisticalKeyFigFixedQty,
  cast( cast( IntmdStatisticalKeyFigSumQty as abap.quan(23,3)) as fis_ui_sum_smexxx_long ) AS StatisticalKeyFigSumQty,
  cast( cast(StatisticalKeyFigSumQty + StatisticalKeyFigFixedQty as abap.quan(23,3)) as fis_ui_smexxx_long ) AS StatisticalKeyFigureQuantity,
  cast( cast(StstclKeyFigIntmdPlanFixedQty as abap.quan(23,3)) as fis_ui_pln_fixed_smexxx_long ) AS StatisticalKeyFigPlanFixedQty,
  cast( cast(StstclKeyFigIntmdPlanSumQty as abap.quan(23,3)) as fis_ui_pln_sum_smexxx_long ) AS StatisticalKeyFigPlanSumQty,
  cast( cast(StatisticalKeyFigPlanFixedQty + StatisticalKeyFigPlanSumQty as abap.quan(23,3)) as fis_ui_pln_smexxx_long ) AS StatisticalKeyFigurePlanQty,
  FunctionalArea,
  BusinessArea,
  OrderID,
  CostCtrActivityType,
  WBSElement,
  ControllingBusTransacType,
  ControllingObject,
  ControllingObjectClass,
  SalesOrder,
  SalesOrderItem,
  ServiceDocumentType,
  ServiceDocument,
  ServiceDocumentItem
FROM I_FinStatisticalKeyFigureItem
INNER JOIN I_Ledger AS _Ledger ON /* join condition not captured in parsed metadata */
;