R_MatlTimeDependentStockListTP
TP View Material Time Dependent Stk Lvls
R_MatlTimeDependentStockListTP is a Transactional CDS View that provides data about "TP View Material Time Dependent Stk Lvls" in SAP S/4HANA. It reads from 1 data source (I_MatlTimeDependentStockList) and exposes 26 fields with key fields Material, MRPPlant, MRPArea, StockLevelValidityStartDate. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MatlTimeDependentStockList | _MaterialStkLvl | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_Material | _Product | _Product.Material = _MaterialStkLvl.Material |
| [0..1] | I_UnitOfMeasure | _UnitOfMeasure | _UnitOfMeasure.UnitOfMeasure = _MaterialStkLvl.BaseUnit |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | TP View Material Time Dependent Stk Lvls | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (26)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Material | Material | Vehicle Model | |
| KEY | MRPPlant | MRPPlant | Plant | |
| KEY | MRPArea | MRPArea | MRP Area | |
| KEY | StockLevelValidityStartDate | StockLevelValidityStartDate | Validity Start Date | |
| StockLevelValidityEndDate | StockLevelValidityEndDate | Validity End Date | ||
| ProductSafetyStockLvlQuantity | MaterialSafetyStockQty | Safety Stock | ||
| ReorderThresholdQuantity | ReorderThresholdQuantity | Reorder Point | ||
| ProductMaxStockLevelQuantity | MaterialMaxStockLevelQuantity | Max.Stock Level | ||
| ProductTargetStockLvlQuantity | MaterialTargetStockLvlQuantity | Target Stock | ||
| UnitOfMeasure | BaseUnit | Unit of Measure | ||
| ChangeMode | ChangeMode | Mode of Change | ||
| TargetSupplyDurationInDays | TargetSupplyDurationInDays | Target Days | ||
| MaxSupplyDurationInDays | MaxSupplyDurationInDays | Max Days | ||
| SafetySupplyDurationInDays | SafetySupplyDurationInDays | Safety Days | ||
| StockLevelProposalID | StockLevelProposalID | Proposal ID | ||
| ProposalVersion | ProposalVersion | Proposal Version | ||
| ProposalStartDate | ProposalStartDate | Proposal Valid From | ||
| CreatedByUser | CreatedByUser | User Name | ||
| LastChangedByUser | LastChangedByUser | User Name | ||
| CreationDateTime | CreationDateTime | Timestamp | ||
| LastChangeDateTime | LastChangeDateTime | Timestamp | ||
| UnitOfMeasureNumberOfDecimals | _UnitOfMeasure | UnitOfMeasureNumberOfDecimals | ||
| UnitOfMeasureDspNmbrOfDcmls | _UnitOfMeasure | UnitOfMeasureDspNmbrOfDcmls | ||
| UnitOfMeasureISOCode | _UnitOfMeasure | UnitOfMeasureISOCode | ||
| _Product | _Product | |||
| _StkLvlMaterial | _StkLvlMaterial |
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 R_MatlTimeDependentStockListTP.
-- 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 R_MatlTimeDependentStockListTP AS
SELECT
Material,
MRPPlant,
MRPArea,
StockLevelValidityStartDate,
StockLevelValidityEndDate,
MaterialSafetyStockQty AS ProductSafetyStockLvlQuantity,
ReorderThresholdQuantity,
MaterialMaxStockLevelQuantity AS ProductMaxStockLevelQuantity,
MaterialTargetStockLvlQuantity AS ProductTargetStockLvlQuantity,
BaseUnit AS UnitOfMeasure,
ChangeMode,
TargetSupplyDurationInDays,
MaxSupplyDurationInDays,
SafetySupplyDurationInDays,
StockLevelProposalID,
ProposalVersion,
ProposalStartDate,
CreatedByUser,
LastChangedByUser,
CreationDateTime,
LastChangeDateTime,
_UnitOfMeasure.UnitOfMeasureNumberOfDecimals AS UnitOfMeasureNumberOfDecimals,
_UnitOfMeasure.UnitOfMeasureDspNmbrOfDcmls AS UnitOfMeasureDspNmbrOfDcmls,
_UnitOfMeasure.UnitOfMeasureISOCode AS UnitOfMeasureISOCode
FROM I_MatlTimeDependentStockList AS _MaterialStkLvl
LEFT OUTER JOIN I_Material AS _Product ON _Product.Material = _MaterialStkLvl.Material -- association [1..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasure ON _UnitOfMeasure.UnitOfMeasure = _MaterialStkLvl.BaseUnit -- 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