P_MatlMRPArea

DDL: P_MATLMRPAREA SQL: PPPMATLMRPAREA Type: view BASIC

P_MatlMRPArea is a Basic CDS View in SAP S/4HANA. It reads from 3 data sources (mdlv, mdma, pph_dbvm) and exposes 5 fields with key fields Material, MRPArea.

Data Sources (3)

SourceAliasJoin Type
mdlv mdlv inner
mdma mdma left_outer
pph_dbvm pph_dbvm from

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName PPPMATLMRPAREA view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #AUTOMATED view
VDM.viewType #BASIC view
VDM.private true view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #ORGANIZATIONAL view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY Material pph_dbvm matnr Vehicle Model
KEY MRPArea pph_dbvm berid Single-Character Flag
MRPAreaPlant pph_dbvm werks Receiving Plant
MRPAreaCategory
MRPAreaText mdlv bertx MRP Area Text

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_MatlMRPArea.
-- 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: PPPMATLMRPAREA

CREATE VIEW P_MatlMRPArea AS
SELECT
  pph_dbvm.matnr AS Material,
  pph_dbvm.berid AS MRPArea,
  pph_dbvm.werks AS MRPAreaPlant,
  cast(mdlv.berty as mrpareacategory) AS MRPAreaCategory,
  mdlv.bertx AS MRPAreaText
FROM pph_dbvm
INNER JOIN mdlv ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN mdma ON /* join condition not captured in parsed metadata */
;