P_LastFallBackLeadTime

DDL: P_LASTFALLBACKLEADTIME Type: view_entity CONSUMPTION Package: PPH_DD_VDM_STLM

Demand Driven Product Lead Time From Material Master

P_LastFallBackLeadTime is a Consumption CDS View that provides data about "Demand Driven Product Lead Time From Material Master" in SAP S/4HANA. It reads from 3 data sources (I_MRPPlantControlParameter, I_MatlProcurementProfile, I_ProductPlantMRPArea) and exposes 7 fields with key fields Material, ProductionPlant, MRPArea. Part of development package PPH_DD_VDM_STLM.

Data Sources (3)

SourceAliasJoin Type
I_MRPPlantControlParameter _MRPControlParams left_outer
I_MatlProcurementProfile _prfl left_outer
I_ProductPlantMRPArea _ProductPlantMRPArea from

Annotations (4)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.serviceQuality #C view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY Material I_ProductPlantMRPArea Material Vehicle Model
KEY ProductionPlant I_ProductPlantMRPArea Plant Valuation Area
KEY MRPArea I_ProductPlantMRPArea MRPArea MRP Area
MRPType I_ProductPlantMRPArea MRPType MRP Type
MRPController I_ProductPlantMRPArea MRPController MRP Controller
IsBulkMaterial I_ProductPlantMRPArea IsBulkMaterial Bulk material
IsPhantomItem I_ProductPlantMRPArea IsPhantomItem Phantom item

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 P_LastFallBackLeadTime.
-- 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 P_LastFallBackLeadTime AS
SELECT
  _ProductPlantMRPArea.Material AS Material,
  _ProductPlantMRPArea.Plant AS ProductionPlant,
  _ProductPlantMRPArea.MRPArea AS MRPArea,
  _ProductPlantMRPArea.MRPType AS MRPType,
  _ProductPlantMRPArea.MRPController AS MRPController,
  _ProductPlantMRPArea.IsBulkMaterial AS IsBulkMaterial,
  _ProductPlantMRPArea.IsPhantomItem AS IsPhantomItem
FROM I_ProductPlantMRPArea AS _ProductPlantMRPArea
LEFT OUTER JOIN I_MatlProcurementProfile AS _prfl ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MRPPlantControlParameter AS _MRPControlParams ON /* join condition not captured in parsed metadata */
;