P_ProdPlantPlndIndepRqmtBasic

DDL: P_PRODPLANTPLNDINDEPRQMTBASIC SQL: PPIRMB Type: view BASIC

P_ProdPlantPlndIndepRqmtBasic is a Basic CDS View in SAP S/4HANA. It reads from 4 data sources (makt, mara, marc, t438m) and exposes 7 fields with key fields Product, Plant.

Data Sources (4)

SourceAliasJoin Type
makt makt left_outer
mara mara inner
marc marc from
t438m t438m left_outer

Annotations (10)

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

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY Product marc matnr Vehicle Model
KEY Plant marc werks Receiving Plant
PeriodType marc perkz Period Type
UnitOfMeasure mara meins Valuation Unit
ProductName makt maktx Product Description
MRPController marc dispo MRP Controller
strgrendasStrategy_Group

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_ProdPlantPlndIndepRqmtBasic.
-- 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: PPIRMB

CREATE VIEW P_ProdPlantPlndIndepRqmtBasic AS
SELECT
  marc.matnr AS Product,
  marc.werks AS Plant,
  marc.perkz AS PeriodType,
  mara.meins AS UnitOfMeasure,
  makt.maktx AS ProductName,
  marc.dispo AS MRPController,
  case when marc.strgr = '' and t438m.strgr is not null then t438m.strgr else marc.strgr end as Strategy_Group AS strgrendasStrategy_Group
FROM marc
INNER JOIN mara ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN makt ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN t438m ON /* join condition not captured in parsed metadata */
;