P_FundsCenterLatest

DDL: P_FUNDSCENTERLATEST Type: view COMPOSITE Package: FMMD_CORE

Funds Center Latest

P_FundsCenterLatest is a Composite CDS View that provides data about "Funds Center Latest" in SAP S/4HANA. It has 1 association to related views. Part of development package FMMD_CORE.

Parameters (1)

NameTypeDefault
P_KeyDate sydate

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_FundsCenter _FundsCenter $projection.FinancialManagementArea = _FundsCenter.FinancialManagementArea and $projection.FundsCenter = _FundsCenter.FundsCenter and $projection.ValidityEndDate = _FundsCenter.ValidityEndDate

Annotations (11)

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

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY FinancialManagementArea I_FundsCenter FinancialManagementArea FM Area
KEY FundsCenter I_FundsCenter FundsCenter Funds Center
ValidityEndDate
_FundsCenter _FundsCenter

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_FundsCenterLatest.
-- 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.
-- Parameters: P_KeyDate : sydate

CREATE VIEW P_FundsCenterLatest AS
SELECT
  I_FundsCenter.FinancialManagementArea AS FinancialManagementArea,
  I_FundsCenter.FundsCenter AS FundsCenter,
  cast( coalesce(CurrentFundsCenter.ValidityEndDate, coalesce(PreviousFundsCenter.ValidityEndDate, NextFundsCenter.ValidityEndDate)) as fmis_fc_validityenddate) AS ValidityEndDate
LEFT OUTER JOIN I_FundsCenter AS _FundsCenter ON FinancialManagementArea = _FundsCenter.FinancialManagementArea AND FundsCenter = _FundsCenter.FundsCenter AND ValidityEndDate = _FundsCenter.ValidityEndDate  -- association [1..1]
;