P_Distinct_Postingdate

DDL: P_DISTINCT_POSTINGDATE SQL: PFIDISTPOSTDATE Type: view BASIC

P_Distinct_Postingdate is a Basic CDS View in SAP S/4HANA. It reads from 2 data sources (P_FiscalCalendarDate, P_FiscalYearPeriod) and exposes 2 fields with key field fiscal_year.

Data Sources (2)

SourceAliasJoin Type
P_FiscalCalendarDate P_FiscalCalendarDate inner
P_FiscalYearPeriod P_FiscalYearPeriod from

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName PFIDISTPOSTDATE view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.buffering.status #NOT_ALLOWED view
AbapCatalog.preserveKey true view
Metadata.ignorePropagatedAnnotations true view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY fiscal_year P_FiscalYearPeriod fiscal_year Tax Item Fiscal Year
FiscalPeriodDate

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_Distinct_Postingdate.
-- 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: PFIDISTPOSTDATE

CREATE VIEW P_Distinct_Postingdate AS
SELECT
  P_FiscalYearPeriod.fiscal_year AS fiscal_year,
  cast( concat( P_FiscalCalendarDate.calendar_date, P_FiscalYearPeriod.fiscal_period ) as fis_fiscalperiod_date) AS FiscalPeriodDate
FROM P_FiscalYearPeriod
INNER JOIN P_FiscalCalendarDate ON /* join condition not captured in parsed metadata */
;