C_ProfitAndLossPlanActQ2903

DDL: C_PROFITANDLOSSPLANACTQ2903 SQL: CFIPLPLANACT Type: view CONSUMPTION

PL Plan Actual

C_ProfitAndLossPlanActQ2903 (Consumption)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Accounting and Financial Close

C_ProfitAndLossPlanActQ2903 is a Consumption CDS View that provides data about "PL Plan Actual" in SAP S/4HANA. It reads from 1 data source (I_ActualPlanJrnlEntryItemCube) and exposes 66 fields.

SAP API Hub

StateC1
Line of BusinessAccounting and Financial Close
Application ComponentFI-FIO-GL
CapabilitiesAnalytical Query
PackageAccounting and Financial Close for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view provides the prerequisites for answering the following business questions:</p> <ul><li><p>What are the actual and plan amounts per G/L account in company code currency?</p></li> <li><p>What are the actual and plan amounts per G/L account in global currency?</p></li> <li><p>What are the absolute and relative differences of the actual and the plan amount in company code currency and global currency?</p></li> </ul> <p>For both currency types, you can drill down for further relevant characteristics.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
I_ActualPlanJrnlEntryItemCube I_ActualPlanJrnlEntryItemCube from

Parameters (6)

NameTypeDefault
P_PlanningCategory fcom_category
P_KeyDate vdm_v_key_date
P_Language sylangu
P_BusinessUser syuname
P_ControllingArea kokrs
P_Ledger fins_ledger

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName CFIPLPLANACT view
AbapCatalog.compiler.compareFilter true view
EndUserText.label PL Plan Actual view
VDM.viewType #CONSUMPTION view
Analytics.query true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
Analytics.settings.maxProcessingEffort #HIGH view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.buffering.status #NOT_ALLOWED view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view
ObjectModel.modelingPattern #ANALYTICAL_QUERY view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view

Fields (66)

KeyFieldSource TableSource FieldDescription
resultElementControllingArea
resultElementLedger
GLAccountName G/L Account Name
CostCtrActivityType CostCtrActivityType Activity Type
BusinessTransactionType BusinessTransactionType Business Transaction Type
CalendarMonth CalendarMonth Calendar Month
CalendarQuarter CalendarQuarter Calendar Quarter
CalendarWeek CalendarWeek Calendar Week
CalendarYear CalendarYear Calendar Year
CompanyCode CompanyCode Receiver Company Code
CompanyCodeCurrency CompanyCodeCurrency Company Code Currency
CostCenter CostCenter Cost Center
Customer Customer Customer Number
CustomerGroup CustomerGroup Customer Group
DistributionChannel DistributionChannel Distribution Channel
Division Division Internal Division ID
ControllingDebitCreditCode ControllingDebitCreditCode Controlling Debit Credit Code
FiscalPeriod FiscalPeriod Fiscal Period
FiscalQuarter FiscalQuarter Fiscal Quarter
FiscalWeek FiscalWeek Fiscal Week
FiscalYearPeriod FiscalYearPeriod Fiscal Year Period
FiscalYearQuarter FiscalYearQuarter Fiscal Year + Fiscal Quarter
FiscalYearWeek FiscalYearWeek Fiscal Year + Fiscal Week
FunctionalArea FunctionalArea Sendr Fctl Area
GlobalCurrency GlobalCurrency GM Billing Element: Global Currency
AccountingDocument AccountingDocument Journal Entry
LedgerGLLineItem LedgerGLLineItem General Ledger Journal Entry Line Item
LedgerFiscalYear LedgerFiscalYear Fiscal Year of Ledger
Material Material Material Number
MaterialGroup Material Group
AccountAssignmentType AccountAssignmentType Account Assignment Type
OrderID OrderID Order ID
PartnerCostCtrActivityType PartnerCostCtrActivityType Partner Cost Center Activity Type
PartnerCostCenter PartnerCostCenter Partner Cost Center
PartnerFunctionalArea PartnerFunctionalArea Partner Functional Area
PartnerOrder PartnerOrder_2 Partner Order
PartnerProfitCenter PartnerProfitCenter Partner Profit Center
PartnerProject PartnerProject Partner Project
PartnerWBSElement PartnerWBSElement Partner WBS Element
PersonnelNumber PersonnelNumber Personnel Number
PlanningCategory PlanningCategory Plan Category
PostingDate PostingDate Posting Date for GR
Product Product Product Number
SoldProduct SoldProduct Product Sold
ProfitCenter ProfitCenter Profit Center
Project Project WBS Element
CostAnalysisResource CostAnalysisResource Cost Analysis Resource
CostAnalysisResourceName Cost Analysis Resource Name
SalesDocument SalesDocument Sales Document
SalesDocumentItem SalesDocumentItem Sales Document Item
SalesOrder SalesOrder SD Document
SalesOrderItem SalesOrderItem Sales Order Item
SalesOrganization SalesOrganization Sales Organization
Segment Segment Segment for Segmental Reporting
SoldMaterial Sold Material
SoldProductGroup Product Sold Group
PartnerCompany PartnerCompany Company ID of Trading Partner
WBSElement WBSElement WBS Internal ID
WorkItem WorkItem Work Item ID
YearMonth YearMonth Year Month
YearQuarter YearQuarter Year Quarter
YearWeek YearWeek Year and Calendar Week
DifferenceAmtInCoCodeCrcy 1 Difference Actual Plan in CC Crcy
CoCodeCrcyDifferencePct 1 Difference (%)
DifferenceAmtInGlobalCrcy 0 Difference Actual Plan in Global Crcy
GlobalCrcyDifferencePct 1 Difference (%)

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 C_ProfitAndLossPlanActQ2903.
-- 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: CFIPLPLANACT
-- Parameters: P_PlanningCategory : fcom_category, P_KeyDate : vdm_v_key_date, P_Language : sylangu, P_BusinessUser : syuname, P_ControllingArea : kokrs, P_Ledger : fins_ledger

