I_MatlTimeDependentStockList
Material Time Dependent Stock List
I_MatlTimeDependentStockList is a Basic CDS View that provides data about "Material Time Dependent Stock List" in SAP S/4HANA. It reads from 1 data source (pph_dd_stk) and exposes 24 fields with key fields Material, MRPPlant, MRPArea, StockLevelValidityStartDate. It has 3 associations to related views. Part of development package ODATA_SAFETY_STK_PP_MRP.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| pph_dd_stk | pph_dd_stk | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_BufferedMaterialPlant | _BufMatPlant | $projection.Material = _BufMatPlant.Material and $projection.MRPPlant = _BufMatPlant.Plant |
| [1..1] | I_MaterialMRPArea | _MatMRPArea | $projection.Material = _MatMRPArea.Material and $projection.MRPPlant = _MatMRPArea.Plant and $projection.MRPArea = _MatMRPArea.MRPArea |
| [0..1] | I_ChangeModeText | _ChgModeText | $projection.ChangeMode = _ChgModeText.ChangeMode and _ChgModeText.Language = $session.system_language |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Material Time Dependent Stock List | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #BASIC | view |
Fields (24)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Material | matnr | Vehicle Model | |
| KEY | MRPPlant | werks | Receiving Plant | |
| KEY | MRPArea | berid | Single-Character Flag | |
| KEY | StockLevelValidityStartDate | date_from | Validity Start Date | |
| StockLevelValidityEndDate | date_to | Validity End Date | ||
| MaterialSafetyStockQty | safety_stock | Safety Stock | ||
| ReorderThresholdQuantity | reorder_point | Reorder Point | ||
| MaterialMaxStockLevelQuantity | max_stock | Max.Stock Level | ||
| MaterialTargetStockLvlQuantity | target_stock | Target Stock | ||
| TargetSupplyDurationInDays | target_dos | Target Days | ||
| MaxSupplyDurationInDays | max_dos | Max Days | ||
| SafetySupplyDurationInDays | safety_dos | Safety Days | ||
| BaseUnit | stock_unit | Base Unit | ||
| ChangeMode | change_mode | Mode of Change | ||
| StockLevelProposalID | proposal_id | Proposal ID | ||
| ProposalVersion | prop_ver | Proposal Version | ||
| ProposalStartDate | prop_date_from | Proposal Valid From | ||
| CreatedByUser | created_by | Version Created By | ||
| LastChangedByUser | changed_by | User Name | ||
| CreationDateTime | created_time | Time Stamp | ||
| LastChangeDateTime | changed_time | Time Stamp | ||
| _BufMatPlant | _BufMatPlant | |||
| _MatMRPArea | _MatMRPArea | |||
| _ChgModeText | _ChgModeText |
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_MatlTimeDependentStockList.
-- 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.
CREATE VIEW I_MatlTimeDependentStockList AS
SELECT
matnr AS Material,
werks AS MRPPlant,
berid AS MRPArea,
date_from AS StockLevelValidityStartDate,
date_to AS StockLevelValidityEndDate,
safety_stock AS MaterialSafetyStockQty,
reorder_point AS ReorderThresholdQuantity,
max_stock AS MaterialMaxStockLevelQuantity,
target_stock AS MaterialTargetStockLvlQuantity,
target_dos AS TargetSupplyDurationInDays,
max_dos AS MaxSupplyDurationInDays,
safety_dos AS SafetySupplyDurationInDays,
stock_unit AS BaseUnit,
change_mode AS ChangeMode,
proposal_id AS StockLevelProposalID,
prop_ver AS ProposalVersion,
prop_date_from AS ProposalStartDate,
created_by AS CreatedByUser,
changed_by AS LastChangedByUser,
created_time AS CreationDateTime,
changed_time AS LastChangeDateTime
FROM pph_dd_stk
LEFT OUTER JOIN I_BufferedMaterialPlant AS _BufMatPlant ON Material = _BufMatPlant.Material AND MRPPlant = _BufMatPlant.Plant -- association [1..1]
LEFT OUTER JOIN I_MaterialMRPArea AS _MatMRPArea ON Material = _MatMRPArea.Material AND MRPPlant = _MatMRPArea.Plant AND MRPArea = _MatMRPArea.MRPArea -- association [1..1]
LEFT OUTER JOIN I_ChangeModeText AS _ChgModeText ON ChangeMode = _ChgModeText.ChangeMode AND _ChgModeText.Language = $session.system_language -- association [0..1]
;
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