C_InternalOrderPlanActQ2101

DDL: C_INTERNALORDERPLANACTQ2101 SQL: CFIIOPLANACT2101 Type: view CONSUMPTION

Internal Order Plan Actual

C_InternalOrderPlanActQ2101 (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_InternalOrderPlanActQ2101 is a Consumption CDS View that provides data about "Internal Order Plan Actual" in SAP S/4HANA. It reads from 1 data source (I_ActualPlanJrnlEntryItemCube) and exposes 56 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 order and G/L account in company code currency or global currency?</p></li> <li><p>What are the absolute and relative differences of the actual and the plan amounts in company code currency and global currency?</p></li> <li><p>Optional:</p><ul> <li><p>What are the actual and plan amounts per order and G/L account in transaction currency?</p></li> <li><p>What are the absolute and relative differences of the actual and the plan amounts in transaction currency?</p></li> </ul></li> </ul> <p>For all three 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 CFIIOPLANACT2101 view
AbapCatalog.compiler.compareFilter true view
EndUserText.label Internal Order 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 (56)

KeyFieldSource TableSource FieldDescription
resultElementControllingArea
resultElementLedger
OrderID OrderID Order ID
GLAccount GLAccount General Ledger
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
ChartOfAccounts ChartOfAccounts Chart of Accounts
CompanyCode CompanyCode Receiver Company Code
CompanyCodeCurrency CompanyCodeCurrency Company Code Currency
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
FiscalYearVariant FiscalYearVariant Fiscal Year Variant
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
AccountAssignmentType AccountAssignmentType Account Assignment Type
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
PartnerProjectExternalID PartnerProjectExternalID Partner Project External ID
PartnerWBSElement PartnerWBSElement Partner WBS Element
PartnerWBSElementExternalID PartnerWBSElementExternalID Partner WBS Element External ID
PlanningCategory PlanningCategory Plan Category
PostingDate PostingDate Posting Date for GR
Product Product Product Number
ProfitCenter ProfitCenter Profit Center
CostAnalysisResource CostAnalysisResource Cost Analysis Resource
CostAnalysisResourceName Cost Analysis Resource Name
Segment Segment Segment for Segmental Reporting
PartnerCompany PartnerCompany Company ID of Trading Partner
TransactionCurrency TransactionCurrency Transaction Currency
YearMonth YearMonth Year Month
YearQuarter YearQuarter Year Quarter
YearWeek YearWeek Year and Calendar Week
DifferenceAmtInTransCrcy 1 Difference Actual Plan in Trans Crcy
TransCrcyDifferencePct 1 Difference (%) TC
DifferenceAmtInCoCodeCrcy 1 Difference Actual Plan in CC Crcy
CoCodeCrcyDifferencePct 1 Difference (%) CC
DifferenceAmtInGlobalCrcy 0 Difference Actual Plan in Global Crcy
GlobalCrcyDifferencePct 1 Difference (%) GC

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_InternalOrderPlanActQ2101.
-- 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: CFIIOPLANACT2101
-- 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_InternalOrderPlanActQ2101 AS
SELECT
  resultElement: 'ControllingArea' AS resultElementControllingArea,
  resultElement: 'Ledger' AS resultElementLedger,
  OrderID,
  GLAccount,
  _GLAccountInChartOfAccounts._Text[1:Language = $parameters.P_Language].GLAccountName AS GLAccountName,
  CostCtrActivityType,
  BusinessTransactionType,
  CalendarMonth,
  CalendarQuarter,
  CalendarWeek,
  CalendarYear,
  ChartOfAccounts,
  CompanyCode,
  CompanyCodeCurrency,
  ControllingDebitCreditCode,
  FiscalPeriod,
  FiscalQuarter,
  FiscalWeek,
  FiscalYearPeriod,
  FiscalYearQuarter,
  FiscalYearWeek,
  FiscalYearVariant,
  FunctionalArea,
  GlobalCurrency,
  AccountingDocument,
  LedgerGLLineItem,
  LedgerFiscalYear,
  Material,
  AccountAssignmentType,
  PartnerCostCtrActivityType,
  PartnerCostCenter,
  PartnerFunctionalArea,
  PartnerOrder_2 AS PartnerOrder,
  PartnerProfitCenter,
  PartnerProject,
  PartnerProjectExternalID,
  PartnerWBSElement,
  PartnerWBSElementExternalID,
  PlanningCategory,
  PostingDate,
  Product,
  ProfitCenter,
  CostAnalysisResource,
  _CostAnalysisResource[1:ValidityEndDate >= $parameters.P_KeyDate and ValidityStartDate <= $parameters.P_KeyDate]._Text[1:Language = $parameters.P_Language].CostAnalysisResourceName AS CostAnalysisResourceName,
  Segment,
  PartnerCompany,
  TransactionCurrency,
  YearMonth,
  YearQuarter,
  YearWeek,
  1 AS DifferenceAmtInTransCrcy,
  1 AS TransCrcyDifferencePct,
  1 AS DifferenceAmtInCoCodeCrcy,
  1 AS CoCodeCrcyDifferencePct,
  0 AS DifferenceAmtInGlobalCrcy,
  1 AS GlobalCrcyDifferencePct
FROM I_ActualPlanJrnlEntryItemCube
;