P_PPH_MRP_ISSUES

DDL: P_PPH_MRP_ISSUES SQL: PPHMRP_ISS_PV Type: view BASIC

P_PPH_MRP_ISSUES is a Basic CDS View in SAP S/4HANA. It reads from 3 data sources (pph_dbvm, pph_mrp_issues, pphdbvmset) and exposes 15 fields with key fields matnr, werks, berid.

Data Sources (3)

SourceAliasJoin Type
pph_dbvm d from
pph_mrp_issues i left_outer
pphdbvmset s left_outer

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName PPHMRP_ISS_PV view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #BASIC view
VDM.private true view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY matnr pph_dbvm matnr Vehicle Model
KEY werks pph_dbvm werks Receiving Plant
KEY berid pph_dbvm berid Single-Character Flag
log_uuid pph_mrp_issues log_uuid UUID
MRP_timestamp pph_dbvm dstmp MRP Timestamp
msgid
msgtyIasmsgty
msgv1 pph_mrp_issues msgv1 Message variable 1
msgv2 pph_mrp_issues msgv2 Message variable 2
msgv3 pph_mrp_issues msgv3 Message variable 3
msgv4 pph_mrp_issues msgv4 Message variable 4
plan_in_abap pphdbvmset plan_in_abap Plan in Classic MRP
isaccepted
accepted_at pph_mrp_issues accepted_at Date/Time
accepted_by pph_mrp_issues accepted_by Changed By

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_PPH_MRP_ISSUES.
-- 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: PPHMRP_ISS_PV

CREATE VIEW P_PPH_MRP_ISSUES AS
SELECT
  d.matnr AS matnr,
  d.werks AS werks,
  d.berid AS berid,
  i.log_uuid AS log_uuid,
  d.dstmp AS MRP_timestamp,
  coalesce(i.msgid,'PPH_MRP') AS msgid,
  i.msgv1 AS msgv1,
  i.msgv2 AS msgv2,
  i.msgv3 AS msgv3,
  i.msgv4 AS msgv4,
  s.plan_in_abap AS plan_in_abap,
  coalesce(i.isaccepted,'') AS isaccepted,
  i.accepted_at AS accepted_at,
  i.accepted_by AS accepted_by
FROM pph_dbvm AS d
LEFT OUTER JOIN pphdbvmset AS s ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN pph_mrp_issues AS i ON /* join condition not captured in parsed metadata */
;