I_ProdBufLvlPrpslTP

DDL: I_PRODBUFLVLPRPSLTP SQL: IPRODBUFPRPSLTP Type: view TRANSACTIONAL

Product Buffer Level Proposal TP

I_ProdBufLvlPrpslTP is a Transactional CDS View that provides data about "Product Buffer Level Proposal TP" in SAP S/4HANA. It reads from 1 data source (I_ProdBufLvlPrpsl) and exposes 39 fields with key fields Material, Plant, MRPArea, ProposalStartDate, ProposalVersion. It has 8 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ProdBufLvlPrpsl I_ProdBufLvlPrpsl from

Associations (8)

CardinalityTargetAliasCondition
[1..*] I_ProdBufLvlPrpslDmndTP _ProposalDemandTP $projection.Material = _ProposalDemandTP.Material and $projection.Plant = _ProposalDemandTP.Plant and $projection.MRPArea = _ProposalDemandTP.MRPArea and $projection.ProposalStartDate = _ProposalDemandTP.ProposalStartDate and $projection.ProposalVersion = _ProposalDemandTP.ProposalVersion
[1..*] I_ProdBufLvlPrpslZnAdjmtFctrTP _ProposalAdjFactorsTP $projection.Material = _ProposalAdjFactorsTP.Material and $projection.Plant = _ProposalAdjFactorsTP.Plant and $projection.MRPArea = _ProposalAdjFactorsTP.MRPArea and $projection.ProposalStartDate = _ProposalAdjFactorsTP.ProposalStartDate and $projection.ProposalVersion = _ProposalAdjFactorsTP.ProposalVersion
[1..*] I_ProdDailyDemandChartTP _DemandChartTP $projection.Material = _DemandChartTP.Material and $projection.Plant = _DemandChartTP.Plant and $projection.MRPArea = _DemandChartTP.MRPArea and $projection.ProposalStartDate = _DemandChartTP.ProposalStartDate and $projection.ProposalVersion = _DemandChartTP.ProposalVersion
[1..*] I_ProdBufLvlChartTP _BufferChartTP $projection.Material = _BufferChartTP.Material and $projection.Plant = _BufferChartTP.Plant and $projection.MRPArea = _BufferChartTP.MRPArea and $projection.ProposalStartDate = _BufferChartTP.ProposalStartDate and $projection.ProposalVersion = _BufferChartTP.ProposalVersion
[1..1] E_Product _ProductExt $projection.Material = _ProductExt.Product
[1..1] E_Productplant _ProductPlantExt $projection.Material = _ProductPlantExt.Product and $projection.Plant = _ProductPlantExt.Plant
[1..1] I_DemandDrivenProduct1 _DDProduct $projection.Material = _DDProduct.Material and $projection.Plant = _DDProduct.Plant and $projection.MRPArea = _DDProduct.MRPArea
[0..1] I_Plant _Plant $projection.Plant = _Plant.Plant

Annotations (17)

NameValueLevelField
AbapCatalog.sqlViewName IPRODBUFPRPSLTP view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #TRANSACTIONAL view
ObjectModel.modelCategory #BUSINESS_OBJECT view
ObjectModel.compositionRoot true view
ObjectModel.transactionalProcessingEnabled true view
ObjectModel.draftEnabled true view
ObjectModel.writeDraftPersistence DDPRPSLHDRTP_D view
ObjectModel.createEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.entityChangeStateId LastChangeDateTime view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
EndUserText.label Product Buffer Level Proposal TP view

Fields (39)

KeyFieldSource TableSource FieldDescription
KEY Material Material Vehicle Model
KEY Plant Plant Valuation Area
KEY MRPArea MRPArea MRP Area
KEY ProposalStartDate ProposalStartDate
KEY ProposalVersion ProposalVersion
LastChangeDateTime LastChangeDateTime Timestamp
ProposalEndDate ProposalEndDate
StockLevelProposalID StockLevelProposalID
MRPController MRPController MRP Controller
StockLevelProposalStatus StockLevelProposalStatus
ProposalStatusChangeDate ProposalStatusChangeDate
ProposalRunIsSuspended ProposalRunIsSuspended
ProposalRunSuspendedFromDate ProposalRunSuspendedFromDate
ProposalRunSuspendedToDate ProposalRunSuspendedToDate
ProposedRedZone ProposedRedZone
ProposedYellowZone ProposedYellowZone
ProposedGreenZone ProposedGreenZone
MinOrdQtyIsConsideredGreenZone MinOrdQtyIsConsideredGreenZone
AverageDailyUsage AverageDailyUsage
DecoupledLeadTime DecoupledLeadTime
LeadTimeCalculationMethod LeadTimeCalculationMethod
MaterialBaseUnit MaterialBaseUnit Valuation Unit
DDScopeProduct _DDProduct DDScopeProduct
ProposalMode ProposalMode
DmndAdjmtFctrIsUpdtd
ZoneAdjmtFctrIsUpdtd
ProductAuthorizationGroup ProductAuthorizationGroup
ProductTypeAuthorizationGroup ProductTypeAuthorizationGroup
ProductGroupAuthorizationGroup ProductGroupAuthorizationGroup
AverageDailyUsageMode AverageDailyUsageMode
ExtBufHndlgIsEnabled
datsendasCurrentPlantDate
_BufMatPlant _BufMatPlant
_MatMRPArea _MatMRPArea
_DDProduct _DDProduct
_ProposalDemandTP _ProposalDemandTP
_ProposalAdjFactorsTP _ProposalAdjFactorsTP
_DemandChartTP _DemandChartTP
_BufferChartTP _BufferChartTP

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_ProdBufLvlPrpslTP.
-- 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: IPRODBUFPRPSLTP

