I_FundToBudgetPeriodBasic

DDL: I_FUNDTOBUDGETPERIODBASIC SQL: IFUNDTOBDGTPERDB Type: view BASIC

Fund to Budget Period Relation

I_FundToBudgetPeriodBasic is a Basic CDS View that provides data about "Fund to Budget Period Relation" in SAP S/4HANA. It reads from 1 data source (fmfundbpd) and exposes 12 fields with key fields FinancialManagementArea, Fund, BudgetPeriod. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
fmfundbpd fmfundbpd from

Associations (4)

CardinalityTargetAliasCondition
[0..1] I_FundBasic _Fund $projection.FinancialManagementArea = _Fund.FinancialManagementArea and $projection.Fund = _Fund.Fund
[0..1] I_BudgetPeriodBasic _BudgetPeriod $projection.BudgetPeriod = _BudgetPeriod.BudgetPeriod
[0..1] I_ApplicationOfFund _ApplicationOfFund $projection.FinancialManagementArea = _ApplicationOfFund.FinancialManagementArea and $projection.ApplOfFundByBudgetPeriod = _ApplicationOfFund.ApplicationOfFunds
[1..1] I_FinancialManagementArea _FinMgmtArea $projection.FinancialManagementArea = _FinMgmtArea.FinancialManagementArea

Annotations (10)

NameValueLevelField
EndUserText.label Fund to Budget Period Relation view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.sqlViewName IFUNDTOBDGTPERDB view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY FinancialManagementArea fikrs FM Area
KEY Fund fincode Fund
KEY BudgetPeriod budget_pd Rec BudPer
ApplOfFundByBudgetPeriod BP Applctn
BdgtPerdAssociationIsInactive flg_inact Fund to BP inactive
FundFinMgmtAreaForAuthzn _Fund FundFinMgmtAreaForAuthzn
FundAuthznGrp _Fund FundAuthznGrp
BudgetPeriodAuthznGrp _BudgetPeriod BudgetPeriodAuthznGrp
_Fund _Fund
_BudgetPeriod _BudgetPeriod
_ApplicationOfFund _ApplicationOfFund
_FinMgmtArea _FinMgmtArea

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 I_FundToBudgetPeriodBasic.
-- 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: IFUNDTOBDGTPERDB

CREATE VIEW I_FundToBudgetPeriodBasic AS
SELECT
  fikrs AS FinancialManagementArea,
  fincode AS Fund,
  budget_pd AS BudgetPeriod,
  cast( finuse as fmis_apploffund_by_budgetpd preserving type ) AS ApplOfFundByBudgetPeriod,
  flg_inact AS BdgtPerdAssociationIsInactive,
  _Fund.FundFinMgmtAreaForAuthzn AS FundFinMgmtAreaForAuthzn,
  _Fund.FundAuthznGrp AS FundAuthznGrp,
  _BudgetPeriod.BudgetPeriodAuthznGrp AS BudgetPeriodAuthznGrp
FROM fmfundbpd
LEFT OUTER JOIN I_FundBasic AS _Fund ON FinancialManagementArea = _Fund.FinancialManagementArea AND Fund = _Fund.Fund  -- association [0..1]
LEFT OUTER JOIN I_BudgetPeriodBasic AS _BudgetPeriod ON BudgetPeriod = _BudgetPeriod.BudgetPeriod  -- association [0..1]
LEFT OUTER JOIN I_ApplicationOfFund AS _ApplicationOfFund ON FinancialManagementArea = _ApplicationOfFund.FinancialManagementArea AND ApplOfFundByBudgetPeriod = _ApplicationOfFund.ApplicationOfFunds  -- association [0..1]
LEFT OUTER JOIN I_FinancialManagementArea AS _FinMgmtArea ON FinancialManagementArea = _FinMgmtArea.FinancialManagementArea  -- association [1..1]
;