CREATE VIEW C_ProfitAndLossPlanActQ2903 AS
SELECT
  resultElement: 'ControllingArea' AS resultElementControllingArea,
  resultElement: 'Ledger' AS resultElementLedger,
  _GLAccountInChartOfAccounts._Text[1:Language = $parameters.P_Language].GLAccountName AS GLAccountName,
  CostCtrActivityType,
  BusinessTransactionType,
  CalendarMonth,
  CalendarQuarter,
  CalendarWeek,
  CalendarYear,
  CompanyCode,
  CompanyCodeCurrency,
  CostCenter,
  Customer,
  CustomerGroup,
  DistributionChannel,
  Division,
  ControllingDebitCreditCode,
  FiscalPeriod,
  FiscalQuarter,
  FiscalWeek,
  FiscalYearPeriod,
  FiscalYearQuarter,
  FiscalYearWeek,
  FunctionalArea,
  GlobalCurrency,
  AccountingDocument,
  LedgerGLLineItem,
  LedgerFiscalYear,
  Material,
  cast(MaterialGroup as matkl preserving type) AS MaterialGroup,
  AccountAssignmentType,
  OrderID,
  PartnerCostCtrActivityType,
  PartnerCostCenter,
  PartnerFunctionalArea,
  PartnerOrder_2 AS PartnerOrder,
  PartnerProfitCenter,
  PartnerProject,
  PartnerWBSElement,
  PersonnelNumber,
  PlanningCategory,
  PostingDate,
  Product,
  SoldProduct,
  ProfitCenter,
  Project,
  CostAnalysisResource,
  _CostAnalysisResource[1:ValidityEndDate >= $parameters.P_KeyDate and ValidityStartDate <= $parameters.P_KeyDate]._Text[1:Language = $parameters.P_Language].CostAnalysisResourceName AS CostAnalysisResourceName,
  SalesDocument,
  SalesDocumentItem,
  SalesOrder,
  SalesOrderItem,
  SalesOrganization,
  Segment,
  cast(SoldMaterial as fis_sold_material preserving type) AS SoldMaterial,
  cast(SoldProductGroup as fis_soldproductgroup preserving type) AS SoldProductGroup,
  PartnerCompany,
  WBSElement,
  WorkItem,
  YearMonth,
  YearQuarter,
  YearWeek,
  1 AS DifferenceAmtInCoCodeCrcy,
  1 AS CoCodeCrcyDifferencePct,
  0 AS DifferenceAmtInGlobalCrcy,
  1 AS GlobalCrcyDifferencePct
FROM I_ActualPlanJrnlEntryItemCube
;