I_FldLogsStkInvtryDet
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)
| Source | Alias | Join Type |
|---|---|---|
| I_FieldLogisticsPlantAll | _AllPlants | inner |
| I_FieldLogisticsStockInventory | _StrLocMard | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA