I_SlowOrNonMovingMatlOPgHdr
SlowNonMvgMaterial: Object Page Header
I_SlowOrNonMovingMatlOPgHdr is a Composite CDS View that provides data about "SlowNonMvgMaterial: Object Page Header" in SAP S/4HANA. It reads from 1 data source (P_SlowOrNonMovingMatlOPgHdr) and exposes 21 fields with key fields Material, Plant. Part of development package ODATA_MM_IM_SLONOMOMAT.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_SlowOrNonMovingMatlOPgHdr | P_SlowOrNonMovingMatlOPgHdr | from |
Parameters (4)
| Name | Type | Default |
|---|---|---|
| P_DisplayCurrency | nsdm_display_currency | |
| P_KeyDate | calendardate | |
| P_NumberOfDays | int4 | |
| P_InventoryConsumptionGroup | inventory_consumption_group |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | SlowNonMvgMaterial: Object Page Header | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | false | view |
Fields (21)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Material | Material | Vehicle Model | |
| KEY | Plant | Plant | Valuation Area | |
| MaterialBaseUnit | MaterialBaseUnit | Valuation Unit | ||
| MatlWrhsStkQtyInMatlBaseUnit | Quantity | |||
| StockValueInCCCrcy | Total Value | |||
| Currency | Valuation Crcy | |||
| DisplayCurrency | ||||
| MatlDocLatestPostgDate | ||||
| NumberOfDaysSinceLastCnsmpn | ||||
| NumberOfDaysSinceLastMovement | ||||
| NumberOfDaysSinceFirstMovement | ||||
| CnsmpnQtyInBaseUnitOnRefDate | ||||
| ConsumptionToStockRatio | ||||
| KeyDate | ||||
| NumberOfDays | ||||
| MaterialGroup | ||||
| MaterialGroupName | ||||
| MaterialType | ||||
| MaterialTypeName | ||||
| MaterialName | ||||
| PlantName |
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_SlowOrNonMovingMatlOPgHdr.
-- 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_SlowOrNonMovingMatlOPgHdr AS
SELECT
Material,
Plant,
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(NumberOfDaysSinceFirstMovement as nsdm_numofdaysincefirstposting) AS NumberOfDaysSinceFirstMovement,
cast(ConsumptionQuantity as nsdm_consumption_quantity ) AS CnsmpnQtyInBaseUnitOnRefDate,
cast(ConsumptionToStockRatio as nsdm_consumptiontostock_ratio preserving type ) AS ConsumptionToStockRatio,
cast($parameters.P_KeyDate as nsdm_reference_date) AS KeyDate,
cast($parameters.P_NumberOfDays as nsdm_numofdaysoflowconsumption) AS NumberOfDays,
P_SlowOrNonMovingMatlOPgHdr._Material.MaterialGroup AS MaterialGroup,
cast( _Material._MaterialGroup._Text[1: Language=$session.system_language].MaterialGroupName as wgbez preserving type ) AS MaterialGroupName,
P_SlowOrNonMovingMatlOPgHdr._Material.MaterialType AS MaterialType,
_Material._MaterialType._Text[1: Language=$session.system_language].MaterialTypeName AS MaterialTypeName,
_Material._Text[1: Language=$session.system_language].MaterialName AS MaterialName,
P_SlowOrNonMovingMatlOPgHdr._Plant.PlantName AS PlantName
FROM P_SlowOrNonMovingMatlOPgHdr
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA