I_JITOutbEWMStockCalc

DDL: I_JITOUTBEWMSTOCKCALC SQL: IJITOUTBEWMSTK Type: view COMPOSITE Package: NJIT_MODEL_O

JIT S2L EWM stock calculation

I_JITOutbEWMStockCalc is a Composite CDS View that provides data about "JIT S2L EWM stock calculation" in SAP S/4HANA. It reads from 1 data source (I_JITOutbEWMAvailableStockQty) and exposes 10 fields. Part of development package NJIT_MODEL_O.

Data Sources (1)

SourceAliasJoin Type
I_JITOutbEWMAvailableStockQty I_JITOutbEWMAvailableStockQty from

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IJITOUTBEWMSTK view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label JIT S2L EWM stock calculation view
VDM.viewType #COMPOSITE view
ClientHandling.type #INHERITED view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (10)

KeyFieldSource TableSource FieldDescription
WarehouseNumber WarehouseNumber Whse Number
StorageType StorageType Storage Type
StorageBin StorageBin Storage Bin
Product _JITOutbMaterialUID Product Product Sold
ProductID ProductID Product ID
StockType StockType Stock Type
AvailableEWMStockQty
QuantityUnit QuantityUnit Unit of measure
_JITOutbStorageBin _JITOutbStorageBin
_JITOutbMaterialUID _JITOutbMaterialUID

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_JITOutbEWMStockCalc.
-- 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: IJITOUTBEWMSTK

CREATE VIEW I_JITOutbEWMStockCalc AS
SELECT
  WarehouseNumber,
  StorageType,
  StorageBin,
  _JITOutbMaterialUID.Product AS Product,
  ProductID,
  StockType,
  sum(AvailableEWMStockQty) AS AvailableEWMStockQty,
  QuantityUnit
FROM I_JITOutbEWMAvailableStockQty
;