I_PlndOrdCompWithIssue

DDL: I_PLNDORDCOMPWITHISSUE SQL: IPLNDORDCOMPWISS Type: view COMPOSITE Package: ODATA_PP_MRP

Planned order components with issues

I_PlndOrdCompWithIssue is a Composite CDS View that provides data about "Planned order components with issues" in SAP S/4HANA. It reads from 2 data sources (P_MRPMATERIALSTATUS, I_PlannedOrderComponent) and exposes 8 fields with key fields Reservation, ReservationItem, RecordType. Part of development package ODATA_PP_MRP.

Data Sources (2)

SourceAliasJoin Type
P_MRPMATERIALSTATUS _MRPMaterialStatus inner
I_PlannedOrderComponent PlantOrderComponent from

Parameters (1)

NameTypeDefault
P_PlannedOrder plnum

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IPLNDORDCOMPWISS view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Planned order components with issues view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY Reservation I_PlannedOrderComponent Reservation Reservation
KEY ReservationItem I_PlannedOrderComponent ReservationItem Reservation Item
KEY RecordType I_PlannedOrderComponent RecordType Reservation Record Type
MRPPlant P_MRPMATERIALSTATUS MRPPlant Plant
Material P_MRPMATERIALSTATUS Material Vehicle Model
MRPMaterialStatus P_MRPMATERIALSTATUS MRPMaterialStatus
MRPValidMaterialStatus P_MRPMATERIALSTATUS MRPValidMaterialStatus
ManufacturingOrderHeaderStatus P_MRPMATERIALSTATUS ManufacturingOrderHeaderStatus

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 I_PlndOrdCompWithIssue.
-- 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: IPLNDORDCOMPWISS
-- Parameters: P_PlannedOrder : plnum

CREATE VIEW I_PlndOrdCompWithIssue AS
SELECT
  PlantOrderComponent.Reservation AS Reservation,
  PlantOrderComponent.ReservationItem AS ReservationItem,
  PlantOrderComponent.RecordType AS RecordType,
  _MRPMaterialStatus.MRPPlant AS MRPPlant,
  _MRPMaterialStatus.Material AS Material,
  _MRPMaterialStatus.MRPMaterialStatus AS MRPMaterialStatus,
  _MRPMaterialStatus.MRPValidMaterialStatus AS MRPValidMaterialStatus,
  _MRPMaterialStatus.ManufacturingOrderHeaderStatus AS ManufacturingOrderHeaderStatus
FROM I_PlannedOrderComponent AS PlantOrderComponent
INNER JOIN P_MRPMATERIALSTATUS AS _MRPMaterialStatus ON /* join condition not captured in parsed metadata */
;