P_MstrProjStstclKeyFigRnge
P_MstrProjStstclKeyFigRnge is a Basic CDS View in SAP S/4HANA. It reads from 2 data sources (P_MstrProjStstclKeyFigGrp, I_StatisticalKeyFigure) and exposes 3 fields with key fields ControllingArea, SetID, StatisticalKeyFigure.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| P_MstrProjStstclKeyFigGrp | MstrProjStstclKeyFigGrp | from |
| I_StatisticalKeyFigure | StatisticalKeyFigure | inner |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PMPSKFRNGE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ControllingArea | I_StatisticalKeyFigure | ControllingArea | |
| KEY | SetID | P_MstrProjStstclKeyFigGrp | SetID | |
| KEY | StatisticalKeyFigure | I_StatisticalKeyFigure | StatisticalKeyFigure |
@AbapCatalog.sqlViewName: 'PMPSKFRNGE'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #BASIC
@VDM.private:true
define view P_MstrProjStstclKeyFigRnge as select from P_MstrProjStstclKeyFigGrp as MstrProjStstclKeyFigGrp
inner join I_StatisticalKeyFigure as StatisticalKeyFigure on StatisticalKeyFigure.ControllingArea = MstrProjStstclKeyFigGrp.ControllingArea
and StatisticalKeyFigure.StatisticalKeyFigure between MstrProjStstclKeyFigGrp.StatisticalKeyfigure and MstrProjStstclKeyFigGrp.SetRangeToValue
//define view P_MstrProjStstclKeyFigRnge as select from I_StatisticalKeyFigure as StatisticalKeyFigure
//inner join P_MstrProjStstclKeyFigGrp as MstrProjStstclKeyFigGrp on MstrProjStstclKeyFigGrp.SetSubClass = StatisticalKeyFigure.ControllingArea
// and MstrProjStstclKeyFigGrp.SetSubClass = StatisticalKeyFigure.ControllingArea
{
key StatisticalKeyFigure.ControllingArea,
key MstrProjStstclKeyFigGrp.SetID,
key StatisticalKeyFigure.StatisticalKeyFigure
}
where MstrProjStstclKeyFigGrp.SetRangeOption = 'BT'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_STATISTICALKEYFIGURE",
"P_MSTRPROJSTSTCLKEYFIGGRP"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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