I_FldLogsStkInvtryDet

DDL: I_FLDLOGSSTKINVTRYDET Type: view_entity COMPOSITE

Field Logistics Stock Inventory detail

I_FldLogsStkInvtryDet is a Composite CDS View that provides data about "Field Logistics Stock Inventory detail" in SAP S/4HANA. It reads from 2 data sources (I_FieldLogisticsPlantAll, I_FieldLogisticsStockInventory) and exposes 18 fields with key fields Product, Plant, StorageLocation. It has 3 associations to related views.

Data Sources (2)

SourceAliasJoin Type
I_FieldLogisticsPlantAll _AllPlants inner
I_FieldLogisticsStockInventory _StrLocMard from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_StorageLocation _StorageLocation $projection.Plant = _StorageLocation.Plant and $projection.StorageLocation = _StorageLocation.StorageLocation
[0..1] I_ProductText _Text _Text.Product = $projection.Product and _Text.Language = $session.system_language
[1..1] I_Plant _Plant _Plant.Plant = $projection.Plant

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Field Logistics Stock Inventory detail view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #COMPOSITE view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY Product I_FieldLogisticsStockInventory Product Product Sold
KEY Plant I_FieldLogisticsStockInventory Plant Valuation Area
KEY StorageLocation I_FieldLogisticsStockInventory StorageLocation StorageLocation
WarehouseStorageBin I_FieldLogisticsStockInventory WarehouseStorageBin Storage Bin
VltdUnrestrictedUseStkQty I_FieldLogisticsStockInventory VltdUnrestrictedUseStkQty Unrestricted
QualityInspectionStockQuantity I_FieldLogisticsStockInventory QualityInspectionStockQuantity Quality Insp.
TransferStockStorageLocQty I_FieldLogisticsStockInventory TransferStockStorageLocQty Stock in tfr
ReturnsBlockedStockQuantity I_FieldLogisticsStockInventory ReturnsBlockedStockQuantity Returns
RestrictedStockQuantity I_FieldLogisticsStockInventory RestrictedStockQuantity Restricted-Use
BlockStockQuantity I_FieldLogisticsStockInventory BlockStockQuantity Blocked Stock
BaseUnit I_FieldLogisticsStockInventory BaseUnit Unit of Measure
AuthorizationGroup I_FieldLogisticsStockInventory AuthorizationGroup AuthorizGroup
PlantName _Plant PlantName Plant Name
StorageLocationName _StorageLocation StorageLocationName Storage Loc. Name
ProductName _Text ProductName Description
_Product I_FieldLogisticsStockInventory _Product
_Plant _Plant
_StorageLocation _StorageLocation

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_FldLogsStkInvtryDet.
-- 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.

CREATE VIEW I_FldLogsStkInvtryDet AS
SELECT
  _StrLocMard.Product AS Product,
  _StrLocMard.Plant AS Plant,
  _StrLocMard.StorageLocation AS StorageLocation,
  _StrLocMard.WarehouseStorageBin AS WarehouseStorageBin,
  _StrLocMard.VltdUnrestrictedUseStkQty AS VltdUnrestrictedUseStkQty,
  _StrLocMard.QualityInspectionStockQuantity AS QualityInspectionStockQuantity,
  _StrLocMard.TransferStockStorageLocQty AS TransferStockStorageLocQty,
  _StrLocMard.ReturnsBlockedStockQuantity AS ReturnsBlockedStockQuantity,
  _StrLocMard.RestrictedStockQuantity AS RestrictedStockQuantity,
  _StrLocMard.BlockStockQuantity AS BlockStockQuantity,
  _StrLocMard.BaseUnit AS BaseUnit,
  _StrLocMard.AuthorizationGroup AS AuthorizationGroup,
  _Plant.PlantName AS PlantName,
  _StorageLocation.StorageLocationName AS StorageLocationName,
  _Text.ProductName AS ProductName,
  _StrLocMard._Product AS _Product
FROM I_FieldLogisticsStockInventory AS _StrLocMard
INNER JOIN I_FieldLogisticsPlantAll AS _AllPlants ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_StorageLocation AS _StorageLocation ON Plant = _StorageLocation.Plant AND StorageLocation = _StorageLocation.StorageLocation  -- association [1..1]
LEFT OUTER JOIN I_ProductText AS _Text ON _Text.Product = Product AND _Text.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_Plant AS _Plant ON _Plant.Plant = Plant  -- association [1..1]
;