P_DaysPyblOutstandingCalMonth

DDL: P_DAYSPYBLOUTSTANDINGCALMONTH SQL: PDPOCM Type: view COMPOSITE

P_DaysPyblOutstandingCalMonth is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_CalendarDate) and exposes 5 fields with key fields CalendarYear, CalendarMonth.

Data Sources (1)

SourceAliasJoin Type
I_CalendarDate I_CalendarDate from

Annotations (5)

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

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY CalendarYear CalendarYear
KEY CalendarMonth CalendarMonth
YearMonth YearMonth
FirstDayOfMonth
LastDayOfMonth
@AbapCatalog.sqlViewName: 'PDPOCM'
@VDM.viewType: #COMPOSITE
@VDM.private:true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE

define view P_DaysPyblOutstandingCalMonth
  as select from I_CalendarDate

{
  key CalendarYear,
  key CalendarMonth,
      YearMonth,
      min(CalendarDate) as FirstDayOfMonth,
      max(CalendarDate) as LastDayOfMonth
}
group by
  CalendarYear,
  CalendarMonth,
  YearMonth