P_EBPAO_WIPTrend

DDL: P_EBPAO_WIPTREND Type: view COMPOSITE

P_EBPAO_WIPTrend is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (P_EBPAO_AdjustedOrder4Cost, P_EBPAO_WIPTrend2) and exposes 13 fields with key fields CompanyCode, OrderID, OrderItem, FiscalYearPeriod, OrderType.

Data Sources (2)

SourceAliasJoin Type
P_EBPAO_AdjustedOrder4Cost OrderContext from
P_EBPAO_WIPTrend2 P_EBPAO_WIPTrend2 inner

Parameters (7)

NameTypeDefault
P_Ledger fins_ledger
P_ToFiscalYearPeriod fins_fyearperiod
P_ToFiscalYearPeriod2 fins_fyearperiod
P_ToFiscalYearPeriod3 fins_fyearperiod
P_ToFiscalYearPeriod4 fins_fyearperiod
P_ToFiscalYearPeriod5 fins_fyearperiod
P_CurrencyRole fis_curtp

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PEBPAOWIPTREND view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true 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 (13)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode P_EBPAO_AdjustedOrder4Cost CompanyCode Receiver Company Code
KEY OrderID P_EBPAO_AdjustedOrder4Cost OrderID Order ID
KEY OrderItem WIPCost OrderItem
KEY FiscalYearPeriod WIPCost FiscalYearPeriod Period/Year
KEY OrderType P_EBPAO_AdjustedOrder4Cost OrderType Order Type
KEY OrderCategory P_EBPAO_AdjustedOrder4Cost OrderCategory Order Category
KEY ControllingArea P_EBPAO_AdjustedOrder4Cost ControllingArea Controlling Area
KEY Plant P_EBPAO_AdjustedOrder4Cost Plant Valuation Area
KEY StorageLocation P_EBPAO_AdjustedOrder4Cost StorageLocation StorageLocation
KEY ProfitCenter P_EBPAO_AdjustedOrder4Cost ProfitCenter Profit Center
KEY Product P_EBPAO_AdjustedOrder4Cost Product Product Sold
KEY ProductGroup P_EBPAO_AdjustedOrder4Cost ProductGroup Product Sold Group
Period01AmountInDisplayCrcy

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_WIPTrend.
-- 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_ToFiscalYearPeriod : fins_fyearperiod, P_ToFiscalYearPeriod2 : fins_fyearperiod, P_ToFiscalYearPeriod3 : fins_fyearperiod, P_ToFiscalYearPeriod4 : fins_fyearperiod, P_ToFiscalYearPeriod5 : fins_fyearperiod, P_CurrencyRole : fis_curtp

CREATE VIEW P_EBPAO_WIPTrend AS
SELECT
  OrderContext.CompanyCode AS CompanyCode,
  OrderContext.OrderID AS OrderID,
  WIPCost.OrderItem AS OrderItem,
  WIPCost.FiscalYearPeriod AS FiscalYearPeriod,
  OrderContext.OrderType AS OrderType,
  OrderContext.OrderCategory AS OrderCategory,
  OrderContext.ControllingArea AS ControllingArea,
  OrderContext.Plant AS Plant,
  OrderContext.StorageLocation AS StorageLocation,
  OrderContext.ProfitCenter AS ProfitCenter,
  OrderContext.Product AS Product,
  OrderContext.ProductGroup AS ProductGroup,
  cast(WIPCost.AmountInDisplayCurrency as abgbesges) AS Period01AmountInDisplayCrcy
FROM P_EBPAO_AdjustedOrder4Cost AS OrderContext
INNER JOIN P_EBPAO_WIPTrend2 ON /* join condition not captured in parsed metadata */
;