I_SlowOrNonMovingMatlOPg

DDL: I_SLOWORNONMOVINGMATLOPG Type: view_entity COMPOSITE Package: ODATA_MM_IM_SLONOMOMAT

Slow or Non-Moving Materials object page

I_SlowOrNonMovingMatlOPg is a Composite CDS View (Cube) that provides data about "Slow or Non-Moving Materials object page" in SAP S/4HANA. It reads from 1 data source (P_SlowOrNonMovingMatlBOMOPg) and exposes 32 fields with key fields Material, Plant, StockIdentifyingBatch, SpecialStockIdfgSupplier, SpecialStockIdfgSalesOrder. It has 6 associations to related views. Part of development package ODATA_MM_IM_SLONOMOMAT.

Data Sources (1)

SourceAliasJoin Type
P_SlowOrNonMovingMatlBOMOPg P_SlowOrNonMovingMatlBOMOPg from

Parameters (4)

NameTypeDefault
P_DisplayCurrency nsdm_display_currency
P_KeyDate calendardate
P_NumberOfDays int4
P_InventoryConsumptionGroup inventory_consumption_group

Associations (6)

CardinalityTargetAliasCondition
[0..1] I_MatlDocMaterialVH _Material $projection.Material = _Material.Material and $projection.Plant = _Material.Plant
[0..1] I_MatlDocPlantVH _Plant $projection.Plant = _Plant.Plant
[0..1] I_Product _Product $projection.Material = _Product.Product
[0..1] I_PlantStdVH _PlantBasic $projection.Plant = _PlantBasic.Plant
[0..1] E_Product _ProductExt $projection.Material = _ProductExt.Product
[0..1] E_Productplant _ProductPlantExt $projection.Material = _ProductPlantExt.Product and $projection.Plant = _ProductPlantExt.Plant

Annotations (16)

NameValueLevelField
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.createEnabled false view
ObjectModel.updateEnabled false view
ObjectModel.deleteEnabled false view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.private false view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
Analytics.dataCategory #CUBE view
Analytics.internalName #LOCAL view
Analytics.technicalName ISLOWNOMOMATOPG view
EndUserText.label Slow or Non-Moving Materials object page view
Metadata.allowExtensions true view

Fields (32)

KeyFieldSource TableSource FieldDescription
KEY Material Material Vehicle Model
KEY Plant Plant Valuation Area
KEY StockIdentifyingBatch StockIdentifyingBatch
KEY SpecialStockIdfgSupplier SpecialStockIdfgSupplier
KEY SpecialStockIdfgSalesOrder SpecialStockIdfgSalesOrder Stock Ident Header
KEY SpecialStockIdfgSalesOrderItem SpecialStockIdfgSalesOrderItem Stock Ident Item
KEY SpecialStockIdfgWBSElement SpecialStockIdfgWBSElement WBS Internal ID
KEY SpecialStockIdfgCustomer SpecialStockIdfgCustomer
KEY SpecialStockIdfgStockOwner SpecialStockIdfgStockOwner
KEY InventorySpecialStockType InventorySpecialStockType Special Stock Type
KEY InventoryStockType InventoryStockType Stock Type
KEY MaterialBaseUnit MaterialBaseUnit Valuation Unit
MatlWrhsStkQtyInMatlBaseUnit Quantity
StockValueInCCCrcy Total Value
Currency Valuation Crcy
DisplayCurrency
MatlDocLatestPostgDate
NumberOfDaysSinceLastCnsmpn
NumberOfDaysSinceLastMovement
CnsmpnQtyInBaseUnitOnRefDate
ConsumptionToStockRatio
NumberOfBOMUsingTheMaterial
KeyDate
NumberOfDays
MaterialGroup
MaterialGroupName
MaterialType
MaterialTypeName
MaterialName
PlantName _PlantBasic PlantName Plant Name
_Material _Material
_Plant _Plant

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_SlowOrNonMovingMatlOPg.
-- 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_DisplayCurrency : nsdm_display_currency, P_KeyDate : calendardate, P_NumberOfDays : int4, P_InventoryConsumptionGroup : inventory_consumption_group

CREATE VIEW I_SlowOrNonMovingMatlOPg AS
SELECT
  Material,
  Plant,
  StockIdentifyingBatch,
  SpecialStockIdfgSupplier,
  SpecialStockIdfgSalesOrder,
  SpecialStockIdfgSalesOrderItem,
  SpecialStockIdfgWBSElement,
  SpecialStockIdfgCustomer,
  SpecialStockIdfgStockOwner,
  InventorySpecialStockType,
  InventoryStockType,
  MaterialBaseUnit,
  cast(MatlWrhsStkQtyInMatlBaseUnit as nsdm_material_stock_in_buom) AS MatlWrhsStkQtyInMatlBaseUnit,
  cast(StockValueInCCCrcy as nsdm_stock_value_in_cccrcy) AS StockValueInCCCrcy,
  cast(Currency as waers) AS Currency,
  cast($parameters.P_DisplayCurrency as vdm_v_display_currency ) AS DisplayCurrency,
  cast(MatlDocLatestPostgDate as nsdm_date_of_last_posting) AS MatlDocLatestPostgDate,
  cast(NumberOfDaysSinceLastCnsmpn as nsdm_numofdaysinceconsumption) AS NumberOfDaysSinceLastCnsmpn,
  cast(NumberOfDaysSinceLastMovement as nsdm_numofdaysinceposting) AS NumberOfDaysSinceLastMovement,
  cast(ConsumptionQuantity as nsdm_consumption_quantity ) AS CnsmpnQtyInBaseUnitOnRefDate,
  cast(ConsumptionToStockRatio as nsdm_consumptiontostock_ratio preserving type ) AS ConsumptionToStockRatio,
  cast( (NumberOfBomCross + NumberOfBomPlant) as nsdm_number_of_bom_used_in ) AS NumberOfBOMUsingTheMaterial,
  cast($parameters.P_KeyDate as nsdm_reference_date) AS KeyDate,
  cast($parameters.P_NumberOfDays as nsdm_numofdaysoflowconsumption) AS NumberOfDays,
  cast( _Product.ProductGroup as matkl preserving type ) AS MaterialGroup,
  cast( _Product._ProductGroupText_2[1: Language=$session.system_language].ProductGroupName as nsdm_wgbez preserving type ) AS MaterialGroupName,
  cast( _Product.ProductType as mtart preserving type ) AS MaterialType,
  cast( _Product._ProductTypeName[1: Language=$session.system_language].MaterialTypeName as nsdm_mtbez preserving type ) AS MaterialTypeName,
  cast( _Product._Text[1: Language=$session.system_language].ProductName as maktx preserving type ) AS MaterialName,
  _PlantBasic.PlantName AS PlantName
FROM P_SlowOrNonMovingMatlBOMOPg
LEFT OUTER JOIN I_MatlDocMaterialVH AS _Material ON Material = _Material.Material AND Plant = _Material.Plant  -- association [0..1]
LEFT OUTER JOIN I_MatlDocPlantVH AS _Plant ON Plant = _Plant.Plant  -- association [0..1]
LEFT OUTER JOIN I_Product AS _Product ON Material = _Product.Product  -- association [0..1]
LEFT OUTER JOIN I_PlantStdVH AS _PlantBasic ON Plant = _PlantBasic.Plant  -- association [0..1]
LEFT OUTER JOIN E_Product AS _ProductExt ON Material = _ProductExt.Product  -- association [0..1]
LEFT OUTER JOIN E_Productplant AS _ProductPlantExt ON Material = _ProductPlantExt.Product AND Plant = _ProductPlantExt.Plant  -- association [0..1]
;