P_GLAcctFlowSemTagDateFunc

DDL: P_GLACCTFLOWSEMTAGDATEFUNC SQL: PFIACTPLNBFDF Type: view COMPOSITE

P_GLAcctFlowSemTagDateFunc is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_SemTagGLAccount, P_ActualPlanBalFlow) and exposes 41 fields with key fields GLAccountHierarchy, ActualPlanCode, PlanningCategory, Ledger, CompanyCode. It has 2 associations to related views.

Data Sources (2)

SourceAliasJoin Type
I_SemTagGLAccount I_SemTagGLAccount inner
P_ActualPlanBalFlow P_ActualPlanBalFlow from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_Customer _Customer $projection.Customer = _Customer.Customer
[0..1] I_Supplier _Supplier $projection.Supplier = _Supplier.Supplier

Annotations (9)

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

Fields (41)

KeyFieldSource TableSource FieldDescription
KEY GLAccountHierarchy GLAccountHierarchy
KEY ActualPlanCode ActualPlanCode
KEY PlanningCategory PlanningCategory Plan Category
KEY Ledger Ledger Ledger
KEY CompanyCode CompanyCode Receiver Company Code
KEY DateFunction DateFunction Relative Date Function
KEY FiscalYearPeriod FiscalYearPeriod Period/Year
KEY GLAccountFlowType GLAccountFlowType
FiscalYearVariant FiscalYearVariant FY Variant
LedgerFiscalYear LedgerFiscalYear
FiscalQuarter FiscalQuarter
FiscalYearQuarter FiscalYearQuarter
FiscalPeriod FiscalPeriod Tax period
ChartOfAccounts P_ActualPlanBalFlow ChartOfAccounts Node Class
GLAccount P_ActualPlanBalFlow GLAccount General Ledger
IsBalanceSheetAccount IsBalanceSheetAccount Is Balance Sheet Account
HierarchyNode HierarchyNode Node
SemanticTag SemanticTag Semantic Tag
GLAccountTypeFlowType
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
InvertedAmountInGlobalCurrency
KslwoBCF KslwoBCF
KslonlyBCF KslonlyBCF
_GlobalCurrency _GlobalCurrency
_Customer _Customer
_Supplier _Supplier

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_GLAcctFlowSemTagDateFunc.
-- 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: PFIACTPLNBFDF

CREATE VIEW P_GLAcctFlowSemTagDateFunc AS
SELECT
  GLAccountHierarchy,
  ActualPlanCode,
  PlanningCategory,
  Ledger,
  CompanyCode,
  DateFunction,
  FiscalYearPeriod,
  GLAccountFlowType,
  FiscalYearVariant,
  LedgerFiscalYear,
  FiscalQuarter,
  FiscalYearQuarter,
  FiscalPeriod,
  P_ActualPlanBalFlow.ChartOfAccounts AS ChartOfAccounts,
  P_ActualPlanBalFlow.GLAccount AS GLAccount,
  IsBalanceSheetAccount,
  HierarchyNode,
  SemanticTag,
  cast( ' ' as fis_glacct_type_flow_type preserving type ) AS GLAccountTypeFlowType,
  ControllingArea,
  CostCenter,
  ProfitCenter,
  FunctionalArea,
  BusinessArea,
  Segment,
  Product,
  ProductGroup,
  SoldProduct,
  SoldProductGroup,
  Customer,
  CustomerGroup,
  Supplier,
  GlobalCurrency,
  AmountInGlobalCurrency,
  FixedAmountInGlobalCrcy,
  cast(( AmountInGlobalCurrency * -1 ) as fis_ksl_inverted ) AS InvertedAmountInGlobalCurrency,
  KslwoBCF,
  KslonlyBCF
FROM P_ActualPlanBalFlow
INNER JOIN I_SemTagGLAccount ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Customer AS _Customer ON Customer = _Customer.Customer  -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier  -- association [0..1]
;