CREATE VIEW I_ProdBufLvlPrpslTP AS
SELECT
  Material,
  Plant,
  MRPArea,
  ProposalStartDate,
  ProposalVersion,
  LastChangeDateTime,
  ProposalEndDate,
  StockLevelProposalID,
  MRPController,
  StockLevelProposalStatus,
  ProposalStatusChangeDate,
  ProposalRunIsSuspended,
  ProposalRunSuspendedFromDate,
  ProposalRunSuspendedToDate,
  ProposedRedZone,
  ProposedYellowZone,
  ProposedGreenZone,
  MinOrdQtyIsConsideredGreenZone,
  AverageDailyUsage,
  DecoupledLeadTime,
  LeadTimeCalculationMethod,
  MaterialBaseUnit,
  _DDProduct.DDScopeProduct AS DDScopeProduct,
  ProposalMode,
  cast(' ' as char1) AS DmndAdjmtFctrIsUpdtd,
  cast(' ' as char1) AS ZoneAdjmtFctrIsUpdtd,
  ProductAuthorizationGroup,
  ProductTypeAuthorizationGroup,
  ProductGroupAuthorizationGroup,
  AverageDailyUsageMode,
  cast( ' ' as pph_dd_extbufhndlgisenabled ) AS ExtBufHndlgIsEnabled,
  case when _Plant._Address.AddressTimeZone is not initial then tstmp_to_dats( tstmp_current_utctimestamp(), _Plant._Address.AddressTimeZone, $session.client, 'NULL' ) else cast($session.system_date as abap.dats) end as CurrentPlantDate AS datsendasCurrentPlantDate
FROM I_ProdBufLvlPrpsl
LEFT OUTER JOIN I_ProdBufLvlPrpslDmndTP AS _ProposalDemandTP ON Material = _ProposalDemandTP.Material AND Plant = _ProposalDemandTP.Plant AND MRPArea = _ProposalDemandTP.MRPArea AND ProposalStartDate = _ProposalDemandTP.ProposalStartDate AND ProposalVersion = _ProposalDemandTP.ProposalVersion  -- association [1..*]
LEFT OUTER JOIN I_ProdBufLvlPrpslZnAdjmtFctrTP AS _ProposalAdjFactorsTP ON Material = _ProposalAdjFactorsTP.Material AND Plant = _ProposalAdjFactorsTP.Plant AND MRPArea = _ProposalAdjFactorsTP.MRPArea AND ProposalStartDate = _ProposalAdjFactorsTP.ProposalStartDate AND ProposalVersion = _ProposalAdjFactorsTP.ProposalVersion  -- association [1..*]
LEFT OUTER JOIN I_ProdDailyDemandChartTP AS _DemandChartTP ON Material = _DemandChartTP.Material AND Plant = _DemandChartTP.Plant AND MRPArea = _DemandChartTP.MRPArea AND ProposalStartDate = _DemandChartTP.ProposalStartDate AND ProposalVersion = _DemandChartTP.ProposalVersion  -- association [1..*]
LEFT OUTER JOIN I_ProdBufLvlChartTP AS _BufferChartTP ON Material = _BufferChartTP.Material AND Plant = _BufferChartTP.Plant AND MRPArea = _BufferChartTP.MRPArea AND ProposalStartDate = _BufferChartTP.ProposalStartDate AND ProposalVersion = _BufferChartTP.ProposalVersion  -- association [1..*]
LEFT OUTER JOIN E_Product AS _ProductExt ON Material = _ProductExt.Product  -- association [1..1]
LEFT OUTER JOIN E_Productplant AS _ProductPlantExt ON Material = _ProductPlantExt.Product AND Plant = _ProductPlantExt.Plant  -- association [1..1]
LEFT OUTER JOIN I_DemandDrivenProduct1 AS _DDProduct ON Material = _DDProduct.Material AND Plant = _DDProduct.Plant AND MRPArea = _DDProduct.MRPArea  -- association [1..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [0..1]
;