C_ProdBufPositioningTP

DDL: C_PRODBUFPOSITIONINGTP SQL: CPRODBUFPOSTP Type: view CONSUMPTION

Buffer Positioning

C_ProdBufPositioningTP is a Consumption CDS View that provides data about "Buffer Positioning" in SAP S/4HANA. It reads from 2 data sources (I_ProdBufPositioningTP, C_SDMAreaOfResponsibility) and exposes 88 fields with key fields Material, Plant, MRPArea. It has 14 associations to related views.

Data Sources (2)

SourceAliasJoin Type
I_ProdBufPositioningTP _ProdBufPositioningTP from
C_SDMAreaOfResponsibility _SDMAreaOfResponsibility inner

Associations (14)

CardinalityTargetAliasCondition
[1..1] I_Plant _Plant _ProdBufPositioningTP.Plant = _Plant.Plant
[1..1] I_MRPArea _MRPArea $projection.MRPArea = _MRPArea.MRPArea
[1..1] I_UnitOfMeasureText _UnitOfMeasure _UnitOfMeasure.UnitOfMeasure = 'TAG' and _UnitOfMeasure.Language = $session.system_language
[1..1] I_MRPController _MRPController $projection.Plant = _MRPController.Plant and _ProdBufPositioningTP.MRPController = _MRPController.MRPController
[1..1] C_DDScopeProductVH _DDScopeValueHelp $projection.DDScopeProduct = _DDScopeValueHelp.DDScopeProduct
[0..*] C_ProductBufferSalesData _ProductSales $projection.Material = _ProductSales.Material
[0..*] C_PlantPurchasingOrganization _PurchasingOrg $projection.Plant = _PurchasingOrg.Plant
[0..*] C_ProductSupplierBySourceDoc _Supplier $projection.Material = _Supplier.Material and $projection.Plant = _Supplier.Plant
[1..*] C_ProductsByWorkCenter _WorkCenter $projection.Material = _WorkCenter.Material and $projection.Plant = _WorkCenter.Plant
[1..*] C_ProductBOMUpstream _BOMUpstream $projection.Material = _BOMUpstream.Material and $projection.Plant = _BOMUpstream.Plant and $projection.MRPArea = _BOMUpstream.MRPArea
[1..*] C_BOMUpstreamAndDownstream _BOMNetwork $projection.Material = _BOMNetwork.Material and $projection.Plant = _BOMNetwork.Plant and $projection.MRPArea = _BOMNetwork.MRPArea
[1..*] C_BOMDwnStreamDirectParent _BOMDownStreamDP $projection.Material = _BOMDownStreamDP.BillOfMaterialComponent and $projection.Plant = _BOMDownStreamDP.Plant
[1..*] C_BOMDwnStreamNextBuffered _BOMDownStreamNxtBuff $projection.Material = _BOMDownStreamNxtBuff.Material and $projection.Plant = _BOMDownStreamNxtBuff.Plant
[1..*] C_BOMDwnStreamFinishedProd _BOMDownStreamFP $projection.Material = _BOMDownStreamFP.Material and $projection.Plant = _BOMDownStreamFP.Plant

Annotations (22)

NameValueLevelField
AbapCatalog.sqlViewName CPRODBUFPOSTP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Buffer Positioning view
VDM.viewType #CONSUMPTION view
Search.searchable true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.personalData.blocking #REQUIRED view
ObjectModel.compositionRoot true view
ObjectModel.draftEnabled false view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.updateEnabled true view
ObjectModel.createEnabled true view
ObjectModel.deleteEnabled false view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
UI.headerInfo.typeName Buffer Analysis view
UI.headerInfo.typeNamePlural Products view
UI.headerInfo.title.value Material view
UI.headerInfo.description.value PlantName2 view

Fields (88)

