I_ProdBufLvlPrpslDemand

DDL: I_PRODBUFLVLPRPSLDEMAND SQL: IPRODBUFPRPSLDMD Type: view BASIC Package: PPH_DD_VDM_STLM

Product Buffer Level Proposal Demand

I_ProdBufLvlPrpslDemand is a Basic CDS View that provides data about "Product Buffer Level Proposal Demand" in SAP S/4HANA. It reads from 1 data source (pph_dd_stpr_dets) and exposes 17 fields with key fields Material, Plant, MRPArea, ProposalStartDate, ProposalVersion. It has 3 associations to related views. Part of development package PPH_DD_VDM_STLM.

Data Sources (1)

SourceAliasJoin Type
pph_dd_stpr_dets _ProposalDetails from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_BufferedMaterialPlant _BufMatPlant $projection.Material = _BufMatPlant.Material and $projection.Plant = _BufMatPlant.Plant
[1..1] I_Product _Material $projection.Material = _Material.Product
[1..1] I_MaterialMRPArea _MatMRPArea $projection.Material = _MatMRPArea.Material and $projection.Plant = _MatMRPArea.Plant and $projection.MRPArea = _MatMRPArea.MRPArea

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName IPRODBUFPRPSLDMD view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Product Buffer Level Proposal Demand view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #BASIC view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY Material matnr Vehicle Model
KEY Plant werks Receiving Plant
KEY MRPArea berid Single-Character Flag
KEY ProposalStartDate prop_date_from Proposal Valid From
KEY ProposalVersion prop_ver Proposal Version
KEY ProposalRecordDetailsStartDate calc_for_date Prpsl Det. Valid Frm
AverageDailyUsage avgdailyusage Average Daily Usage
AvgDailyUsageUnit adu_unit Base Unit
CreatedByUser created_by Version Created By
LastChangedByUser changed_by User Name
CreationDateTime created_time Time Stamp
LastChangeDateTime changed_time Time Stamp
ProductAuthorizationGroup _Material AuthorizationGroup AuthorizGroup
ProductTypeAuthorizationGroup
ProductGroupAuthorizationGroup
_BufMatPlant _BufMatPlant
_MatMRPArea _MatMRPArea

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_ProdBufLvlPrpslDemand.
-- 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.
-- SQL view name: IPRODBUFPRPSLDMD

CREATE VIEW I_ProdBufLvlPrpslDemand AS
SELECT
  matnr AS Material,
  werks AS Plant,
  berid AS MRPArea,
  prop_date_from AS ProposalStartDate,
  prop_ver AS ProposalVersion,
  calc_for_date AS ProposalRecordDetailsStartDate,
  avgdailyusage AS AverageDailyUsage,
  adu_unit AS AvgDailyUsageUnit,
  created_by AS CreatedByUser,
  changed_by AS LastChangedByUser,
  created_time AS CreationDateTime,
  changed_time AS LastChangeDateTime,
  _Material.AuthorizationGroup AS ProductAuthorizationGroup,
  _Material._ProductType.AuthorizationGroup AS ProductTypeAuthorizationGroup,
  _Material._ProductGroup.AuthorizationGroup AS ProductGroupAuthorizationGroup
FROM pph_dd_stpr_dets AS _ProposalDetails
LEFT OUTER JOIN I_BufferedMaterialPlant AS _BufMatPlant ON Material = _BufMatPlant.Material AND Plant = _BufMatPlant.Plant  -- association [1..1]
LEFT OUTER JOIN I_Product AS _Material ON Material = _Material.Product  -- association [1..1]
LEFT OUTER JOIN I_MaterialMRPArea AS _MatMRPArea ON Material = _MatMRPArea.Material AND Plant = _MatMRPArea.Plant AND MRPArea = _MatMRPArea.MRPArea  -- association [1..1]
;