P_DRFEWMProduct

DDL: P_DRFEWMPRODUCT SQL: PDRFEWMPRODOUT Type: view BASIC

P_DRFEWMProduct is a Basic CDS View in SAP S/4HANA. It reads from 5 data sources (t340d, t320, mara, mard, mlgn) and exposes 3 fields with key fields matnr, matnr.

Data Sources (5)

SourceAliasJoin Type
t340d ewm inner
t320 lg inner
mara ma union
mard md from
mlgn mlg left_outer

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName PDRFEWMPRODOUT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MASTER view
VDM.viewType #BASIC view
VDM.private true view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY matnr mard matnr Vehicle Model
KEY matnr Vehicle Model
WarehouseNumber mlgn lgnum Whse Number

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_DRFEWMProduct.
-- 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: PDRFEWMPRODOUT

CREATE VIEW P_DRFEWMProduct AS
SELECT
  md.matnr AS matnr,
  mlg.lgnum AS WarehouseNumber
FROM mard AS md
INNER JOIN t320 AS lg ON /* join condition not captured in parsed metadata */
INNER JOIN t340d AS ewm ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN mlgn AS mlg ON /* join condition not captured in parsed metadata */
-- UNION with additional select branch(es): mara
;