P_PlanBalFlowDateFunc2

DDL: P_PLANBALFLOWDATEFUNC2 Type: view_entity COMPOSITE Package: FINS_FIS_FICO

P_PlanBalFlowDateFunc2

P_PlanBalFlowDateFunc2 is a Composite CDS View that provides data about "P_PlanBalFlowDateFunc2" in SAP S/4HANA. It reads from 2 data sources (I_FinancialPlanningEntryItem, I_FiscalDateFunctionValue) and exposes 36 fields with key fields ActualPlanCode, PlanningCategory, Ledger, CompanyCode, DateFunction. Part of development package FINS_FIS_FICO.

Data Sources (2)

SourceAliasJoin Type
I_FinancialPlanningEntryItem I_FinancialPlanningEntryItem from
I_FiscalDateFunctionValue I_FiscalDateFunctionValue inner

Annotations (5)

NameValueLevelField
AbapCatalog.entityBuffer.definitionAllowed false view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #COMPOSITE view
VDM.private true view
Metadata.ignorePropagatedAnnotations true view

Fields (36)

KeyFieldSource TableSource FieldDescription
KEY ActualPlanCode
KEY PlanningCategory I_FinancialPlanningEntryItem PlanningCategory Plan Category
KEY Ledger I_FinancialPlanningEntryItem Ledger Ledger
KEY CompanyCode I_FinancialPlanningEntryItem CompanyCode Receiver Company Code
KEY DateFunction I_FiscalDateFunctionValue DateFunction Relative Date Function
KEY FiscalYearPeriod I_FinancialPlanningEntryItem FiscalYearPeriod Period/Year
KEY GLAccountFlowType
FiscalYearVariant I_FinancialPlanningEntryItem FiscalYearVariant FY Variant
LedgerFiscalYear I_FinancialPlanningEntryItem LedgerFiscalYear Ref. Year1
FiscalYear I_FinancialPlanningEntryItem FiscalYear G/L Fiscal Year
FiscalPeriod I_FinancialPlanningEntryItem FiscalPeriod Tax period
PostingDate I_FinancialPlanningEntryItem PostingDate Posting Date for GR
ChartOfAccounts I_FinancialPlanningEntryItem ChartOfAccounts Node Class
GLAccount I_FinancialPlanningEntryItem GLAccount General Ledger
ControllingArea I_FinancialPlanningEntryItem ControllingArea Controlling Area
CostCenter I_FinancialPlanningEntryItem CostCenter Cost Center
ProfitCenter I_FinancialPlanningEntryItem ProfitCenter Profit Center
FunctionalArea I_FinancialPlanningEntryItem FunctionalArea Sendr Fctl Area
BusinessArea I_FinancialPlanningEntryItem BusinessArea Business Area
Segment I_FinancialPlanningEntryItem Segment Segment number
Product I_FinancialPlanningEntryItem Product Product Sold
ProductGroup I_FinancialPlanningEntryItem ProductGroup Product Sold Group
SoldProduct I_FinancialPlanningEntryItem SoldProduct Product Sold
SoldProductGroup I_FinancialPlanningEntryItem SoldProductGroup Product Sold Group
Customer I_FinancialPlanningEntryItem Customer Sold-to Party
CustomerGroup I_FinancialPlanningEntryItem CustomerGroup Customer Group
Supplier
GlobalCurrency I_FinancialPlanningEntryItem GlobalCurrency GM Billing Element: Global Currency
AmountInGlobalCurrency I_FinancialPlanningEntryItem AmountInGlobalCurrency Amount in Global Currency
FixedAmountInGlobalCrcy I_FinancialPlanningEntryItem FixedAmountInGlobalCrcy Fixed Amnt in GC
KslwoBCF I_FinancialPlanningEntryItem AmountInGlobalCurrency Amount in Global Currency
KslonlyBCF
_GlobalCurrency I_FinancialPlanningEntryItem _GlobalCurrency
_FiscalCalendarDate I_FinancialPlanningEntryItem _FiscalCalendarDate
_GLAccountInChartOfAccounts I_FinancialPlanningEntryItem _GLAccountInChartOfAccounts
_FiscalYearVariant I_FinancialPlanningEntryItem _FiscalYearVariant

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_PlanBalFlowDateFunc2.
-- 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.

