I_FinStatisticalKeyFigureItem

DDL: I_FINSTATISTICALKEYFIGUREITEM Type: view_entity COMPOSITE

Statistical Keyfigures per period

I_FinStatisticalKeyFigureItem (Composite)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Accounting and Financial Close

I_FinStatisticalKeyFigureItem is a Composite CDS View (Cube) that provides data about "Statistical Keyfigures per period" in SAP S/4HANA. It reads from 1 data source (P_FinStatisticalKeyFigureItem) and exposes 59 fields with key fields Ledger, CompanyCode, StatisticalKeyFigure, FiscalYear, FiscalPeriod. It has 1 association to related views.

SAP Help Documentation

CategoryCDS Views for Overhead Cost Controlling
Data CategoryCube
Purpose
This CDS view is designed to provide a comprehensive overview of statistical key figures per period within a financial context. It aggregates and categorizes various quantities related to statistical key figures, allowing for detailed analysis and reporting. The view integrates data from multiple associations, such as controlling areas, ledgers, company codes, cost centers, profit centers, and more, to offer a holistic view of financial statistics across different dimensions. This CDS view provides the data to answer the following business questions: What are the statistical key figures for a specific fiscal period and year? How do statistical key figures vary across different controlling areas and company codes? What are the quantities associated with statistical key figures, categorized by fixed, sum, actual, and plan quantities? How can statistical key figures be analyzed in relation to cost centers, profit centers, and other organizational units? What is the impact of different ledger types and fiscal year variants on statistical key figures? How do statistical key figures relate to specific orders, sales documents, and service documents? What are the quantities of statistical key figures in terms of actual versus planned values? How do statistical key figures align with budget periods and planning categories? What are the associations between statistical key figures and various financial dimensions such as segments, functional areas, and business areas? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations Users who want to use this CDS view must have the following authorization objects assigned: Authorization Object ID Authorization Object Text F_BKPF_BUK Accounting Document: Authorization for Company Codes F_BKPF_FKB Accounting Document: Authorization for Functional Area F_BKPF_GSB Accounting Document: Authorization for Business Areas F_FAGL_LDR General Ledger: Authorization for Ledger F_FAGL_SEG General Ledger: Authorization for Segment F_FINS_SKF FI: Processing of Statistical Key Figures K_ACDOCP_P Financials planning via table ACDOCP K_ORDER CO-OPA: General authorization object for internal orders K_PCAR_REP EC-PCA: Summary and Line Item Reports K_REPO_CCA CO-CCA: Reporting on Cost Centers/Cost Elements V_VBAK_AAT Sales Document: Authorization for Sales Document Types V_VBAK_VKO Sales Document: Authorization for Sales Areas

Structure
Important Fields Important fields in this view include the following: Field Name Description STSTCLKEYFIGINTMDPLANSUMQTY Statistical KeyFig Plan Sum Quantity STSTCLKEYFIGINTMDACTLSUMQTY Statistical KeyFig Actual Sum Quantity STSTCLKEYFIGINTMDPLANFIXEDQTY Statistical KeyFig Plan Fixed Quantity STSTCLKEYFIGINTMDACTLFIXEDQTY Statistical KeyFig Actual Fixed Quantity INTMDSTATISTICALKEYFIGSUMQTY StatKeyFig. Sum Qty INTMDSTATISTICALKEYFIGFIXEDQTY StatKeyFig. FixedQty STATISTICALKEYFIGPLANSUMQTY Statistical KeyFig Plan Sum Quantity STATISTICALKEYFIGACTLSUMQTY Statistical KeyFig Actual Sum Quantity STATISTICALKEYFIGPLANFIXEDQTY Statistical KeyFig Plan Fixed Quantity STATISTICALKEYFIGACTLFIXEDQTY Statistical KeyFig Actual Fixed Quantity STATISTICALKEYFIGUREPLANQTY Statistical Key Figure Plan Quantity STATISTICALKEYFIGUREACTLQTY Statistical Key Figure Actual Quantity STATISTICALKEYFIGSUMQTY StatKeyFig. Sum Qty STATISTICALKEYFIGFIXEDQTY StatKeyFig. FixedQty STATISTICALKEYFIGUREQUANTITY Stat. KeyFig. Qty SERVICEDOCUMENTITEM Service Doc. Item SERVICEDOCUMENT Service Document SERVICEDOCUMENTTYPE Service Doc. Type COSTCTRACTIVITYTYPE Activity Type SALESORDERITEM Sales Order Item S

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessAccounting and Financial Close
Application ComponentFI-FIO-GL-IS
CapabilitiesData Provider for Analytical Queries, Data Source for Defining CDS Entities, Data Source in SQL Select
PackageAccounting and Financial Close for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view is designed to provide a comprehensive overview of statistical key figures per period within a financial context. It aggregates and categorizes various quantities related to statistical key figures, allowing for detailed analysis and reporting. The view integrates data from multiple associations, such as controlling areas, ledgers, company codes, cost centers, profit centers, and more, to offer a holistic view of financial statistics across different dimensions. </p> <p>This CDS view provides the data to answer the following business questions:</p> <ul> <li><p>What are the statistical key figures for a specific fiscal period and year?</p></li> <li><p>How do statistical key figures vary across different controlling areas and company codes?</p></li> <li><p>What are the quantities associated with statistical key figures, categorized by fixed, sum, actual, and plan quantities?</p></li> <li><p>How can statistical key figures be analyzed in relation to cost centers, profit centers, and other organizational units?</p></li> <li><p>What is the impact of different ledger types and fiscal year variants on statistical key figures?</p></li> <li><p>How do statistical key figures relate to specific orders, sales documents, and service documents?</p></li> <li><p>What are the quantities of statistical key figures in terms of actual versus planned values?</p></li> <li><p>How do statistical key figures align with budget periods and planning categories?</p></li> <li><p>What are the associations between statistical key figures and various financial dimensions such as segments, functional areas, and business areas?</p></li> </ul> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
P_FinStatisticalKeyFigureItem P_FinStatisticalKeyFigureItem from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_WBSElementByExternalID _WBSElementExternalID $projection.WBSElementExternalID = _WBSElementExternalID.WBSElementExternalID

