I_FldLogsBookStock

DDL: I_FLDLOGSBOOKSTOCK SQL: IFLBOOKSTK Type: view BASIC Package: FLOG_RETURN

Book Stock View for Field Logistics

I_FldLogsBookStock is a Basic CDS View that provides data about "Book Stock View for Field Logistics" in SAP S/4HANA. It reads from 2 data sources (I_FldLogsPlantBasic, matdoc) and exposes 5 fields. Part of development package FLOG_RETURN.

Data Sources (2)

SourceAliasJoin Type
I_FldLogsPlantBasic I_FldLogsPlantBasic inner
matdoc matdoc from

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName IFLBOOKSTK view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Book Stock View for Field Logistics view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #C view
VDM.viewType #BASIC view

Fields (5)

KeyFieldSource TableSource FieldDescription
Material _matStock matbf Stock Mat.
FldLogsRemotePlant _matStock werks Receiving Plant
RemoteStorageLocation _matStock lgort_sid Stor. Location SID
MatlWrhsStkQtyOnPlantLvl
StockUnit _matStock meins Valuation Unit

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_FldLogsBookStock.
-- 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: IFLBOOKSTK

CREATE VIEW I_FldLogsBookStock AS
SELECT
  _matStock.matbf AS Material,
  _matStock.werks AS FldLogsRemotePlant,
  _matStock.lgort_sid AS RemoteStorageLocation,
  sum(_matStock.stock_qty) AS MatlWrhsStkQtyOnPlantLvl,
  _matStock.meins AS StockUnit
FROM matdoc
INNER JOIN I_FldLogsPlantBasic ON /* join condition not captured in parsed metadata */
;