P_REALTIMEPLANDATA
P_REALTIMEPLANDATA is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (P_PLANDATA_RT_07) and exposes 74 fields with key field ConsolidationRecordNumber.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_PLANDATA_RT_07 | P_PLANDATA_RT_07 | from |
Parameters (2)
| Name | Type | Default |
|---|---|---|
| P_CreationDateTimeRgFr | timestamp | |
| P_CreationDateTimeRgTo | timestamp |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.sqlViewName | PREALTPLANDATA | 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 (74)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ConsolidationRecordNumber | |||
| ReferenceDocumentNumber | ||||
| SubItemCategory | ||||
| SubItem | ||||
| PartnerConsolidationUnit | ||||
| BaseUnit | ||||
| QuantityInBaseUnit | Source | QuantityInBaseUnit | Quantity | |
| FinancialTransactionType | Source | FinancialTransactionType | Transact. Type | |
| FunctionalArea | Source | FunctionalArea | Sendr Fctl Area | |
| BusinessArea | Source | BusinessArea | Business Area | |
| CostCenter | Source | CostCenter | Cost Center | |
| GLAccount | Source | GLAccount | General Ledger | |
| ProfitCenter | Source | ProfitCenter | Profit Center | |
| Segment | Source | Segment | Segment number | |
| AmountInLocalCurrency | ||||
| AmountInGroupCurrency | ||||
| AmountInTransactionCurrency | ||||
| TransactionCurrency | ||||
| FinancialStatementItem | Source | FinancialStatementItem | FS Item | |
| ConsolidationChartOfAccounts | Source | ConsolidationChartOfAccounts | Cons. COA | |
| LocalCurrency | ||||
| ConsolidationDimension | Source | ConsolidationDimension | Dimension | |
| ConsolidationUnit | Source | ConsolidationUnit | Consolidation Unit | |
| ConsolidationVersion | Source | ConsolidationVersion | Version | |
| ConsolidationLedger | Source | ConsolidationLedger | Ledger | |
| GroupCurrency | ||||
| FiscalPeriod | Source | FiscalPeriod | Tax period | |
| FiscalYear | Source | FiscalYear | G/L Fiscal Year | |
| CompanyCode | Source | CompanyCode | Receiver Company Code | |
| ChartOfAccounts | Source | ChartOfAccounts | Node Class | |
| AssignmentReference | Source | AssignmentReference | Assignment Reference | |
| ControllingArea | Source | ControllingArea | Controlling Area | |
| PartnerCostCenter | Source | PartnerCostCenter | Sender Cost Ctr | |
| PartnerProfitCenter | Source | PartnerProfitCenter | Profit Center | |
| PartnerFunctionalArea | Source | PartnerFunctionalArea | Rec. Fntcl Area | |
| PartnerBusinessArea | Source | PartnerBusinessArea | Trdg Part.BA | |
| PartnerCompany | Source | PartnerCompany | Trading Partner | |
| PartnerSegment | Source | PartnerSegment | Partner Segment | |
| OrderID | Source | OrderID | Order ID | |
| Customer | Source | Customer | Sold-to Party | |
| Supplier | Source | Supplier | Supplier | |
| Material | Source | Material | Vehicle Model | |
| MaterialGroup | Source | MaterialGroup | Product Group | |
| ProductGroup | Source | ProductGroup | Product Sold Group | |
| Plant | Source | Plant | Valuation Area | |
| WBSElementExternalID | ||||
| Project | ||||
| BillingDocumentType | Source | BillingDocumentType | Billing Type | |
| SalesOrganization | Source | SalesOrganization | Sales Organization | |
| DistributionChannel | Source | DistributionChannel | RefDistCh-Cust/Mat. | |
| OrganizationDivision | Source | OrganizationDivision | Org. Division | |
| SoldProduct | Source | SoldProduct | Product Sold | |
| SoldProductGroup | Source | SoldProductGroup | Product Sold Group | |
| CustomerGroup | Source | CustomerGroup | Customer Group | |
| CustomerSupplierCountry | Source | CustomerSupplierCountry | Customer or Supplier Country/Region | |
| CustomerSupplierIndustry | Source | CustomerSupplierIndustry | Industry | |
| SalesDistrict | Source | SalesDistrict | Sales District | |
| BillToParty | Source | BillToParty | Inv. Recipient | |
| ShipToParty | Source | ShipToParty | Ship-To Party (obsolete) | |
| CustomerSupplierCorporateGroup | Source | CustomerSupplierCorporateGroup | Group | |
| WBSElementInternalID | ||||
| CreationDateTime | Source | CreationDateTime | Timestamp | |
| FinancialServicesProductGroup | ||||
| FinancialServicesBranch | ||||
| FinancialDataSource | ||||
| FinancialManagementArea | Source | FinancialManagementArea | FM Area | |
| GrantID | Source | GrantID | Sender Grant | |
| Fund | Source | Fund | Sender Fund | |
| PartnerFund | ||||
| CashLedgerAccount | ||||
| CnsldtnCashLedgerChartOfAccts | ||||
| FinancialPlanningReqTransSqnc | Source | FinancialPlanningReqTransSqnc | Request TSN | |
| FinancialPlanningDataPacket | Source | FinancialPlanningDataPacket | Data packet number | |
| FinancialPlanningEntryItem | Source | FinancialPlanningEntryItem |
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_REALTIMEPLANDATA.
-- 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: PREALTPLANDATA
-- Parameters: P_CreationDateTimeRgFr : timestamp, P_CreationDateTimeRgTo : timestamp
CREATE VIEW P_REALTIMEPLANDATA AS
SELECT
cast('' as gu_recid) AS ConsolidationRecordNumber,
cast('' as xblnr1 ) AS ReferenceDocumentNumber,
cast(Source.SubItemCategory as fc_sityp) AS SubItemCategory,
cast(Source.SubItem as fc_sitem) AS SubItem,
cast(coalesce(Source.PartnerConsolidationUnit,'') as fc_buptr) AS PartnerConsolidationUnit,
cast(Source.BaseUnit as meins) AS BaseUnit,
Source.QuantityInBaseUnit AS QuantityInBaseUnit,
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.Segment AS Segment,
cast(Source.AmountInLocalCurrency as vlcur9) AS AmountInLocalCurrency,
cast(Source.AmountInGroupCurrency as vgcur9) AS AmountInGroupCurrency,
cast(Source.AmountInTransactionCurrency as vtcur9) AS AmountInTransactionCurrency,
cast(Source.BalanceTransactionCurrency as rtcur) AS TransactionCurrency,
Source.FinancialStatementItem AS FinancialStatementItem,
Source.ConsolidationChartOfAccounts AS ConsolidationChartOfAccounts,
cast(Source.ConsolidationUnitLocalCurrency as lcurr) AS LocalCurrency,
Source.ConsolidationDimension AS ConsolidationDimension,
Source.ConsolidationUnit AS ConsolidationUnit,
Source.ConsolidationVersion AS ConsolidationVersion,
Source.ConsolidationLedger AS ConsolidationLedger,
cast(Source.GroupCurrency as gcurr) AS GroupCurrency,
Source.FiscalPeriod AS FiscalPeriod,
Source.FiscalYear AS FiscalYear,
Source.CompanyCode AS CompanyCode,
Source.ChartOfAccounts AS ChartOfAccounts,
Source.AssignmentReference AS AssignmentReference,
Source.ControllingArea AS ControllingArea,
Source.PartnerCostCenter AS PartnerCostCenter,
Source.PartnerProfitCenter AS PartnerProfitCenter,
Source.PartnerFunctionalArea AS PartnerFunctionalArea,
Source.PartnerBusinessArea AS PartnerBusinessArea,
Source.PartnerCompany AS PartnerCompany,
Source.PartnerSegment AS PartnerSegment,
Source.OrderID AS OrderID,
Source.Customer AS Customer,
Source.Supplier AS Supplier,
Source.Material AS Material,
Source.MaterialGroup AS MaterialGroup,
Source.ProductGroup AS ProductGroup,
Source.Plant AS Plant,
cast(Source.WBSElementExternalID as fis_wbsext_no_conv) AS WBSElementExternalID,
cast(Source.Project as fis_project_no_conv) AS Project,
Source.BillingDocumentType AS BillingDocumentType,
Source.SalesOrganization AS SalesOrganization,
Source.DistributionChannel AS DistributionChannel,
Source.OrganizationDivision AS OrganizationDivision,
Source.SoldProduct AS SoldProduct,
Source.SoldProductGroup AS SoldProductGroup,
Source.CustomerGroup AS CustomerGroup,
Source.CustomerSupplierCountry AS CustomerSupplierCountry,
Source.CustomerSupplierIndustry AS CustomerSupplierIndustry,
Source.SalesDistrict AS SalesDistrict,
Source.BillToParty AS BillToParty,
Source.ShipToParty AS ShipToParty,
Source.CustomerSupplierCorporateGroup AS CustomerSupplierCorporateGroup,
cast(Source.WBSElementInternalID as fis_wbsint_no_conv) AS WBSElementInternalID,
Source.CreationDateTime AS CreationDateTime,
cast( '' as fis_ffs_product_group ) AS FinancialServicesProductGroup,
cast( '' as fis_ffs_branch_id ) AS FinancialServicesBranch,
cast( '' as fis_ffs_datasource_id ) AS FinancialDataSource,
Source.FinancialManagementArea AS FinancialManagementArea,
Source.GrantID AS GrantID,
Source.Fund AS Fund,
cast( '' as bp_p_geber ) AS PartnerFund,
cast( '' as fis_re_account ) AS CashLedgerAccount,
cast( '' as ktopl ) AS CnsldtnCashLedgerChartOfAccts,
Source.FinancialPlanningReqTransSqnc AS FinancialPlanningReqTransSqnc,
Source.FinancialPlanningDataPacket AS FinancialPlanningDataPacket,
Source.FinancialPlanningEntryItem AS FinancialPlanningEntryItem
FROM P_PLANDATA_RT_07
;
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