P_Matrix_GroupStructurePerYear
P_Matrix_GroupStructurePerYear is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_CnsldtnGroupStructure, P_Matrix_MaxPeriodPerYear) and exposes 5 fields.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_CnsldtnGroupStructure | GroupStructure | from |
| P_Matrix_MaxPeriodPerYear | MaxPeriodPerYear | inner |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PMCGSPERYEAR | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.private | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| ConsolidationDimension | I_CnsldtnGroupStructure | ConsolidationDimension | ||
| ConsolidationStructureVersion | I_CnsldtnGroupStructure | ConsolidationStructureVersion | ||
| FiscalYear | P_Matrix_MaxPeriodPerYear | FiscalYear | ||
| ConsolidationGroup | I_CnsldtnGroupStructure | ConsolidationGroup | ||
| ConsolidationUnit | I_CnsldtnGroupStructure | ConsolidationUnit |
@AbapCatalog.sqlViewName: 'PMCGSPERYEAR'
@AbapCatalog.compiler.compareFilter: true
@VDM.viewType: #COMPOSITE
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.private:true
@ClientHandling.algorithm:#SESSION_VARIABLE
@ObjectModel.usageType.serviceQuality: #X
@ObjectModel.usageType.dataClass: #MIXED
@ObjectModel.usageType.sizeCategory: #XL
@AccessControl.personalData.blocking: #NOT_REQUIRED
@Metadata.ignorePropagatedAnnotations: true
define view P_Matrix_GroupStructurePerYear
as select from I_CnsldtnGroupStructure as GroupStructure
inner join P_Matrix_MaxPeriodPerYear as MaxPeriodPerYear on FromFiscalYearPeriod <= FiscalYearPeriod
and ToFiscalYearPeriod >= FiscalYearPeriod
{
GroupStructure.ConsolidationDimension,
GroupStructure.ConsolidationStructureVersion,
MaxPeriodPerYear.FiscalYear,
GroupStructure.ConsolidationGroup,
GroupStructure.ConsolidationUnit
}
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