P_FiscalPeriodStart
P_FiscalPeriodStart is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_FiscCalendarDateForCompCode) and exposes 8 fields with key fields CompanyCode, CalendarDate.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_FiscCalendarDateForCompCode | I_FiscCalendarDateForCompCode | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_KeyDate | vdm_v_key_date |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PGLFISPERST | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view |
Fields (8)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | CompanyCode | ||
| KEY | CalendarDate | CalendarDate | ||
| FiscalYear | FiscalYear | |||
| FiscalPeriod | FiscalPeriod | |||
| FiscalYearVariant | FiscalYearVariant | |||
| FiscalYearPeriod | FiscalYearPeriod | |||
| FiscalPeriodStartDate | FiscalPeriodStartDate | |||
| FiscalPeriodEndDate | FiscalPeriodEndDate |
@AbapCatalog.sqlViewName: 'PGLFISPERST'
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #COMPOSITE
@VDM.private:true
define view P_FiscalPeriodStart
with parameters
P_KeyDate : vdm_v_key_date
as select from I_FiscCalendarDateForCompCode
{
key CompanyCode,
key CalendarDate,
FiscalYear,
FiscalPeriod,
FiscalYearVariant,
FiscalYearPeriod,
FiscalPeriodStartDate,
FiscalPeriodEndDate
}
where
(
CalendarDate <= $parameters.P_KeyDate
and CalendarDate >= $parameters.P_KeyDate
)
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_FISCCALENDARDATEFORCOMPCODE"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"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