P_ResvnDocClosedItem

DDL: P_RESVNDOCCLOSEDITEM SQL: PRESDOCCLIT Type: view COMPOSITE

P_ResvnDocClosedItem is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_ReservationItem) and exposes 7 fields with key fields Reservation, ReservationItem, RecordType.

Data Sources (1)

SourceAliasJoin Type
I_ReservationItem I_ReservationItem from

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName PRESDOCCLIT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
VDM.private true view
VDM.viewType #COMPOSITE view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY Reservation Reservation Reservation
KEY ReservationItem ReservationItem Reservation Item
KEY RecordType RecordType Reservation Record Type
ResvnItmWithdrawnQtyInBaseUnit ResvnItmWithdrawnQtyInBaseUnit Withdrawal Qty
ResvnItmRequiredQtyInBaseUnit ResvnItmRequiredQtyInBaseUnit Requirement qty
BaseUnit BaseUnit Unit of Measure
ReservationItemIsFinallyIssued ReservationItemIsFinallyIssued Final Issue

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_ResvnDocClosedItem.
-- 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: PRESDOCCLIT

CREATE VIEW P_ResvnDocClosedItem AS
SELECT
  Reservation,
  ReservationItem,
  RecordType,
  ResvnItmWithdrawnQtyInBaseUnit,
  ResvnItmRequiredQtyInBaseUnit,
  BaseUnit,
  ReservationItemIsFinallyIssued
FROM I_ReservationItem
;