P_BufferLevelHorizon

DDL: P_BUFFERLEVELHORIZON Type: view_entity CONSUMPTION Package: ODATA_PP_DD_STLM

Buffer Level Horizon

P_BufferLevelHorizon is a Consumption CDS View that provides data about "Buffer Level Horizon" in SAP S/4HANA. It reads from 1 data source (I_DemandDrivenProduct1) and exposes 4 fields with key fields Material, Plant, MRPArea. Part of development package ODATA_PP_DD_STLM.

Data Sources (1)

SourceAliasJoin Type
I_DemandDrivenProduct1 _DDProduct from

Annotations (4)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Buffer Level Horizon view
VDM.private true view
VDM.viewType #CONSUMPTION view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY Material Material Vehicle Model
KEY Plant Plant Valuation Area
KEY MRPArea MRPArea MRP Area
BufferZoneYear

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_BufferLevelHorizon.
-- 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.

CREATE VIEW P_BufferLevelHorizon AS
SELECT
  Material,
  Plant,
  MRPArea,
  DATS_ADD_DAYS( cast($session.system_date as sydatum) ,(-1 * cast(90 as abap.int4)),'FAIL') AS BufferZoneYear
FROM I_DemandDrivenProduct1 AS _DDProduct
;