P_ProdBufPositioning

DDL: P_PRODBUFPOSITIONING SQL: PPRODBUFPOS Type: view BASIC

P_ProdBufPositioning is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (pph_dd_bufpos) and exposes 12 fields with key fields Material, Plant, MRPArea.

Data Sources (1)

SourceAliasJoin Type
pph_dd_bufpos pph_dd_bufpos from

Annotations (5)

NameValueLevelField
AbapCatalog.sqlViewName PPRODBUFPOS view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #BASIC view
VDM.private true view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY Material Vehicle Model
KEY Plant werks Receiving Plant
KEY MRPArea berid Single-Character Flag
DecoupledLeadTime decoupled_lead_time Decoupled Lead Time
MaterialBaseUnit adu_unit Base Unit
AverageDailyUsage avgdailyusage Average Daily Usage
CreatedByUser created_by Version Created By
AvgDailyUsgeChgdByUsr aduchanged_by ADU Changed By
CreationTime created_time Time Stamp
AvgDailyUsgeChgdOn
DecoupledLeadTmeChgdByUsr dltchanged_by DLT Changed By
DecoupledLeadTmeChgdOn

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_ProdBufPositioning.
-- 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: PPRODBUFPOS

CREATE VIEW P_ProdBufPositioning AS
SELECT
  cast(matnr as productnumber preserving type ) AS Material,
  werks AS Plant,
  berid AS MRPArea,
  decoupled_lead_time AS DecoupledLeadTime,
  adu_unit AS MaterialBaseUnit,
  avgdailyusage AS AverageDailyUsage,
  created_by AS CreatedByUser,
  aduchanged_by AS AvgDailyUsgeChgdByUsr,
  created_time AS CreationTime,
  TSTMP_TO_DATS(aduchanged_time, abap_system_timezone( $session.client,'NULL' ), $session.client, 'INITIAL') AS AvgDailyUsgeChgdOn,
  dltchanged_by AS DecoupledLeadTmeChgdByUsr,
  TSTMP_TO_DATS(dltchanged_time, abap_system_timezone( $session.client,'NULL' ), $session.client, 'INITIAL') AS DecoupledLeadTmeChgdOn
FROM pph_dd_bufpos
;