I_ProdBufPositioningCache

DDL: I_PRODBUFPOSITIONINGCACHE SQL: IPRODBUFPOSCHE Type: view BASIC

Cache View

I_ProdBufPositioningCache is a Basic CDS View that provides data about "Cache 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 (9)

NameValueLevelField
AbapCatalog.sqlViewName IPRODBUFPOSCHE view
VDM.viewType #BASIC view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
EndUserText.label Cache View 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 I_ProdBufPositioningCache.
-- 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: IPRODBUFPOSCHE

CREATE VIEW I_ProdBufPositioningCache 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
;