P_EBPAO_OrdPlanCostByCrcyRole

DDL: P_EBPAO_ORDPLANCOSTBYCRCYROLE Type: view COMPOSITE

P_EBPAO_OrdPlanCostByCrcyRole is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_LedgerCompanyCodeCrcyRoles, P_EBPAO_OrderPlanCost) and exposes 11 fields with key fields OrderID, CompanyCode, ControllingArea, Plant, ProfitCenter.

Data Sources (2)

SourceAliasJoin Type
I_LedgerCompanyCodeCrcyRoles CurrencyRoles inner
P_EBPAO_OrderPlanCost P_EBPAO_OrderPlanCost from

Parameters (4)

NameTypeDefault
P_Ledger fins_ledger
P_FromFiscalYearPeriod fins_fyearperiod
P_ToFiscalYearPeriod fins_fyearperiod
P_CurrencyRole fis_curtp

Annotations (11)

NameValueLevelField
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AbapCatalog.sqlViewName PEBPAOOPCBCR view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
VDM.private true view
VDM.viewType #COMPOSITE view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY OrderID PlanCost OrderID Order ID
KEY CompanyCode PlanCost CompanyCode Receiver Company Code
KEY ControllingArea PlanCost ControllingArea Controlling Area
KEY Plant PlanCost Plant Valuation Area
KEY ProfitCenter PlanCost ProfitCenter Profit Center
KEY OrderCategory PlanCost OrderCategory Order Category
KEY OrderType PlanCost OrderType Order Type
KEY StorageLocation PlanCost StorageLocation StorageLocation
KEY Product PlanCost Product Product Sold
KEY ProductGroup PlanCost ProductGroup Product Sold Group
BaseUnit PlanCost BaseUnit Unit of Measure

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_EBPAO_OrdPlanCostByCrcyRole.
-- 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.
-- Parameters: P_Ledger : fins_ledger, P_FromFiscalYearPeriod : fins_fyearperiod, P_ToFiscalYearPeriod : fins_fyearperiod, P_CurrencyRole : fis_curtp

CREATE VIEW P_EBPAO_OrdPlanCostByCrcyRole AS
SELECT
  PlanCost.OrderID AS OrderID,
  PlanCost.CompanyCode AS CompanyCode,
  PlanCost.ControllingArea AS ControllingArea,
  PlanCost.Plant AS Plant,
  PlanCost.ProfitCenter AS ProfitCenter,
  PlanCost.OrderCategory AS OrderCategory,
  PlanCost.OrderType AS OrderType,
  PlanCost.StorageLocation AS StorageLocation,
  PlanCost.Product AS Product,
  PlanCost.ProductGroup AS ProductGroup,
  PlanCost.BaseUnit AS BaseUnit
FROM P_EBPAO_OrderPlanCost
INNER JOIN I_LedgerCompanyCodeCrcyRoles AS CurrencyRoles ON /* join condition not captured in parsed metadata */
;