I_StstclKeyFigureValueItem
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
| Category | CDS 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
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
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| covpr | covpr | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA