P_PlanBalFlowDateFunc
P_PlanBalFlowDateFunc
P_PlanBalFlowDateFunc is a Composite CDS View that provides data about "P_PlanBalFlowDateFunc" in SAP S/4HANA. It reads from 2 data sources (I_FinancialPlanningEntryItem, P_FiscalDateFunctionValueFY) and exposes 36 fields with key fields ActualPlanCode, PlanningCategory, Ledger, CompanyCode, DateFunction. Part of development package FINS_FIS_FICO.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_FinancialPlanningEntryItem | I_FinancialPlanningEntryItem | from |
| P_FiscalDateFunctionValueFY | P_FiscalDateFunctionValueFY | inner |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.entityBuffer.definitionAllowed | false | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (36)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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 | P_FiscalDateFunctionValueFY | 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 | |
| OrderID | I_FinancialPlanningEntryItem | OrderID | Order ID | |
| SalesDocument | I_FinancialPlanningEntryItem | SalesDocument | SD Document | |
| 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 | |
| _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_PlanBalFlowDateFunc.
-- 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_PlanBalFlowDateFunc 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,
P_FiscalDateFunctionValueFY.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,
I_FinancialPlanningEntryItem.OrderID AS OrderID,
I_FinancialPlanningEntryItem.SalesDocument AS SalesDocument,
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._GlobalCurrency AS _GlobalCurrency,
I_FinancialPlanningEntryItem._FiscalCalendarDate AS _FiscalCalendarDate,
I_FinancialPlanningEntryItem._GLAccountInChartOfAccounts AS _GLAccountInChartOfAccounts,
I_FinancialPlanningEntryItem._FiscalYearVariant AS _FiscalYearVariant
FROM I_FinancialPlanningEntryItem
INNER JOIN P_FiscalDateFunctionValueFY ON /* join condition not captured in parsed metadata */
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA