I_StstclKeyFigureValueItem

DDL: I_STSTCLKEYFIGUREVALUEITEM SQL: ISKFVALITEM Type: view BASIC

Statistical Key Figure Value Item

I_StstclKeyFigureValueItem is a Basic CDS View that provides data about "Statistical Key Figure Value Item" in SAP S/4HANA. It reads from 1 data source (covpr) and exposes 33 fields with key fields ControllingArea, AccountingDocument, AccountingDocumentItem. It has 4 associations to related views.

SAP Help Documentation

CategoryCDS Views for Overhead Accounting
Purpose
This CDS view allows you to retrieve the actual quantities posted on statistical key figures. This CDS view provides the data to answer the following business questions: How many Employees were posted to cost center 4100 in fiscal period 1? 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 a role with the following restriction types set to read access: CO_VRGNG (Business Transaction in Controlling) You can use the Display Restriction Types app to find out in which business catalogs these restriction types are included.

Structure
Important Fields Important fields in this view include the following: Field Name Description STATISTICALKEYFIGUREQUANTITY Quantity STATISTICALKEYFIGURE Statistical Key Figure CONTROLLINGAREACURRENCY CO area currency ACCOUNTINGDOCUMENT Document Number STSTCKEYFIGQUANTITYUNIT Quantity Unit EXCHANGERATETYPE Exchange Rate Type CONTROLLINGOBJECT Object Number PARTNERFUNCTIONALAREA Functional Area CONTROLLINGAREA Controlling Area REVERSEDREFERENCEDOCUMENT Reversed Reference Document PARTNERGRANT Grant FISCALYEAR Fiscal Year SETTLEMENTREFERENCEDATE Reference Date ACCOUNTINGDOCUMENTCREATIONDATE Created on EXCHANGERATEDATE Translation Date PERSONNELNUMBER Personnel Number ACCOUNTINGDOCUMENTITEM Posting Row DOCUMENTDATE Document Date FISCALPERIOD Fiscal Period POSTINGDATE Posting Date ISREVERSALDOCUMENT Reversal document ISREVERSED Reversed CONTROLLINGDOCUMENTHEADERTEXT Document Header Text ACCOUNTINGDOCCREATEDBYUSER User Name CONTROLLINGBUSTRANSACTYPE Business Transaction PARTNERBUDGETPERIOD Budget Period PARTNERFUND Fund DOCUMENTITEMTEXT Text REFERENCEDOCUMENTTYPE Reference Document Type

View on SAP Help Portal →

Data Sources (1)

SourceAliasJoin Type
covpr covpr from

Associations (4)

CardinalityTargetAliasCondition
[0..*] I_ReferenceDocumentTypeText _ReferenceDocumentTypeText $projection.ReferenceDocumentType = _ReferenceDocumentTypeText.ReferenceDocumentType
[0..*] I_GrantText _PartnerGrantText $projection.PartnerGrant = _PartnerGrantText.GrantID
[0..*] I_BudgetPeriodText _PartnerBudgetPeriodText $projection.PartnerBudgetPeriod = _PartnerBudgetPeriodText.BudgetPeriod
[0..*] I_FunctionalAreaText _PartnerFunctionalAreaText $projection.PartnerFunctionalArea = _PartnerFunctionalAreaText.FunctionalArea

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName ISKFVALITEM view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Statistical Key Figure Value Item view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.personalData.blocking #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #BASIC view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view

Fields (33)

KeyFieldSource TableSource FieldDescription
KEY ControllingArea kokrs Org. Value
KEY AccountingDocument belnr SD Document
KEY AccountingDocumentItem buzei Posting View Item
FiscalPeriod Time unit
StatisticalKeyFigureQuantity Statistical qty
StstcKeyFigQuantityUnit Unit of Measure
DocumentItemText Text
ControllingObject objnr Val. Obj. No.
FiscalYear gjahr Settlement Year
StatisticalKeyFigure Statistical Key Figure
ControllingBusTransacType vrgng Bus.Transaction
PersonnelNumber pernr Personnel no.
PartnerFunctionalArea fkber Functional Area
PartnerFund geber Fund
PartnerGrant grant_nbr Receiver Grant
PartnerBudgetPeriod budget_pd Rec BudPer
PostingDate budat Posting Date
DocumentDate bldat Journal Entry Date
AccountingDocumentCreationDate cpudt Imported On
AccountingDocCreatedByUser usnam User Name
ControllingDocumentHeaderText bltxt Doc.Header Text
IsReversalDocument stflg Reversal Ind.
IsReversed stokz Reversed
ReversedReferenceDocument Ref.document no
ExchangeRateDate Value Date
ExchangeRateType kurst Fix.rate type (EMU)
ControllingAreaCurrency kwaer Global Currency
ReferenceDocumentType Reference Document Type
SettlementReferenceDate dabrz Reference date
_ReferenceDocumentTypeText _ReferenceDocumentTypeText
_PartnerGrantText _PartnerGrantText
_PartnerBudgetPeriodText _PartnerBudgetPeriodText
_PartnerFunctionalAreaText _PartnerFunctionalAreaText

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_StstclKeyFigureValueItem.
-- 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: ISKFVALITEM

CREATE VIEW I_StstclKeyFigureValueItem AS
SELECT
  kokrs AS ControllingArea,
  belnr AS AccountingDocument,
  buzei AS AccountingDocumentItem,
  cast(perio as fins_fiscalperiod) AS FiscalPeriod,
  cast(smebtr as quan1_12) AS StatisticalKeyFigureQuantity,
  cast(meinh as fis_ui_seinh) AS StstcKeyFigQuantityUnit,
  cast(sgtxt as sgtxt) AS DocumentItemText,
  objnr AS ControllingObject,
  gjahr AS FiscalYear,
  cast(stagr as fis_stagr) AS StatisticalKeyFigure,
  vrgng AS ControllingBusTransacType,
  pernr AS PersonnelNumber,
  fkber AS PartnerFunctionalArea,
  geber AS PartnerFund,
  grant_nbr AS PartnerGrant,
  budget_pd AS PartnerBudgetPeriod,
  budat AS PostingDate,
  bldat AS DocumentDate,
  cpudt AS AccountingDocumentCreationDate,
  usnam AS AccountingDocCreatedByUser,
  bltxt AS ControllingDocumentHeaderText,
  stflg AS IsReversalDocument,
  stokz AS IsReversed,
  cast(refbn as reversedreferencedocument) AS ReversedReferenceDocument,
  cast(wsdat as fin_currconvdat) AS ExchangeRateDate,
  kurst AS ExchangeRateType,
  kwaer AS ControllingAreaCurrency,
  cast(awtyp as fis_awtyp) AS ReferenceDocumentType,
  dabrz AS SettlementReferenceDate
FROM covpr
LEFT OUTER JOIN I_ReferenceDocumentTypeText AS _ReferenceDocumentTypeText ON ReferenceDocumentType = _ReferenceDocumentTypeText.ReferenceDocumentType  -- association [0..*]
LEFT OUTER JOIN I_GrantText AS _PartnerGrantText ON PartnerGrant = _PartnerGrantText.GrantID  -- association [0..*]
LEFT OUTER JOIN I_BudgetPeriodText AS _PartnerBudgetPeriodText ON PartnerBudgetPeriod = _PartnerBudgetPeriodText.BudgetPeriod  -- association [0..*]
LEFT OUTER JOIN I_FunctionalAreaText AS _PartnerFunctionalAreaText ON PartnerFunctionalArea = _PartnerFunctionalAreaText.FunctionalArea  -- association [0..*]
;