P_ActualBalFlowDateFunc2
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)
| Source | Alias | Join Type |
|---|---|---|
| I_FiscalDateFunctionValue | I_FiscalDateFunctionValue | inner |
| I_GLAccountLineItem | I_GLAccountLineItem | from |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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 */
;
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