CREATE VIEW P_PlanBalFlowDateFunc2 AS
SELECT
  cast( 'P' as fis_actual_plan_code preserving type ) AS ActualPlanCode,
  I_FinancialPlanningEntryItem.PlanningCategory AS PlanningCategory,
  I_FinancialPlanningEntryItem.Ledger AS Ledger,
  I_FinancialPlanningEntryItem.CompanyCode AS CompanyCode,
  I_FiscalDateFunctionValue.DateFunction AS DateFunction,
  I_FinancialPlanningEntryItem.FiscalYearPeriod AS FiscalYearPeriod,
  cast(cast( '2 ' as abap.char(10) ) as fis_glaccount_flow_type preserving type ) AS GLAccountFlowType,
  I_FinancialPlanningEntryItem.FiscalYearVariant AS FiscalYearVariant,
  I_FinancialPlanningEntryItem.LedgerFiscalYear AS LedgerFiscalYear,
  I_FinancialPlanningEntryItem.FiscalYear AS FiscalYear,
  I_FinancialPlanningEntryItem.FiscalPeriod AS FiscalPeriod,
  I_FinancialPlanningEntryItem.PostingDate AS PostingDate,
  I_FinancialPlanningEntryItem.ChartOfAccounts AS ChartOfAccounts,
  I_FinancialPlanningEntryItem.GLAccount AS GLAccount,
  I_FinancialPlanningEntryItem.ControllingArea AS ControllingArea,
  I_FinancialPlanningEntryItem.CostCenter AS CostCenter,
  I_FinancialPlanningEntryItem.ProfitCenter AS ProfitCenter,
  I_FinancialPlanningEntryItem.FunctionalArea AS FunctionalArea,
  I_FinancialPlanningEntryItem.BusinessArea AS BusinessArea,
  I_FinancialPlanningEntryItem.Segment AS Segment,
  I_FinancialPlanningEntryItem.Product AS Product,
  I_FinancialPlanningEntryItem.ProductGroup AS ProductGroup,
  I_FinancialPlanningEntryItem.SoldProduct AS SoldProduct,
  I_FinancialPlanningEntryItem.SoldProductGroup AS SoldProductGroup,
  I_FinancialPlanningEntryItem.Customer AS Customer,
  I_FinancialPlanningEntryItem.CustomerGroup AS CustomerGroup,
  cast( ' ' as md_supplier preserving type ) AS Supplier,
  I_FinancialPlanningEntryItem.GlobalCurrency AS GlobalCurrency,
  I_FinancialPlanningEntryItem.AmountInGlobalCurrency AS AmountInGlobalCurrency,
  I_FinancialPlanningEntryItem.FixedAmountInGlobalCrcy AS FixedAmountInGlobalCrcy,
  I_FinancialPlanningEntryItem.AmountInGlobalCurrency AS KslwoBCF,
  cast (0 as fis_ksl) AS KslonlyBCF,
  I_FinancialPlanningEntryItem._GlobalCurrency AS _GlobalCurrency,
  I_FinancialPlanningEntryItem._FiscalCalendarDate AS _FiscalCalendarDate,
  I_FinancialPlanningEntryItem._GLAccountInChartOfAccounts AS _GLAccountInChartOfAccounts,
  I_FinancialPlanningEntryItem._FiscalYearVariant AS _FiscalYearVariant
FROM I_FinancialPlanningEntryItem
INNER JOIN I_FiscalDateFunctionValue ON /* join condition not captured in parsed metadata */
;