KeyFieldSource TableSource FieldDescription
KEY Material Material Vehicle Model
KEY Plant I_ProdBufPositioningTP Plant Valuation Area
KEY MRPArea MRPArea MRP Area
MaterialBaseUnit MaterialBaseUnit Valuation Unit
CreatedByUser CreatedByUser User Name
AvgDailyUsgeChgdByUsr AvgDailyUsgeChgdByUsr
CreationTime CreationTime Time of Change
AvgDailyUsgeChgdOn AvgDailyUsgeChgdOn
DecoupledLeadTmeChgdByUsr DecoupledLeadTmeChgdByUsr
DecoupledLeadTmeChgdOn DecoupledLeadTmeChgdOn
LeadTimeUnit _UnitOfMeasure UnitOfMeasure Unit Protected Qty
BaseUnitText _UnitOfMeasure UnitOfMeasureName Meas. Unit Text
MaterialName
PlantName _Plant PlantName Plant Name
MRPAreaText _MRPArea MRPAreaText
MRPController I_ProdBufPositioningTP MRPController MRP Controller
MRPControllerName _MRPController MRPControllerName Controller name
MRPGroup MRPGroup MRP Group
MRPType MRPType MRP Type
MRPTypeName
MRPProcedure MRPProcedure
BOMUsageCode BOMUsageCode
BOMUsageDescription
ConsumptionCode ConsumptionCode
ConsumptionDescription
ReplenishmentLeadTimeCode ReplenishmentLeadTimeCode
ReplenishmentLeadTimeDesc
VariabilityCode VariabilityCode
VariabilityDescription
ProcurementType ProcurementType Procurement
ProcurementTypeDescription
PlanningTimeFence PlanningTimeFence Plng time fence
LotSizingProcedure LotSizingProcedure Lot Sizing Procedure
MaterialMaxStockLevelQuantity MaterialMaxStockLevelQuantity
MinimumLotSizeQuantity MinimumLotSizeQuantity Min. Lot Size
ReorderThresholdQuantity ReorderThresholdQuantity Reorder Point
SafetyStockQuantity SafetyStockQuantity Safety Stock
DDScopeProduct DDScopeProduct DD Scope
DDScopeProductDescription _DDScopeValueHelp DDScopeProductDescription
IsMRPAreaExisting IsMRPAreaExisting
ProductIsBuffered ProductIsBuffered
BufferStatusText
ProductAuthorizationGroup ProductAuthorizationGroup
ProductTypeAuthorizationGroup ProductTypeAuthorizationGroup
ProductGroupAuthorizationGroup ProductGroupAuthorizationGroup
BufferedMRPType BufferedMRPType
NonBufferedMRPType NonBufferedMRPType
MaterialType MaterialType Material Type
MaterialTypeName
MaterialGroup MaterialGroup Product Group
MaterialGroupName
ProductIsClassified
MaterialStatusText
IndividualLeadTime IndividualLeadTime
AverageDailyUsage AverageDailyUsage
SimulatedDecoupledLeadTime SimulatedDecoupledLeadTime Simulated DLT
DecoupledLeadTime DecoupledLeadTime
DecoupledLeadTimeCalcStsTxt Simulated DLT
Supplier
SupplierName
PurchasingOrganization
SalesOrganization
WorkCenter
WorkCenterText
SalesOrganizationName
PurchasingOrganizationName
PlantName2
ProposedMaterialBufferProfile
ProposedMatlBufferProfileText
UxFcProductIsClassified
UxFcVariabilityCode
UxFcDecoupledLeadTime
UxFcDecoupledLeadTmeCalcStsTxt
ExtBufHndlgIsEnabled
IsBulkMaterial IsBulkMaterial Bulk material
IsPhantomItem IsPhantomItem Phantom item
_DDScopeValueHelp _DDScopeValueHelp
_BOMUpstream _BOMUpstream
_BOMDownStreamNxtBuff _BOMDownStreamNxtBuff
_BOMDownStreamDP _BOMDownStreamDP
_BOMDownStreamFP _BOMDownStreamFP
_Supplier _Supplier
_ProductSales _ProductSales
_Plant _Plant
_MRPArea _MRPArea
_PurchasingOrg _PurchasingOrg
_BOMNetwork _BOMNetwork
_WorkCenter _WorkCenter

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 C_ProdBufPositioningTP.
-- 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: CPRODBUFPOSTP

