I_FldLogsStockTransportOrder
Field Logistics Stock Transport Orders
I_FldLogsStockTransportOrder is a Composite CDS View that provides data about "Field Logistics Stock Transport Orders" in SAP S/4HANA. It reads from 2 data sources (I_MaterialDocumentItem, I_FldLogsPurchasingDocItem) and exposes 14 fields with key fields PurchasingDocument, PurchasingDocumentItem, MaterialDocument, MaterialDocumentItem, MaterialDocumentYear. It has 1 association to related views. Part of development package ODATA_FLOG_PROCESS_RECEIPTS.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_MaterialDocumentItem | _MaterialDocumentRecord | inner |
| I_FldLogsPurchasingDocItem | _PO | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1] | I_Plant | _SupplyingPlantName | _SupplyingPlantName.Plant = _PO.Plant and _SupplyingPlantName.Language = $session.system_language |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| VDM.viewType | #COMPOSITE | view | |
| EndUserText.label | Field Logistics Stock Transport Orders | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (14)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchasingDocument | I_FldLogsPurchasingDocItem | PurchasingDocument | Purchasing Document |
| KEY | PurchasingDocumentItem | I_FldLogsPurchasingDocItem | PurchasingDocumentItem | Purchasing Doc. Item |
| KEY | MaterialDocument | I_MaterialDocumentItem | MaterialDocument | Material Doc. |
| KEY | MaterialDocumentItem | I_MaterialDocumentItem | MaterialDocumentItem | Material Document Item |
| KEY | MaterialDocumentYear | I_MaterialDocumentItem | MaterialDocumentYear | Material Document Year |
| KEY | StockTransportOrder | |||
| KEY | StockTransportOrderItem | |||
| OrderQuantity | ||||
| OrderQuantityUnit | ||||
| ReceivingPlant | ||||
| ReceivingPlantName | ||||
| SupplyingPlant | I_FldLogsPurchasingDocItem | Plant | Valuation Area | |
| SupplyingPlantName | _SupplyingPlantName | PlantName | Plant Name | |
| IsEndOfPurposeBlocked | I_FldLogsPurchasingDocItem | IsEndOfPurposeBlocked | Busin. Purp. Cmpltd. |
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_FldLogsStockTransportOrder.
-- 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_FldLogsStockTransportOrder AS
SELECT
_PO.PurchasingDocument AS PurchasingDocument,
_PO.PurchasingDocumentItem AS PurchasingDocumentItem,
_MaterialDocumentRecord.MaterialDocument AS MaterialDocument,
_MaterialDocumentRecord.MaterialDocumentItem AS MaterialDocumentItem,
_MaterialDocumentRecord.MaterialDocumentYear AS MaterialDocumentYear,
coalesce(_Doclinks.StockTransportOrder,_StockAtRemote.StockTransportOrder) AS StockTransportOrder,
coalesce(_Doclinks.StockTransportOrderItem,_StockAtRemote.StockTransportOrderItem) AS StockTransportOrderItem,
coalesce(_Doclinks.OrderQuantity,_StockAtRemote.OrderQuantity) AS OrderQuantity,
coalesce(_Doclinks.OrderQuantityUnit,_StockAtRemote.OrderQuantityUnit) AS OrderQuantityUnit,
coalesce(_Doclinks.Plant,_StockAtRemote.Plant) AS ReceivingPlant,
coalesce(_Doclinks.PlantName,_StockAtRemote.PlantName) AS ReceivingPlantName,
_PO.Plant AS SupplyingPlant,
_SupplyingPlantName.PlantName AS SupplyingPlantName,
_PO.IsEndOfPurposeBlocked AS IsEndOfPurposeBlocked
FROM I_FldLogsPurchasingDocItem AS _PO
INNER JOIN I_MaterialDocumentItem AS _MaterialDocumentRecord ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Plant AS _SupplyingPlantName ON _SupplyingPlantName.Plant = _PO.Plant AND _SupplyingPlantName.Language = $session.system_language -- association [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