P_EBWIP_OrderCost3

DDL: P_EBWIP_ORDERCOST3 SQL: PEBWIPORDCST3 Type: view COMPOSITE Package: ODATA_CO_RT_WIP_REPORTING

Event-Based Work In Process Order Cost layer 3

P_EBWIP_OrderCost3 is a Composite CDS View that provides data about "Event-Based Work In Process Order Cost layer 3" in SAP S/4HANA. It reads from 1 data source (P_EBWIP_OrderCost2) and exposes 34 fields with key fields CompanyCode, OrderID. Part of development package ODATA_CO_RT_WIP_REPORTING.

Data Sources (1)

SourceAliasJoin Type
P_EBWIP_OrderCost2 P_EBWIP_OrderCost2 from

Parameters (3)

NameTypeDefault
P_KeyDate fins_fperiod_enddate
P_Ledger fins_ledger
P_CurrencyRole fac_crcyrole

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PEBWIPORDCST3 view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (34)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY OrderID OrderID Order ID
ObjectInternalID ObjectInternalID Object number
OrderDescription OrderDescription
OrderType OrderType Order Type
OrderCategory OrderCategory Order Category
Material Material Vehicle Model
Plant Plant Valuation Area
ProfitCenter ProfitCenter Profit Center
ControllingArea ControllingArea Controlling Area
FunctionalArea FunctionalArea Sendr Fctl Area
StorageLocation StorageLocation StorageLocation
MRPArea MRPArea MRP Area
MRPPlant MRPPlant Plant
MfgOrderHasMultipleItems MfgOrderHasMultipleItems
CombnOrdCombinationIdentifier CombnOrdCombinationIdentifier
CombinedOrder CombinedOrder
RequestOrderType RequestOrderType
SuperiorOrder SuperiorOrder
DisplayCurrency DisplayCurrency Display Currency
WIPCostInDspCrcy WIPCostInDspCrcy
ReservesUnrealizedCostsAmount ReservesUnrealizedCostsAmount
TotalWIPAmountInDspCrcy
ProducedAmountInDspCrcy ProducedAmountInDspCrcy
CompletedQuantityToDate CompletedQuantityToDate
ActualOutputQuantity ActualOutputQuantity
PlanCostAmountInDspCrcy PlanCostAmountInDspCrcy
RatioUnit
UnitOfMeasure UnitOfMeasure Unit Protected Qty
OrderPlannedTotalQty OrderPlannedTotalQty
CreatedByUser CreatedByUser User Name
CreationDate CreationDate Time Stamp
LastChangedByUser LastChangedByUser User Name
LastChangeDate LastChangeDate Time Stamp

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_EBWIP_OrderCost3.
-- 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: PEBWIPORDCST3
-- Parameters: P_KeyDate : fins_fperiod_enddate, P_Ledger : fins_ledger, P_CurrencyRole : fac_crcyrole

CREATE VIEW P_EBWIP_OrderCost3 AS
SELECT
  CompanyCode,
  OrderID,
  ObjectInternalID,
  OrderDescription,
  OrderType,
  OrderCategory,
  Material,
  Plant,
  ProfitCenter,
  ControllingArea,
  FunctionalArea,
  StorageLocation,
  MRPArea,
  MRPPlant,
  MfgOrderHasMultipleItems,
  CombnOrdCombinationIdentifier,
  CombinedOrder,
  RequestOrderType,
  SuperiorOrder,
  DisplayCurrency,
  WIPCostInDspCrcy,
  ReservesUnrealizedCostsAmount,
  cast((WIPCostInDspCrcy + ReservesUnrealizedCostsAmount) as fco_eb_totalwipamt_in_dspcrcy) AS TotalWIPAmountInDspCrcy,
  ProducedAmountInDspCrcy,
  CompletedQuantityToDate,
  ActualOutputQuantity,
  PlanCostAmountInDspCrcy,
  cast('%' as msehi) AS RatioUnit,
  UnitOfMeasure,
  OrderPlannedTotalQty,
  CreatedByUser,
  CreationDate,
  LastChangedByUser,
  LastChangeDate
FROM P_EBWIP_OrderCost2
;