I_RealTimeWorkInProcess

DDL: I_REALTIMEWORKINPROCESS SQL: IRTWIPREPORTING Type: view COMPOSITE Package: ODATA_CO_RT_WIP_REPORTING

Real Time WIP Reporting

I_RealTimeWorkInProcess is a Composite CDS View that provides data about "Real Time WIP Reporting" in SAP S/4HANA. It reads from 1 data source (P_EBWIP_OrderCost4) and exposes 54 fields with key fields OrderID, CompanyCode. It has 13 associations to related views. Part of development package ODATA_CO_RT_WIP_REPORTING.

Data Sources (1)

SourceAliasJoin Type
P_EBWIP_OrderCost4 P_EBWIP_OrderCost4 from

Parameters (3)

NameTypeDefault
P_KeyDate fins_fperiod_enddate
P_Ledger fins_ledger
P_CurrencyRole fac_crcyrole

Associations (13)

CardinalityTargetAliasCondition
[1..1] I_OrderType _ProductionOrderType $projection.OrderType = _ProductionOrderType.OrderType
[1..1] I_OrderCategory _OrderCategory $projection.OrderCategory = _OrderCategory.OrderCategory
[1..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[1..*] I_ProfitCenter _ProfitCenter $projection.ControllingArea = _ProfitCenter.ControllingArea and $projection.ProfitCenter = _ProfitCenter.ProfitCenter
[1..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[0..1] I_StorageLocation _StorageLocation $projection.Plant = _StorageLocation.Plant and $projection.StorageLocation = _StorageLocation.StorageLocation
[0..1] I_ProductCostCtrlgOrderItem _RepresentativeOrderItem $projection.OrderID = _RepresentativeOrderItem.OrderID and _RepresentativeOrderItem.OrderItem = '0001'
[1..1] I_Product _Material $projection.Material = _Material.Product
[0..*] I_ProductHierarchyText _ProductHierarchyText $projection.producthierarchy = _ProductHierarchyText.ProductHierarchy
[1..1] I_ProductGroup _MaterialGroup $projection.MaterialGroup = _MaterialGroup.MaterialGroup
[0..1] I_FunctionalArea _FunctionalArea $projection.FunctionalArea = _FunctionalArea.FunctionalArea
[0..1] I_MRPArea _MRPArea $projection.MRPArea = _MRPArea.MRPArea
[0..1] I_Plant _MRPPlant $projection.MRPPlant = _MRPPlant.Plant

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName IRTWIPREPORTING view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Real Time WIP Reporting view

Fields (54)

KeyFieldSource TableSource FieldDescription
KEY OrderID OrderID Order ID
KEY CompanyCode CompanyCode Receiver Company Code
ObjectInternalID ObjectInternalID Object number
ControllingArea ControllingArea Controlling Area
OrderDescription OrderDescription
MfgOrderHasMultipleItems MfgOrderHasMultipleItems
CombnOrdCombinationIdentifier CombnOrdCombinationIdentifier
RequestOrderType RequestOrderType
CombinedOrder CombinedOrder
SuperiorOrder SuperiorOrder
Material Material Vehicle Model
MaterialGroup _Material ProductGroup Product Sold Group
ProductHierarchy _Material ProductHierarchy Prod.hierarchy
OrderCategory OrderCategory Order Category
OrderType Order Type
Plant Plant Valuation Area
ProfitCenter ProfitCenter Profit Center
FunctionalArea FunctionalArea Sendr Fctl Area
StorageLocation StorageLocation StorageLocation
MRPArea MRPArea MRP Area
MRPPlant MRPPlant Plant
SalesOrder _RepresentativeOrderItem SalesOrder SD Document
SalesOrderItem _RepresentativeOrderItem SalesOrderItem Sales Order Item
WBSElementInternalID
OrderPlannedTotalQty
UnitOfMeasure UnitOfMeasure Unit Protected Qty
CompletedQuantityToDate
ActualOutputQuantity
PercentageOfCompletion PercentageOfCompletion
OrderCostsOutstandingInPercent OrderCostsOutstandingInPercent
RatioUnit RatioUnit Unit of Measure
TotalWIPAmountInDspCrcy
WIPCostInDspCrcy WIPCostInDspCrcy
PlanCostAmountInDspCrcy PlanCostAmountInDspCrcy
ReservesUnrealizedCostsAmount ReservesUnrealizedCostsAmount
ProducedAmountInDspCrcy ProducedAmountInDspCrcy
CostToCompleteAmountInDspCrcy CostToCompleteAmountInDspCrcy
DisplayCurrency DisplayCurrency Display Currency
CreatedByUser CreatedByUser User Name
CreationDate CreationDate Time Stamp
LastChangedByUser LastChangedByUser User Name
LastChangeDate LastChangeDate Time Stamp
_ProductionOrderType _ProductionOrderType
_OrderCategory _OrderCategory
_CompanyCode _CompanyCode
_ProfitCenter _ProfitCenter
_Plant _Plant
_StorageLocation _StorageLocation
_Material _Material
_ProductHierarchyText _ProductHierarchyText
_MaterialGroup _MaterialGroup
_FunctionalArea _FunctionalArea
_MRPArea _MRPArea
_MRPPlant _MRPPlant

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

CREATE VIEW I_RealTimeWorkInProcess AS
SELECT
  OrderID,
  CompanyCode,
  ObjectInternalID,
  ControllingArea,
  OrderDescription,
  MfgOrderHasMultipleItems,
  CombnOrdCombinationIdentifier,
  RequestOrderType,
  CombinedOrder,
  SuperiorOrder,
  Material,
  _Material.ProductGroup AS MaterialGroup,
  _Material.ProductHierarchy AS ProductHierarchy,
  OrderCategory,
  cast(OrderType as fco_rtwip_prod_order_type preserving type ) AS OrderType,
  Plant,
  ProfitCenter,
  FunctionalArea,
  StorageLocation,
  MRPArea,
  MRPPlant,
  _RepresentativeOrderItem.SalesOrder AS SalesOrder,
  _RepresentativeOrderItem.SalesOrderItem AS SalesOrderItem,
  cast(_RepresentativeOrderItem.WBSElementInternalID as fco_ebpr_wbs_element_int_id preserving type ) AS WBSElementInternalID,
  cast(OrderPlannedTotalQty as fco_tot_plan_output_quantity) AS OrderPlannedTotalQty,
  UnitOfMeasure,
  cast(CompletedQuantityToDate as fco_rtwip_completed_quantity) AS CompletedQuantityToDate,
  cast(ActualOutputQuantity as fis_tot_actual_output_quantity) AS ActualOutputQuantity,
  PercentageOfCompletion,
  OrderCostsOutstandingInPercent,
  RatioUnit,
  cast(TotalWIPAmountInDspCrcy as fco_eb_totalwipamt_in_dspcrcy) AS TotalWIPAmountInDspCrcy,
  WIPCostInDspCrcy,
  PlanCostAmountInDspCrcy,
  ReservesUnrealizedCostsAmount,
  ProducedAmountInDspCrcy,
  CostToCompleteAmountInDspCrcy,
  DisplayCurrency,
  CreatedByUser,
  CreationDate,
  LastChangedByUser,
  LastChangeDate
FROM P_EBWIP_OrderCost4
LEFT OUTER JOIN I_OrderType AS _ProductionOrderType ON OrderType = _ProductionOrderType.OrderType  -- association [1..1]
LEFT OUTER JOIN I_OrderCategory AS _OrderCategory ON OrderCategory = _OrderCategory.OrderCategory  -- association [1..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [1..1]
LEFT OUTER JOIN I_ProfitCenter AS _ProfitCenter ON ControllingArea = _ProfitCenter.ControllingArea AND ProfitCenter = _ProfitCenter.ProfitCenter  -- association [1..*]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [1..1]
LEFT OUTER JOIN I_StorageLocation AS _StorageLocation ON Plant = _StorageLocation.Plant AND StorageLocation = _StorageLocation.StorageLocation  -- association [0..1]
LEFT OUTER JOIN I_ProductCostCtrlgOrderItem AS _RepresentativeOrderItem ON OrderID = _RepresentativeOrderItem.OrderID AND _RepresentativeOrderItem.OrderItem = '0001'  -- association [0..1]
LEFT OUTER JOIN I_Product AS _Material ON Material = _Material.Product  -- association [1..1]
LEFT OUTER JOIN I_ProductHierarchyText AS _ProductHierarchyText ON producthierarchy = _ProductHierarchyText.ProductHierarchy  -- association [0..*]
LEFT OUTER JOIN I_ProductGroup AS _MaterialGroup ON MaterialGroup = _MaterialGroup.MaterialGroup  -- association [1..1]
LEFT OUTER JOIN I_FunctionalArea AS _FunctionalArea ON FunctionalArea = _FunctionalArea.FunctionalArea  -- association [0..1]
LEFT OUTER JOIN I_MRPArea AS _MRPArea ON MRPArea = _MRPArea.MRPArea  -- association [0..1]
LEFT OUTER JOIN I_Plant AS _MRPPlant ON MRPPlant = _MRPPlant.Plant  -- association [0..1]
;