P_ActualBalFlowDateFunc

DDL: P_ACTUALBALFLOWDATEFUNC Type: view_entity COMPOSITE Package: FINS_FIS_FICO

P_ActualBalFlowDateFunc

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

Data Sources (2)

SourceAliasJoin Type
I_GLAccountLineItem I_GLAccountLineItem from
P_FiscalDateFunctionValueFY P_FiscalDateFunctionValueFY 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 (34)

KeyFieldSource TableSource FieldDescription
KEY ActualPlanCode
KEY PlanningCategory
KEY Ledger I_GLAccountLineItem Ledger Ledger
KEY CompanyCode I_GLAccountLineItem CompanyCode Receiver Company Code
KEY DateFunction P_FiscalDateFunctionValueFY DateFunction Relative Date Function
KEY FiscalYearPeriod I_GLAccountLineItem FiscalYearPeriod Period/Year
KEY GLAccountFlowType
FiscalYearVariant I_GLAccountLineItem FiscalYearVariant FY Variant
LedgerFiscalYear I_GLAccountLineItem LedgerFiscalYear
FiscalPeriod I_GLAccountLineItem FiscalPeriod Tax period
PostingDate I_GLAccountLineItem PostingDate Posting Date for GR
ChartOfAccounts I_GLAccountLineItem ChartOfAccounts Node Class
GLAccount I_GLAccountLineItem GLAccount General Ledger
ControllingArea I_GLAccountLineItem ControllingArea Controlling Area
CostCenter I_GLAccountLineItem CostCenter Cost Center
ProfitCenter I_GLAccountLineItem ProfitCenter Profit Center
FunctionalArea I_GLAccountLineItem FunctionalArea Sendr Fctl Area
BusinessArea I_GLAccountLineItem BusinessArea Business Area
Segment I_GLAccountLineItem Segment Segment number
Product I_GLAccountLineItem Product Product Sold
ProductGroup I_GLAccountLineItem ProductGroup Product Sold Group
SoldProduct I_GLAccountLineItem SoldProduct Product Sold
SoldProductGroup I_GLAccountLineItem SoldProductGroup Product Sold Group
Customer I_GLAccountLineItem Customer Sold-to Party
CustomerGroup I_GLAccountLineItem CustomerGroup Customer Group
OrderID I_GLAccountLineItem OrderID Order ID
SalesDocument I_GLAccountLineItem SalesDocument SD Document
Supplier I_GLAccountLineItem Supplier Supplier
GlobalCurrency I_GLAccountLineItem GlobalCurrency GM Billing Element: Global Currency
AmountInGlobalCurrency I_GLAccountLineItem AmountInGlobalCurrency Amount in Global Currency
FixedAmountInGlobalCrcy I_GLAccountLineItem FixedAmountInGlobalCrcy
_GlobalCurrency I_GLAccountLineItem _GlobalCurrency
_FiscalCalendarDate I_GLAccountLineItem _FiscalCalendarDate
_GLAccountInChartOfAccounts I_GLAccountLineItem _GLAccountInChartOfAccounts

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_ActualBalFlowDateFunc.
-- 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_ActualBalFlowDateFunc AS
SELECT
  cast( 'A' as fis_actual_plan_code preserving type ) AS ActualPlanCode,
  cast( 'ACT01 ' as fcom_category preserving type ) AS PlanningCategory,
  I_GLAccountLineItem.Ledger AS Ledger,
  I_GLAccountLineItem.CompanyCode AS CompanyCode,
  P_FiscalDateFunctionValueFY.DateFunction AS DateFunction,
  I_GLAccountLineItem.FiscalYearPeriod AS FiscalYearPeriod,
  cast(cast( '2 ' as abap.char(10) ) as fis_glaccount_flow_type preserving type ) AS GLAccountFlowType,
  I_GLAccountLineItem.FiscalYearVariant AS FiscalYearVariant,
  I_GLAccountLineItem.LedgerFiscalYear AS LedgerFiscalYear,
  I_GLAccountLineItem.FiscalPeriod AS FiscalPeriod,
  I_GLAccountLineItem.PostingDate AS PostingDate,
  I_GLAccountLineItem.ChartOfAccounts AS ChartOfAccounts,
  I_GLAccountLineItem.GLAccount AS GLAccount,
  I_GLAccountLineItem.ControllingArea AS ControllingArea,
  I_GLAccountLineItem.CostCenter AS CostCenter,
  I_GLAccountLineItem.ProfitCenter AS ProfitCenter,
  I_GLAccountLineItem.FunctionalArea AS FunctionalArea,
  I_GLAccountLineItem.BusinessArea AS BusinessArea,
  I_GLAccountLineItem.Segment AS Segment,
  I_GLAccountLineItem.Product AS Product,
  I_GLAccountLineItem.ProductGroup AS ProductGroup,
  I_GLAccountLineItem.SoldProduct AS SoldProduct,
  I_GLAccountLineItem.SoldProductGroup AS SoldProductGroup,
  I_GLAccountLineItem.Customer AS Customer,
  I_GLAccountLineItem.CustomerGroup AS CustomerGroup,
  I_GLAccountLineItem.OrderID AS OrderID,
  I_GLAccountLineItem.SalesDocument AS SalesDocument,
  I_GLAccountLineItem.Supplier AS Supplier,
  I_GLAccountLineItem.GlobalCurrency AS GlobalCurrency,
  I_GLAccountLineItem.AmountInGlobalCurrency AS AmountInGlobalCurrency,
  I_GLAccountLineItem.FixedAmountInGlobalCrcy AS FixedAmountInGlobalCrcy,
  I_GLAccountLineItem._GlobalCurrency AS _GlobalCurrency,
  I_GLAccountLineItem._FiscalCalendarDate AS _FiscalCalendarDate,
  I_GLAccountLineItem._GLAccountInChartOfAccounts AS _GLAccountInChartOfAccounts
FROM I_GLAccountLineItem
INNER JOIN P_FiscalDateFunctionValueFY ON /* join condition not captured in parsed metadata */
;