CREATE VIEW C_ProdBufPositioningTP AS
SELECT
  Material,
  _ProdBufPositioningTP.Plant AS Plant,
  MRPArea,
  MaterialBaseUnit,
  CreatedByUser,
  AvgDailyUsgeChgdByUsr,
  CreationTime,
  AvgDailyUsgeChgdOn,
  DecoupledLeadTmeChgdByUsr,
  DecoupledLeadTmeChgdOn,
  _UnitOfMeasure.UnitOfMeasure AS LeadTimeUnit,
  _UnitOfMeasure.UnitOfMeasureName AS BaseUnitText,
  _ProdBufPositioningTP._Material._Text[1:Language = $session.system_language].ProductName AS MaterialName,
  _Plant.PlantName AS PlantName,
  _MRPArea.MRPAreaText AS MRPAreaText,
  _ProdBufPositioningTP.MRPController AS MRPController,
  _MRPController.MRPControllerName AS MRPControllerName,
  MRPGroup,
  MRPType,
  cast('' as dibez) AS MRPTypeName,
  MRPProcedure,
  BOMUsageCode,
  cast('' as val_text) AS BOMUsageDescription,
  ConsumptionCode,
  cast('' as val_text) AS ConsumptionDescription,
  ReplenishmentLeadTimeCode,
  cast('' as val_text) AS ReplenishmentLeadTimeDesc,
  VariabilityCode,
  cast('' as val_text) AS VariabilityDescription,
  ProcurementType,
  cast('' as val_text) AS ProcurementTypeDescription,
  PlanningTimeFence,
  LotSizingProcedure,
  MaterialMaxStockLevelQuantity,
  MinimumLotSizeQuantity,
  ReorderThresholdQuantity,
  SafetyStockQuantity,
  DDScopeProduct,
  _DDScopeValueHelp.DDScopeProductDescription AS DDScopeProductDescription,
  IsMRPAreaExisting,
  ProductIsBuffered,
  cast('' as val_text) AS BufferStatusText,
  ProductAuthorizationGroup,
  ProductTypeAuthorizationGroup,
  ProductGroupAuthorizationGroup,
  BufferedMRPType,
  NonBufferedMRPType,
  MaterialType,
  cast('' as producttypename) AS MaterialTypeName,
  MaterialGroup,
  cast('' as productgroupdescription) AS MaterialGroupName,
  cast('' as xfeld) AS ProductIsClassified,
  cast('' as val_text) AS MaterialStatusText,
  IndividualLeadTime,
  AverageDailyUsage,
  SimulatedDecoupledLeadTime,
  DecoupledLeadTime,
  cast('' as pph_dd_dltcalcstatus ) AS DecoupledLeadTimeCalcStsTxt,
  cast( '' as lifnr ) AS Supplier,
  cast('' as md_supplier_name ) AS SupplierName,
  cast('' as ekorg_ll ) AS PurchasingOrganization,
  cast('' as vkorg ) AS SalesOrganization,
  cast('' as pph_arbpl ) AS WorkCenter,
  cast('' as workcentertext ) AS WorkCenterText,
  cast('' as salesorganizationname ) AS SalesOrganizationName,
  cast(' ' as mm_a_purg_org_name ) AS PurchasingOrganizationName,
  cast('' as abap.sstring(1333)) AS PlantName2,
  cast('' as pph_materialbufferprofiletxt ) AS ProposedMaterialBufferProfile,
  cast('' as abap.char(200)) AS ProposedMatlBufferProfileText,
  cast(0 as abap.int1) AS UxFcProductIsClassified,
  cast(0 as abap.int1) AS UxFcVariabilityCode,
  cast(0 as abap.int1) AS UxFcDecoupledLeadTime,
  cast(0 as abap.int1) AS UxFcDecoupledLeadTmeCalcStsTxt,
  cast( ' ' as pph_dd_extbufhndlgisenabled ) AS ExtBufHndlgIsEnabled,
  IsBulkMaterial,
  IsPhantomItem
FROM I_ProdBufPositioningTP AS _ProdBufPositioningTP
INNER JOIN C_SDMAreaOfResponsibility AS _SDMAreaOfResponsibility ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Plant AS _Plant ON _ProdBufPositioningTP.Plant = _Plant.Plant  -- association [1..1]
LEFT OUTER JOIN I_MRPArea AS _MRPArea ON MRPArea = _MRPArea.MRPArea  -- association [1..1]
LEFT OUTER JOIN I_UnitOfMeasureText AS _UnitOfMeasure ON _UnitOfMeasure.UnitOfMeasure = 'TAG' AND _UnitOfMeasure.Language = $session.system_language  -- association [1..1]
LEFT OUTER JOIN I_MRPController AS _MRPController ON Plant = _MRPController.Plant AND _ProdBufPositioningTP.MRPController = _MRPController.MRPController  -- association [1..1]
LEFT OUTER JOIN C_DDScopeProductVH AS _DDScopeValueHelp ON DDScopeProduct = _DDScopeValueHelp.DDScopeProduct  -- association [1..1]
LEFT OUTER JOIN C_ProductBufferSalesData AS _ProductSales ON Material = _ProductSales.Material  -- association [0..*]
LEFT OUTER JOIN C_PlantPurchasingOrganization AS _PurchasingOrg ON Plant = _PurchasingOrg.Plant  -- association [0..*]
LEFT OUTER JOIN C_ProductSupplierBySourceDoc AS _Supplier ON Material = _Supplier.Material AND Plant = _Supplier.Plant  -- association [0..*]
LEFT OUTER JOIN C_ProductsByWorkCenter AS _WorkCenter ON Material = _WorkCenter.Material AND Plant = _WorkCenter.Plant  -- association [1..*]
LEFT OUTER JOIN C_ProductBOMUpstream AS _BOMUpstream ON Material = _BOMUpstream.Material AND Plant = _BOMUpstream.Plant AND MRPArea = _BOMUpstream.MRPArea  -- association [1..*]
LEFT OUTER JOIN C_BOMUpstreamAndDownstream AS _BOMNetwork ON Material = _BOMNetwork.Material AND Plant = _BOMNetwork.Plant AND MRPArea = _BOMNetwork.MRPArea  -- association [1..*]
LEFT OUTER JOIN C_BOMDwnStreamDirectParent AS _BOMDownStreamDP ON Material = _BOMDownStreamDP.BillOfMaterialComponent AND Plant = _BOMDownStreamDP.Plant  -- association [1..*]
LEFT OUTER JOIN C_BOMDwnStreamNextBuffered AS _BOMDownStreamNxtBuff ON Material = _BOMDownStreamNxtBuff.Material AND Plant = _BOMDownStreamNxtBuff.Plant  -- association [1..*]
LEFT OUTER JOIN C_BOMDwnStreamFinishedProd AS _BOMDownStreamFP ON Material = _BOMDownStreamFP.Material AND Plant = _BOMDownStreamFP.Plant  -- association [1..*]
;