C_StatKeyFigWhereUsed

DDL: C_STATKEYFIGWHEREUSED SQL: CSKFWHEREUSD Type: view CONSUMPTION Package: ODATA_WHERE_USED_STAT_KEY_FIG

Statistical Key Figures Where Used List

C_StatKeyFigWhereUsed is a Consumption CDS View that provides data about "Statistical Key Figures Where Used List" in SAP S/4HANA. It reads from 1 data source (C_StatKeyFigWhereUsedObjTypeVH) and exposes 16 fields with key fields StatKeyFigWhereUsedObjType, FioriUIFilterHash. It has 6 associations to related views. It is exposed through 1 OData service (ASQL_F4078). Part of development package ODATA_WHERE_USED_STAT_KEY_FIG.

Data Sources (1)

SourceAliasJoin Type
C_StatKeyFigWhereUsedObjTypeVH C_StatKeyFigWhereUsedObjTypeVH from

Associations (6)

CardinalityTargetAliasCondition
[1..1] C_StatKeyFigAllObjectObj _StatKeyFigAllObject $projection.StatKeyFigWhereUsedObjType = _StatKeyFigAllObject.StatKeyFigWhereUsedObjType and $projection.FioriUIFilterHash = _StatKeyFigAllObject.FioriUIFilterHash
[1..1] C_StatKeyFigCostCenterObj _StatKeyFigCostCenter $projection.StatKeyFigWhereUsedObjType = _StatKeyFigCostCenter.StatKeyFigWhereUsedObjType and $projection.FioriUIFilterHash = _StatKeyFigCostCenter.FioriUIFilterHash
[1..1] C_StatKeyFigCostAllocCycObj _StatKeyFigCostAllocCyc $projection.StatKeyFigWhereUsedObjType = _StatKeyFigCostAllocCyc.StatKeyFigWhereUsedObjType and $projection.FioriUIFilterHash = _StatKeyFigCostAllocCyc.FioriUIFilterHash
[1..1] C_StatKeyFigCostAllocSgmtObj _StatKeyFigCostAllocSgmt $projection.StatKeyFigWhereUsedObjType = _StatKeyFigCostAllocSgmt.StatKeyFigWhereUsedObjType and $projection.FioriUIFilterHash = _StatKeyFigCostAllocSgmt.FioriUIFilterHash
[1..1] C_StatKeyFigGroupObj _StatKeyFigGroup $projection.StatKeyFigWhereUsedObjType = _StatKeyFigGroup.StatKeyFigWhereUsedObjType and $projection.FioriUIFilterHash = _StatKeyFigGroup.FioriUIFilterHash
[1..1] C_StatKeyFigValueAssignmentObj _StatKeyFigValueAssignment $projection.StatKeyFigWhereUsedObjType = _StatKeyFigValueAssignment.StatKeyFigWhereUsedObjType and $projection.FioriUIFilterHash = _StatKeyFigValueAssignment.FioriUIFilterHash

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName CSKFWHEREUSD view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Statistical Key Figures Where Used List view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #META view
VDM.viewType #CONSUMPTION view
UI.headerInfo.typeName Used In view
UI.headerInfo.typeNamePlural Used In view
Metadata.allowExtensions true view

OData Services (1)

ServiceBindingVersionContractRelease
ASQL_F4078 ASQL_F4078 C2 NOT_RELEASED

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY StatKeyFigWhereUsedObjType StatKeyFigWhereUsedObjType
KEY FioriUIFilterHash
StatKeyFigWhereUsedObjTypeText
NumberOfUniqueObjects
NumberOfMatches
ControllingArea
StatisticalKeyFigure
StatKeyFigValidOnDate
ValidityStartDate
ValidityEndDate
_StatKeyFigAllObject _StatKeyFigAllObject
_StatKeyFigCostCenter _StatKeyFigCostCenter
_StatKeyFigCostAllocCyc _StatKeyFigCostAllocCyc
_StatKeyFigCostAllocSgmt _StatKeyFigCostAllocSgmt
_StatKeyFigGroup _StatKeyFigGroup
_StatKeyFigValueAssignment _StatKeyFigValueAssignment

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_StatKeyFigWhereUsed.
-- 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: CSKFWHEREUSD

CREATE VIEW C_StatKeyFigWhereUsed AS
SELECT
  StatKeyFigWhereUsedObjType,
  cast ('' as filterhash) AS FioriUIFilterHash,
  cast ('' as statkeyfigwhereusedobjtypetxt) AS StatKeyFigWhereUsedObjTypeText,
  cast (0 as statkeyfigwhereusedobjcount) AS NumberOfUniqueObjects,
  cast (0 as statkeyfigwhereusedobjmatch) AS NumberOfMatches,
  cast('' as kokrs) AS ControllingArea,
  cast ('' as fis_stagr) AS StatisticalKeyFigure,
  cast('19700101' as validondate) AS StatKeyFigValidOnDate,
  cast('19700101' as datab) AS ValidityStartDate,
  cast('19700101' as datbi) AS ValidityEndDate
FROM C_StatKeyFigWhereUsedObjTypeVH
LEFT OUTER JOIN C_StatKeyFigAllObjectObj AS _StatKeyFigAllObject ON StatKeyFigWhereUsedObjType = _StatKeyFigAllObject.StatKeyFigWhereUsedObjType AND FioriUIFilterHash = _StatKeyFigAllObject.FioriUIFilterHash  -- association [1..1]
LEFT OUTER JOIN C_StatKeyFigCostCenterObj AS _StatKeyFigCostCenter ON StatKeyFigWhereUsedObjType = _StatKeyFigCostCenter.StatKeyFigWhereUsedObjType AND FioriUIFilterHash = _StatKeyFigCostCenter.FioriUIFilterHash  -- association [1..1]
LEFT OUTER JOIN C_StatKeyFigCostAllocCycObj AS _StatKeyFigCostAllocCyc ON StatKeyFigWhereUsedObjType = _StatKeyFigCostAllocCyc.StatKeyFigWhereUsedObjType AND FioriUIFilterHash = _StatKeyFigCostAllocCyc.FioriUIFilterHash  -- association [1..1]
LEFT OUTER JOIN C_StatKeyFigCostAllocSgmtObj AS _StatKeyFigCostAllocSgmt ON StatKeyFigWhereUsedObjType = _StatKeyFigCostAllocSgmt.StatKeyFigWhereUsedObjType AND FioriUIFilterHash = _StatKeyFigCostAllocSgmt.FioriUIFilterHash  -- association [1..1]
LEFT OUTER JOIN C_StatKeyFigGroupObj AS _StatKeyFigGroup ON StatKeyFigWhereUsedObjType = _StatKeyFigGroup.StatKeyFigWhereUsedObjType AND FioriUIFilterHash = _StatKeyFigGroup.FioriUIFilterHash  -- association [1..1]
LEFT OUTER JOIN C_StatKeyFigValueAssignmentObj AS _StatKeyFigValueAssignment ON StatKeyFigWhereUsedObjType = _StatKeyFigValueAssignment.StatKeyFigWhereUsedObjType AND FioriUIFilterHash = _StatKeyFigValueAssignment.FioriUIFilterHash  -- association [1..1]
;