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 Year
KEY CalendarMonth CalendarMonth Calendar Month
YearMonth YearMonth Year Month
FirstDayOfMonth
LastDayOfMonth

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view P_DaysPyblOutstandingCalMonth.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: PDPOCM

CREATE VIEW P_DaysPyblOutstandingCalMonth AS
SELECT
  CalendarYear,
  CalendarMonth,
  YearMonth,
  min(CalendarDate) AS FirstDayOfMonth,
  max(CalendarDate) AS LastDayOfMonth
FROM I_CalendarDate
;