P_FundsCenterLastInYear

DDL: P_FUNDSCENTERLASTINYEAR SQL: PFCLASTINFY Type: view COMPOSITE Package: FMMD_CORE_E

Last active Funds Center in Fiscal Year

P_FundsCenterLastInYear is a Composite CDS View that provides data about "Last active Funds Center in Fiscal Year" in SAP S/4HANA. It reads from 1 data source (I_FundsCenter) and exposes 6 fields with key fields FinancialManagementArea, FundsCenter, FinMgmtAreaFiscalYear. It has 1 association to related views. Part of development package FMMD_CORE_E.

Data Sources (1)

SourceAliasJoin Type
I_FundsCenter I_FundsCenter from

Associations (1)

CardinalityTargetAliasCondition
[1..1] P_FundsManagementFiscalYear _FiscalYear $projection.FinancialManagementArea = _FiscalYear.FinancialManagementArea

Annotations (10)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
AbapCatalog.sqlViewName PFCLASTINFY view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
VDM.viewType #COMPOSITE view
VDM.private true view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY FinancialManagementArea I_FundsCenter FinancialManagementArea FM Area
KEY FundsCenter I_FundsCenter FundsCenter Funds Center
KEY FinMgmtAreaFiscalYear _FiscalYear FiscalYear G/L Fiscal Year
ValidityEndDate
FiscalYearStartDate _FiscalYear FiscalYearStartDate
FiscalYearEndDate _FiscalYear FiscalYearEndDate

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_FundsCenterLastInYear.
-- 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: PFCLASTINFY

CREATE VIEW P_FundsCenterLastInYear AS
SELECT
  I_FundsCenter.FinancialManagementArea AS FinancialManagementArea,
  I_FundsCenter.FundsCenter AS FundsCenter,
  _FiscalYear.FiscalYear AS FinMgmtAreaFiscalYear,
  max( I_FundsCenter.ValidityEndDate ) AS ValidityEndDate,
  _FiscalYear.FiscalYearStartDate AS FiscalYearStartDate,
  _FiscalYear.FiscalYearEndDate AS FiscalYearEndDate
FROM I_FundsCenter
LEFT OUTER JOIN P_FundsManagementFiscalYear AS _FiscalYear ON FinancialManagementArea = _FiscalYear.FinancialManagementArea  -- association [1..1]
;