P_ActualBalFlowDateFunc2

DDL: P_ACTUALBALFLOWDATEFUNC2 SQL: PFIACTBFDF2 Type: view COMPOSITE

P_ActualBalFlowDateFunc2 is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_FiscalDateFunctionValue, I_GLAccountLineItem) and exposes 34 fields with key fields ActualPlanCode, PlanningCategory, Ledger, CompanyCode, DateFunction.

Data Sources (2)

SourceAliasJoin Type
I_FiscalDateFunctionValue I_FiscalDateFunctionValue inner
I_GLAccountLineItem I_GLAccountLineItem from

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName PFIACTBFDF2 view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AbapCatalog.buffering.status #NOT_ALLOWED view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #COMPOSITE view
VDM.private true view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view

Fields (34)

KeyFieldSource TableSource FieldDescription
KEY ActualPlanCode
KEY PlanningCategory
KEY Ledger Ledger Ledger
KEY CompanyCode CompanyCode Receiver Company Code
KEY DateFunction DateFunction Relative Date Function
KEY FiscalYearPeriod FiscalYearPeriod Period/Year
KEY GLAccountFlowType
FiscalYearVariant I_GLAccountLineItem FiscalYearVariant FY Variant
LedgerFiscalYear LedgerFiscalYear
FiscalPeriod FiscalPeriod Tax period
PostingDate PostingDate Posting Date for GR
ChartOfAccounts ChartOfAccounts Node Class
GLAccount GLAccount General Ledger
ControllingArea ControllingArea Controlling Area
CostCenter CostCenter Cost Center
ProfitCenter ProfitCenter Profit Center
FunctionalArea FunctionalArea Sendr Fctl Area
BusinessArea BusinessArea Business Area
Segment Segment Segment number
Product Product Product Sold
ProductGroup ProductGroup Product Sold Group
SoldProduct SoldProduct Product Sold
SoldProductGroup SoldProductGroup Product Sold Group
Customer Customer Sold-to Party
CustomerGroup CustomerGroup Customer Group
Supplier Supplier Supplier
GlobalCurrency GlobalCurrency GM Billing Element: Global Currency
AmountInGlobalCurrency AmountInGlobalCurrency Amount in Global Currency
FixedAmountInGlobalCrcy FixedAmountInGlobalCrcy
KslwoBCF AmountInGlobalCurrency Amount in Global Currency
KslonlyBCF
_GlobalCurrency _GlobalCurrency
_FiscalCalendarDate _FiscalCalendarDate
_GLAccountInChartOfAccounts _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_ActualBalFlowDateFunc2.
-- 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: PFIACTBFDF2

CREATE VIEW P_ActualBalFlowDateFunc2 AS
SELECT
  cast( 'A' as fis_actual_plan_code preserving type ) AS ActualPlanCode,
  cast( 'ACT01 ' as fcom_category preserving type ) AS PlanningCategory,
  Ledger,
  CompanyCode,
  DateFunction,
  FiscalYearPeriod,
  cast( '2 ' as fis_glaccount_flow_type preserving type ) AS GLAccountFlowType,
  I_GLAccountLineItem.FiscalYearVariant AS FiscalYearVariant,
  LedgerFiscalYear,
  FiscalPeriod,
  PostingDate,
  ChartOfAccounts,
  GLAccount,
  ControllingArea,
  CostCenter,
  ProfitCenter,
  FunctionalArea,
  BusinessArea,
  Segment,
  Product,
  ProductGroup,
  SoldProduct,
  SoldProductGroup,
  Customer,
  CustomerGroup,
  Supplier,
  GlobalCurrency,
  AmountInGlobalCurrency,
  FixedAmountInGlobalCrcy,
  AmountInGlobalCurrency AS KslwoBCF,
  cast (0 as fis_ksl) AS KslonlyBCF
FROM I_GLAccountLineItem
INNER JOIN I_FiscalDateFunctionValue ON /* join condition not captured in parsed metadata */
;