I_FldLogsReservationStock

DDL: I_FLDLOGSRESERVATIONSTOCK SQL: IFLSTOCKRESB Type: view COMPOSITE Package: FLOG_RETURN

FL - Stock details for the reservation

I_FldLogsReservationStock is a Composite CDS View that provides data about "FL - Stock details for the reservation" in SAP S/4HANA. It reads from 1 data source (I_FldLogsBookStockCol) and exposes 9 fields with key fields Material, FldLogsRemotePlant, RemoteStorageLocation, FldLogsReferenceDocumentNumber, ReferenceDocumentItem. It has 1 association to related views. Part of development package FLOG_RETURN.

Data Sources (1)

SourceAliasJoin Type
I_FldLogsBookStockCol _stock from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_ReservationDocumentItem _Resb _stock.Material = _Resb.Product

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName IFLSTOCKRESB view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #C view
VDM.viewType #COMPOSITE view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label FL - Stock details for the reservation view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY Material I_FldLogsBookStockCol Material Vehicle Model
KEY FldLogsRemotePlant I_FldLogsBookStockCol FldLogsRemotePlant Plant
KEY RemoteStorageLocation I_FldLogsBookStockCol RemoteStorageLocation
KEY FldLogsReferenceDocumentNumber I_FldLogsBookStockCol FldLogsReferenceDocumentNumber Reference Doc Number
KEY ReferenceDocumentItem I_FldLogsBookStockCol ReferenceDocumentItem Reference item
KEY FldLogsMaintenanceOrder I_FldLogsBookStockCol FldLogsMaintenanceOrder
KEY Reservation _Resb Reservation Reservation
KEY ReservationItem _Resb ReservationItem Reservation Item
QuantityUnit _Resb BaseUnit Unit of Measure

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_FldLogsReservationStock.
-- 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: IFLSTOCKRESB

CREATE VIEW I_FldLogsReservationStock AS
SELECT
  _stock.Material AS Material,
  _stock.FldLogsRemotePlant AS FldLogsRemotePlant,
  _stock.RemoteStorageLocation AS RemoteStorageLocation,
  _stock.FldLogsReferenceDocumentNumber AS FldLogsReferenceDocumentNumber,
  _stock.ReferenceDocumentItem AS ReferenceDocumentItem,
  _stock.FldLogsMaintenanceOrder AS FldLogsMaintenanceOrder,
  _Resb.Reservation AS Reservation,
  _Resb.ReservationItem AS ReservationItem,
  _Resb.BaseUnit AS QuantityUnit
FROM I_FldLogsBookStockCol AS _stock
LEFT OUTER JOIN I_ReservationDocumentItem AS _Resb ON _stock.Material = _Resb.Product  -- association [1..1]
;