P_Mpsingleplan

DDL: P_MPSINGLEPLAN SQL: PSINGLEPLN Type: view BASIC

P_Mpsingleplan is a Basic CDS View in SAP S/4HANA. It reads from 2 data sources (/cpd/d_mp_hdr, /cpd/pwsc_mptyp) and exposes 5 fields.

Data Sources (2)

SourceAliasJoin Type
/cpd/d_mp_hdr /cpd/d_mp_hdr from
/cpd/pwsc_mptyp /cpd/pwsc_mptyp inner

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName PSINGLEPLN view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
VDM.viewType #BASIC view

Fields (5)

KeyFieldSource TableSource FieldDescription
db_key /cpd/d_mp_hdr db_key UUID
org_id /cpd/d_mp_hdr org_id Service Org.
confidential /cpd/d_mp_hdr confidential Confidential
mp_type /cpd/d_mp_hdr mp_type Mass Processing Type
mp_id /cpd/d_mp_hdr mp_id Cust Project ID

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_Mpsingleplan.
-- 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: PSINGLEPLN

CREATE VIEW P_Mpsingleplan AS
SELECT
  /cpd/d_mp_hdr.db_key AS db_key,
  /cpd/d_mp_hdr.org_id AS org_id,
  /cpd/d_mp_hdr.confidential AS confidential,
  /cpd/d_mp_hdr.mp_type AS mp_type,
  /cpd/d_mp_hdr.mp_id AS mp_id
FROM /cpd/d_mp_hdr
INNER JOIN /cpd/pwsc_mptyp ON /* join condition not captured in parsed metadata */
;