P_EBPAO_PCCProductionCost

DDL: P_EBPAO_PCCPRODUCTIONCOST Type: view COMPOSITE

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

Data Sources (2)

SourceAliasJoin Type
I_LedgerCompanyCodeCrcyRoles CurrencyRoles inner
P_EBPAO_PCCProductionCost1 P_EBPAO_PCCProductionCost1 from

Parameters (4)

NameTypeDefault
P_Ledger fins_ledger
P_FromFiscalYearPeriod fins_fyearperiod
P_ToFiscalYearPeriod fins_fyearperiod
P_CurrencyRole fis_curtp

Annotations (10)

NameValueLevelField
AbapCatalog.compiler.compareFilter true view
AbapCatalog.sqlViewName PEBPAOPCCPRDCST 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 (10)

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

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_PCCProductionCost.
-- 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_PCCProductionCost AS
SELECT
  ProductionCost.OrderID AS OrderID,
  ProductionCost.CompanyCode AS CompanyCode,
  ProductionCost.ControllingArea AS ControllingArea,
  ProductionCost.Plant AS Plant,
  ProductionCost.ProfitCenter AS ProfitCenter,
  ProductionCost.OrderCategory AS OrderCategory,
  ProductionCost.OrderType AS OrderType,
  ProductionCost.StorageLocation AS StorageLocation,
  ProductionCost.Product AS Product,
  ProductionCost.ProductGroup AS ProductGroup
FROM P_EBPAO_PCCProductionCost1
INNER JOIN I_LedgerCompanyCodeCrcyRoles AS CurrencyRoles ON /* join condition not captured in parsed metadata */
;