Annotations (15)

NameValueLevelField
AbapCatalog.entityBuffer.definitionAllowed false view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Statistical Keyfigures per period view
ObjectModel.representativeKey StatisticalKeyFigureItem view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
Analytics.dataCategory #CUBE view
Analytics.technicalName IFIFINSSKFPER view
Analytics.internalName #LOCAL view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view
ObjectModel.modelingPattern #ANALYTICAL_CUBE view

Fields (59)

KeyFieldSource TableSource FieldDescription
KEY Ledger P_FinStatisticalKeyFigureItem rldnr Ledger (Compat.)
KEY CompanyCode P_FinStatisticalKeyFigureItem rbukrs Company Code
KEY StatisticalKeyFigure P_FinStatisticalKeyFigureItem stagr Statistical Key Figure
KEY FiscalYear P_FinStatisticalKeyFigureItem RYEAR Fiscal Year
KEY FiscalPeriod P_FinStatisticalKeyFigureItem poper Posting periods
KEY StatisticalKeyFigureItem P_FinStatisticalKeyFigureItem recid Statistical Key Figure Item
FiscalYearPeriod P_FinStatisticalKeyFigureItem FISCYEARPER Fiscal Year + Fiscal Period
FiscalYearVariant P_FinStatisticalKeyFigureItem periv Fiscal Year Variant
IsSpecialPeriod P_FinStatisticalKeyFigureItem IsSpecialPeriod Indicator: Is Special Period
StatisticalKeyFigureCategory P_FinStatisticalKeyFigureItem grtyp Statistical Key Figure Category
StatisticalKeyFigQtyUnit P_FinStatisticalKeyFigureItem runit Statistical Key Figure Quantity Unit
StatisticalKeyFigureQuantity Statistical Key Figure Quantity
GLRecordType P_FinStatisticalKeyFigureItem rrcty Record Type
PlanningCategory P_FinStatisticalKeyFigureItem category Violation Category
CostCenter P_FinStatisticalKeyFigureItem rcntr Cost Center
ProfitCenter P_FinStatisticalKeyFigureItem prctr Profit Centers
FunctionalArea P_FinStatisticalKeyFigureItem rfarea Functional Area
BusinessArea P_FinStatisticalKeyFigureItem rbusa Business Area
ControllingArea P_FinStatisticalKeyFigureItem kokrs Controlling Area
Segment P_FinStatisticalKeyFigureItem segment Segment for Segmental Reporting
ControllingBusTransacType P_FinStatisticalKeyFigureItem vorgn FI-SL Business Transaction
AccountAssignmentType P_FinStatisticalKeyFigureItem accasty Object Type
ControllingObject P_FinStatisticalKeyFigureItem objnr Controlling Object
ControllingObjectClass P_FinStatisticalKeyFigureItem scope Controlling Object Class
OrderID P_FinStatisticalKeyFigureItem aufnr SettlementOrder
OrderCategory P_FinStatisticalKeyFigureItem autyp Order category
WBSElement WBS Element
WBSElementExternalID P_FinStatisticalKeyFigureItem WBSElementExternalID WBS Element External ID
Fund P_FinStatisticalKeyFigureItem rfund Fund
GrantID P_FinStatisticalKeyFigureItem rgrant_nbr Grant
BudgetPeriod P_FinStatisticalKeyFigureItem rbudget_pd Budget Period
SalesOrder P_FinStatisticalKeyFigureItem kdauf Sales Order Number
SalesOrderItem P_FinStatisticalKeyFigureItem kdpos Item Number in Sales Order
CostCtrActivityType P_FinStatisticalKeyFigureItem lstar Activity Type
ServiceDocumentType P_FinStatisticalKeyFigureItem service_doc_type Service Document Type
ServiceDocument P_FinStatisticalKeyFigureItem service_doc_id Service Document ID
ServiceDocumentItem P_FinStatisticalKeyFigureItem service_doc_item_id Service Document Item ID
_ControllingArea _ControllingArea
_Ledger _Ledger
_CompanyCode _CompanyCode
_LedgerCompanyCodeVH _LedgerCompanyCodeVH
_CostCenter _CostCenter
_ProfitCenter _ProfitCenter
_StatisticalKeyFigure _StatisticalKeyFigure
_StatisticalKeyFigureCat _StatisticalKeyFigureCat
_FiscalYear _FiscalYear
_FiscalPeriod _FiscalPeriod
_FiscalYearVariant _FiscalYearVariant
_UnitOfMeasure _UnitOfMeasure
_Segment _Segment
_FunctionalArea _FunctionalArea
_BusinessArea _BusinessArea
_Order _Order
_SalesDocument _SalesDocument
_SalesDocumentItem _SalesDocumentItem
_ControllingObject _ControllingObject
_BudgetPeriod _BudgetPeriod
_PlanningCategory _PlanningCategory
_WBSElementExternalID _WBSElementExternalID

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_FinStatisticalKeyFigureItem.
-- 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 I_FinStatisticalKeyFigureItem AS
SELECT
  P_FinStatisticalKeyFigureItem.rldnr AS Ledger,
  P_FinStatisticalKeyFigureItem.rbukrs AS CompanyCode,
  P_FinStatisticalKeyFigureItem.stagr AS StatisticalKeyFigure,
  P_FinStatisticalKeyFigureItem.RYEAR AS FiscalYear,
  P_FinStatisticalKeyFigureItem.poper AS FiscalPeriod,
  P_FinStatisticalKeyFigureItem.recid AS StatisticalKeyFigureItem,
  P_FinStatisticalKeyFigureItem.FISCYEARPER AS FiscalYearPeriod,
  P_FinStatisticalKeyFigureItem.periv AS FiscalYearVariant,
  P_FinStatisticalKeyFigureItem.IsSpecialPeriod AS IsSpecialPeriod,
  P_FinStatisticalKeyFigureItem.grtyp AS StatisticalKeyFigureCategory,
  P_FinStatisticalKeyFigureItem.runit AS StatisticalKeyFigQtyUnit,
  cast( P_FinStatisticalKeyFigureItem.msl as fis_smexxx_long ) AS StatisticalKeyFigureQuantity,
  P_FinStatisticalKeyFigureItem.rrcty AS GLRecordType,
  P_FinStatisticalKeyFigureItem.category AS PlanningCategory,
  P_FinStatisticalKeyFigureItem.rcntr AS CostCenter,
  P_FinStatisticalKeyFigureItem.prctr AS ProfitCenter,
  P_FinStatisticalKeyFigureItem.rfarea AS FunctionalArea,
  P_FinStatisticalKeyFigureItem.rbusa AS BusinessArea,
  P_FinStatisticalKeyFigureItem.kokrs AS ControllingArea,
  P_FinStatisticalKeyFigureItem.segment AS Segment,
  P_FinStatisticalKeyFigureItem.vorgn AS ControllingBusTransacType,
  P_FinStatisticalKeyFigureItem.accasty AS AccountAssignmentType,
  P_FinStatisticalKeyFigureItem.objnr AS ControllingObject,
  P_FinStatisticalKeyFigureItem.scope AS ControllingObjectClass,
  P_FinStatisticalKeyFigureItem.aufnr AS OrderID,
  P_FinStatisticalKeyFigureItem.autyp AS OrderCategory,
  cast( P_FinStatisticalKeyFigureItem.ps_posid as fis_wbs preserving type ) AS WBSElement,
  P_FinStatisticalKeyFigureItem.WBSElementExternalID AS WBSElementExternalID,
  P_FinStatisticalKeyFigureItem.rfund AS Fund,
  P_FinStatisticalKeyFigureItem.rgrant_nbr AS GrantID,
  P_FinStatisticalKeyFigureItem.rbudget_pd AS BudgetPeriod,
  P_FinStatisticalKeyFigureItem.kdauf AS SalesOrder,
  P_FinStatisticalKeyFigureItem.kdpos AS SalesOrderItem,
  P_FinStatisticalKeyFigureItem.lstar AS CostCtrActivityType,
  P_FinStatisticalKeyFigureItem.service_doc_type AS ServiceDocumentType,
  P_FinStatisticalKeyFigureItem.service_doc_id AS ServiceDocument,
  P_FinStatisticalKeyFigureItem.service_doc_item_id AS ServiceDocumentItem
FROM P_FinStatisticalKeyFigureItem
LEFT OUTER JOIN I_WBSElementByExternalID AS _WBSElementExternalID ON WBSElementExternalID = _WBSElementExternalID.WBSElementExternalID  -- association [0..1]
;