P_PlanData_RT_01
P_PlanData_RT_01 is a Composite CDS View in SAP S/4HANA. It reads from 7 data sources and exposes 44 fields.
Data Sources (7)
| Source | Alias | Join Type |
|---|---|---|
| I_SAPClient | _SAPClient | inner |
| I_CompanyCode | I_CompanyCode | inner |
| I_FinancialPlanningEntryItem | Source | from |
| t881 | t881 | left_outer |
| tf165 | tf165 | left_outer |
| tf200 | tf200 | left_outer |
| tfin010 | tfin010 | left_outer |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.sqlViewName | PPLANDATA_01 | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.private | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (44)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| gcurrendasGroupCurrency | ||||
| ConsolidationDimension | tfin010 | dimen | Dimension Unit | |
| ConsolidationUnit | tfin010 | bunit | Consolidation Unit | |
| ConsolidationVersion | tf200 | rvers | Version: Tax rt | |
| FSItemMappingVersion | tf200 | impvs | Mapping Version | |
| ReferenceChartOfAccounts | I_CompanyCode | ChartOfAccounts | Node Class | |
| ConsolidationLedger | t881 | rldnr | Ledger (Compat.) | |
| FiscalPeriod | I_FinancialPlanningEntryItem | FiscalPeriod | Tax period | |
| FiscalYear | I_FinancialPlanningEntryItem | LedgerFiscalYear | ||
| FiscalYearPeriod | ||||
| PartnerCompany | I_FinancialPlanningEntryItem | PartnerCompany | Trading Partner | |
| BalanceTransactionCurrency | I_FinancialPlanningEntryItem | TransactionCurrency | Transaction Currency | |
| BaseUnit | I_FinancialPlanningEntryItem | CostSourceUnit | ||
| FinancialTransactionType | I_FinancialPlanningEntryItem | FinancialTransactionType | Transact. Type | |
| FunctionalArea | I_FinancialPlanningEntryItem | FunctionalArea | Sendr Fctl Area | |
| BusinessArea | I_FinancialPlanningEntryItem | BusinessArea | Business Area | |
| CostCenter | I_FinancialPlanningEntryItem | CostCenter | Cost Center | |
| GLAccount | I_FinancialPlanningEntryItem | GLAccount | General Ledger | |
| ProfitCenter | I_FinancialPlanningEntryItem | ProfitCenter | Profit Center | |
| AmountInTransactionCurrency | I_FinancialPlanningEntryItem | AmountInTransactionCurrency | Pt Crcy Amt | |
| AmountInLocalCurrency | I_FinancialPlanningEntryItem | AmountInCompanyCodeCurrency | Local Crcy Amt | |
| AmountInGroupCurrency | I_FinancialPlanningEntryItem | AmountInGlobalCurrency | Amount in Global Currency | |
| QuantityInBaseUnit | I_FinancialPlanningEntryItem | ValuationQuantity | ||
| osl | I_FinancialPlanningEntryItem | AmountInFreeDefinedCurrency1 | Amount in Freely Defined Currency 1 | |
| vsl | I_FinancialPlanningEntryItem | AmountInFreeDefinedCurrency2 | Amount in Freely Defined Currency 2 | |
| bsl | I_FinancialPlanningEntryItem | AmountInFreeDefinedCurrency3 | Amount in Freely Defined Currency 3 | |
| csl | I_FinancialPlanningEntryItem | AmountInFreeDefinedCurrency4 | Amount in Freely Defined Currency 4 | |
| dsl | I_FinancialPlanningEntryItem | AmountInFreeDefinedCurrency5 | Amount in Freely Defined Currency 5 | |
| esl | I_FinancialPlanningEntryItem | AmountInFreeDefinedCurrency6 | Amount in Freely Defined Currency 6 | |
| fsl | I_FinancialPlanningEntryItem | AmountInFreeDefinedCurrency7 | Amount in Freely Defined Currency 7 | |
| gsl | I_FinancialPlanningEntryItem | AmountInFreeDefinedCurrency8 | Amount in Freely Defined Currency 8 | |
| Segment | I_FinancialPlanningEntryItem | Segment | Segment number | |
| FinancialManagementArea | I_FinancialPlanningEntryItem | FinancialManagementArea | FM Area | |
| GrantID | I_FinancialPlanningEntryItem | GrantID | Sender Grant | |
| Fund | I_FinancialPlanningEntryItem | Fund | Sender Fund | |
| FinPlngEntryItemCrtnDateTime | I_FinancialPlanningEntryItem | FinPlngEntryItemCrtnDateTime | ||
| AmountInCompanyCodeCurrency | I_FinancialPlanningEntryItem | AmountInCompanyCodeCurrency | Local Crcy Amt | |
| CompanyCodeCurrency | I_FinancialPlanningEntryItem | CompanyCodeCurrency | Local Currency | |
| AmountInGlobalCurrency | I_FinancialPlanningEntryItem | AmountInGlobalCurrency | Amount in Global Currency | |
| GlobalCurrency | I_FinancialPlanningEntryItem | GlobalCurrency | GM Billing Element: Global Currency | |
| FinancialPlanningReqTransSqnc | I_FinancialPlanningEntryItem | FinancialPlanningReqTransSqnc | Request TSN | |
| FinancialPlanningDataPacket | I_FinancialPlanningEntryItem | FinancialPlanningDataPacket | Data packet number | |
| FinancialPlanningEntryItem | I_FinancialPlanningEntryItem | FinancialPlanningEntryItem | ||
| const_zero |
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_PlanData_RT_01.
-- 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: PPLANDATA_01
CREATE VIEW P_PlanData_RT_01 AS
SELECT
case when t881.curt2 = '30' then _SAPClient.GroupCurrency else t881.gcurr end as GroupCurrency AS gcurrendasGroupCurrency,
tfin010.dimen AS ConsolidationDimension,
tfin010.bunit AS ConsolidationUnit,
tf200.rvers AS ConsolidationVersion,
tf200.impvs AS FSItemMappingVersion,
I_CompanyCode.ChartOfAccounts AS ReferenceChartOfAccounts,
t881.rldnr AS ConsolidationLedger,
Source.FiscalPeriod AS FiscalPeriod,
Source.LedgerFiscalYear AS FiscalYear,
cast(Source.FiscalYearPeriod as fins_fyearperiod) AS FiscalYearPeriod,
Source.PartnerCompany AS PartnerCompany,
Source.TransactionCurrency AS BalanceTransactionCurrency,
Source.CostSourceUnit AS BaseUnit,
Source.FinancialTransactionType AS FinancialTransactionType,
Source.FunctionalArea AS FunctionalArea,
Source.BusinessArea AS BusinessArea,
Source.CostCenter AS CostCenter,
Source.GLAccount AS GLAccount,
Source.ProfitCenter AS ProfitCenter,
Source.AmountInTransactionCurrency AS AmountInTransactionCurrency,
Source.AmountInCompanyCodeCurrency AS AmountInLocalCurrency,
Source.AmountInGlobalCurrency AS AmountInGroupCurrency,
Source.ValuationQuantity AS QuantityInBaseUnit,
Source.AmountInFreeDefinedCurrency1 AS osl,
Source.AmountInFreeDefinedCurrency2 AS vsl,
Source.AmountInFreeDefinedCurrency3 AS bsl,
Source.AmountInFreeDefinedCurrency4 AS csl,
Source.AmountInFreeDefinedCurrency5 AS dsl,
Source.AmountInFreeDefinedCurrency6 AS esl,
Source.AmountInFreeDefinedCurrency7 AS fsl,
Source.AmountInFreeDefinedCurrency8 AS gsl,
Source.Segment AS Segment,
Source.FinancialManagementArea AS FinancialManagementArea,
Source.GrantID AS GrantID,
Source.Fund AS Fund,
Source.FinPlngEntryItemCrtnDateTime AS FinPlngEntryItemCrtnDateTime,
Source.AmountInCompanyCodeCurrency AS AmountInCompanyCodeCurrency,
Source.CompanyCodeCurrency AS CompanyCodeCurrency,
Source.AmountInGlobalCurrency AS AmountInGlobalCurrency,
Source.GlobalCurrency AS GlobalCurrency,
Source.FinancialPlanningReqTransSqnc AS FinancialPlanningReqTransSqnc,
Source.FinancialPlanningDataPacket AS FinancialPlanningDataPacket,
Source.FinancialPlanningEntryItem AS FinancialPlanningEntryItem,
cast('000000000000000' as timestamp) AS const_zero
FROM I_FinancialPlanningEntryItem AS Source
INNER JOIN I_CompanyCode ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN tfin010 ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN tf165 ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN tf200 ON /* join condition not captured in parsed metadata */
INNER JOIN I_SAPClient AS _SAPClient ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN t881 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