P_FiscalPeriodDateForPlant

DDL: P_FISCALPERIODDATEFORPLANT SQL: PFPDPLANT Type: view COMPOSITE

P_FiscalPeriodDateForPlant is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_FiscalCalYearPeriodForCoCode, I_PlantCompanyCodeCurrency) and exposes 4 fields with key field Plant.

Data Sources (2)

SourceAliasJoin Type
I_FiscalCalYearPeriodForCoCode _FiscalCalYearPeriodForCoCode inner
I_PlantCompanyCodeCurrency _Plant from

Parameters (2)

NameTypeDefault
P_Plant werks_d
P_FiscalYearPeriod jahrper

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PFPDPLANT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY Plant Plant Valuation Area
CompanyCode I_FiscalCalYearPeriodForCoCode CompanyCode Receiver Company Code
FiscalPeriodStartDate I_FiscalCalYearPeriodForCoCode FiscalPeriodStartDate Start Date
FiscalPeriodEndDate I_FiscalCalYearPeriodForCoCode FiscalPeriodEndDate End Date

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_FiscalPeriodDateForPlant.
-- 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: PFPDPLANT
-- Parameters: P_Plant : werks_d, P_FiscalYearPeriod : jahrper

CREATE VIEW P_FiscalPeriodDateForPlant AS
SELECT
  Plant,
  _FiscalCalYearPeriodForCoCode.CompanyCode AS CompanyCode,
  _FiscalCalYearPeriodForCoCode.FiscalPeriodStartDate AS FiscalPeriodStartDate,
  _FiscalCalYearPeriodForCoCode.FiscalPeriodEndDate AS FiscalPeriodEndDate
FROM I_PlantCompanyCodeCurrency AS _Plant
INNER JOIN I_FiscalCalYearPeriodForCoCode AS _FiscalCalYearPeriodForCoCode ON /* join condition not captured in parsed metadata */
;