P_Projmatcomponent01

DDL: P_PROJMATCOMPONENT01 SQL: PPROJMATCOMP01 Type: view BASIC

P_Projmatcomponent01 is a Basic CDS View in SAP S/4HANA. It has 1 association to related views.

Associations (1)

CardinalityTargetAliasCondition
[1..1] P_Projmatcomponent _Self $projection.Reservation = _Self.Reservation and $projection.ReservationItem = _Self.ReservationItem and $projection.RecordType = _Self.RecordType and _Self.PurchaseOrder != ''

Annotations (5)

NameValueLevelField
AbapCatalog.sqlViewName PPROJMATCOMP01 view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #BASIC view
VDM.private true view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY Reservation Reservation Reservation
KEY ReservationItem ReservationItem Reservation Item
KEY RecordType RecordType Reservation Record Type
PurchaseRequisition PurchaseRequisition Requisition
PurchaseRequisitionItem PurchaseRequisitionItem Requisn. item
PurchaseOrder _Self PurchaseOrder Purchasing Document
PurchaseOrderItem _Self PurchaseOrderItem Purchasing Document Item

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_Projmatcomponent01.
-- 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: PPROJMATCOMP01

CREATE VIEW P_Projmatcomponent01 AS
SELECT
  Reservation,
  ReservationItem,
  RecordType,
  PurchaseRequisition,
  PurchaseRequisitionItem,
  _Self.PurchaseOrder AS PurchaseOrder,
  _Self.PurchaseOrderItem AS PurchaseOrderItem
LEFT OUTER JOIN P_Projmatcomponent AS _Self ON Reservation = _Self.Reservation AND ReservationItem = _Self.ReservationItem AND RecordType = _Self.RecordType AND _Self.PurchaseOrder != ''  -- association [1..1]
;