P_FiscalPeriodStart

DDL: P_FISCALPERIODSTART SQL: PGLFISPERST Type: view COMPOSITE

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)

SourceAliasJoin Type
I_FiscCalendarDateForCompCode I_FiscCalendarDateForCompCode from

Parameters (1)

NameTypeDefault
P_KeyDate vdm_v_key_date

Annotations (5)

NameValueLevelField
AbapCatalog.sqlViewName PGLFISPERST view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (8)

KeyFieldSource TableSource FieldDescription
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":""
}
}*/