P_ADVNCDPLNGPRODPLANTMRP

DDL: P_ADVNCDPLNGPRODPLANTMRP SQL: P_PRODPLANTMRP Type: view BASIC

P_ADVNCDPLNGPRODPLANTMRP is a Basic CDS View in SAP S/4HANA. It reads from 4 data sources (/sapapo/locmap, mara, marc, mdma) and exposes 5 fields with key fields matid, locid.

Data Sources (4)

SourceAliasJoin Type
/sapapo/locmap l inner
mara ma inner
marc marc inner
mdma md from

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName P_PRODPLANTMRP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
VDM.viewType #BASIC view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY matid mara scm_matid_guid22 Product ID
KEY locid /sapapo/locmap locid Single-Character Flag
matlocid mdma scm_matlocid_guid22 Loc. Prod. ID
lvorm mara lvorm Stock del. flag
cuobj marc cuobj Object 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_ADVNCDPLNGPRODPLANTMRP.
-- 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: P_PRODPLANTMRP

CREATE VIEW P_ADVNCDPLNGPRODPLANTMRP AS
SELECT
  ma.scm_matid_guid22 AS matid,
  l.locid AS locid,
  md.scm_matlocid_guid22 AS matlocid,
  ma.lvorm AS lvorm,
  marc.cuobj AS cuobj
FROM mdma AS md
INNER JOIN /sapapo/locmap AS l ON /* join condition not captured in parsed metadata */
INNER JOIN mara AS ma ON /* join condition not captured in parsed metadata */
INNER JOIN marc ON /* join condition not captured in parsed metadata */
;