I_BufferedMaterialPlant

DDL: I_BUFFEREDMATERIALPLANT SQL: IBUFFRDMATPLANT Type: view BASIC

Plant Data for Buffered Material

I_BufferedMaterialPlant is a Basic CDS View that provides data about "Plant Data for Buffered Material" in SAP S/4HANA. It reads from 1 data source (marc) and exposes 39 fields with key fields Material, Plant. It has 7 associations to related views.

Data Sources (1)

SourceAliasJoin Type
marc marc from

Associations (7)

CardinalityTargetAliasCondition
[1..1] I_Product _Material $projection.Material = _Material.Product
[1..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[0..1] I_MRPController _MRPController $projection.Plant = _MRPController.Plant and $projection.MRPController = _MRPController.MRPController
[1..1] I_MaterialText _MaterialText $projection.Material = _MaterialText.Material and _MaterialText.Language = $session.system_language
[1..1] I_MRPType _MRPType $projection.MRPType = _MRPType.MRPType
[0..*] I_DDProductStatusCode _MatStatus _MatStatus.MRPMaterialStatus is not null
[1..1] I_MatlProcurementProfile _MatProc _MatProc.Plant = $projection.Plant and _MatProc.MaterialProcurementProfile = $projection.MaterialProcurementProfile

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IBUFFRDMATPLANT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Plant Data for Buffered Material view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #BASIC view

Fields (39)

KeyFieldSource TableSource FieldDescription
KEY Material Vehicle Model
KEY Plant werks Receiving Plant
MRPGroup disgr MRP Group
MRPController dispo MRP Controller
MRPType dismm MRP Type
IsMRPAreaExisting diber MRP area exists
PurchasingGroup ekgrp Sub. purchasing grp
LotSizingProcedure disls Lot Sizing Procedure
MinimumLotSizeQuantity bstmi Min. Lot Size
PlanningTimeFence fxhor Plng time fence
MaterialMaxStockLevelQuantity mabst Max.Stock Level
ReorderThresholdQuantity minbe Reorder Point
SafetyStockQuantity eisbe Safety Stock
GoodsReceiptDuration webaz GR Proc. Time
DfltStorLocForExtProcmt lgfsb Storage Location
MaximumLotSizeQuantity bstma To Lot Size
LotSizeRoundingQuantity bstrf Rounding value
RoundingProfile rdprf Rounding Prfl.
MaterialProcurementProfile sobsl SpecProcuremKey
ProcurementType beskz Procuremt Type
PlannedDeliveryDurationInDays plifz Plnd Deliv.Time
MaterialPlannedProductionDurn dzeit InhseProdTime
TotalReplenishmentLeadDuration wzeit Total RL time
MatlCompDiscontinuationType kzaus Share of scrap
FollowUpProduct nfmat Follow-Up Matl
EffectiveOutDate ausdt Dunning Date
DeletionIndicator lvorm Stock del. flag
MRPMaterialStatus mmsta Primary Status
IsBulkMaterial schgt Bulk material
IsPhantomItem _MatProc IsPhantomItem Phantom item
CrossPlantStatus _Material CrossPlantStatus X-Plant Status
BaseUnit _Material BaseUnit Unit of Measure
ProductGroup _Material ProductGroup Product Sold Group
_MatStatus _MatStatus
_Material _Material
_Plant _Plant
_MRPController _MRPController
_MaterialText _MaterialText
_MRPType _MRPType

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_BufferedMaterialPlant.
-- 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: IBUFFRDMATPLANT

CREATE VIEW I_BufferedMaterialPlant AS
SELECT
  cast(matnr as productnumber preserving type ) AS Material,
  werks AS Plant,
  disgr AS MRPGroup,
  dispo AS MRPController,
  dismm AS MRPType,
  diber AS IsMRPAreaExisting,
  ekgrp AS PurchasingGroup,
  disls AS LotSizingProcedure,
  bstmi AS MinimumLotSizeQuantity,
  fxhor AS PlanningTimeFence,
  mabst AS MaterialMaxStockLevelQuantity,
  minbe AS ReorderThresholdQuantity,
  eisbe AS SafetyStockQuantity,
  webaz AS GoodsReceiptDuration,
  lgfsb AS DfltStorLocForExtProcmt,
  bstma AS MaximumLotSizeQuantity,
  bstrf AS LotSizeRoundingQuantity,
  rdprf AS RoundingProfile,
  sobsl AS MaterialProcurementProfile,
  beskz AS ProcurementType,
  plifz AS PlannedDeliveryDurationInDays,
  dzeit AS MaterialPlannedProductionDurn,
  wzeit AS TotalReplenishmentLeadDuration,
  kzaus AS MatlCompDiscontinuationType,
  nfmat AS FollowUpProduct,
  ausdt AS EffectiveOutDate,
  lvorm AS DeletionIndicator,
  mmsta AS MRPMaterialStatus,
  schgt AS IsBulkMaterial,
  _MatProc.IsPhantomItem AS IsPhantomItem,
  _Material.CrossPlantStatus AS CrossPlantStatus,
  _Material.BaseUnit AS BaseUnit,
  _Material.ProductGroup AS ProductGroup
FROM marc
LEFT OUTER JOIN I_Product AS _Material ON Material = _Material.Product  -- association [1..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [1..1]
LEFT OUTER JOIN I_MRPController AS _MRPController ON Plant = _MRPController.Plant AND MRPController = _MRPController.MRPController  -- association [0..1]
LEFT OUTER JOIN I_MaterialText AS _MaterialText ON Material = _MaterialText.Material AND _MaterialText.Language = $session.system_language  -- association [1..1]
LEFT OUTER JOIN I_MRPType AS _MRPType ON MRPType = _MRPType.MRPType  -- association [1..1]
LEFT OUTER JOIN I_DDProductStatusCode AS _MatStatus ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN I_MatlProcurementProfile AS _MatProc ON _MatProc.Plant = Plant AND _MatProc.MaterialProcurementProfile = MaterialProcurementProfile  -- association [1..1]
;