I_FldLogsLinksForSTO

DDL: I_FLDLOGSLINKSFORSTO Type: view_entity COMPOSITE

Field Logistics links for STOs

I_FldLogsLinksForSTO is a Composite CDS View that provides data about "Field Logistics links for STOs" in SAP S/4HANA. It reads from 2 data sources (I_FldLogsExtLinksForPurDocs, I_FldLogsPurchasingDocItem) and exposes 9 fields with key fields StockTransportOrder, StockTransportOrderItem. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
I_FldLogsExtLinksForPurDocs _extlinks from
I_FldLogsPurchasingDocItem _purdocitem inner

Associations (1)

CardinalityTargetAliasCondition
[1] I_Plant _ReceivingPlantName_SP14 _ReceivingPlantName_SP14.Plant = _purdocitem.Plant and _ReceivingPlantName_SP14.Language = $session.system_language

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
VDM.viewType #COMPOSITE view
EndUserText.label Field Logistics links for STOs view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY StockTransportOrder I_FldLogsExtLinksForPurDocs StockTransportOrder STO Number
KEY StockTransportOrderItem I_FldLogsExtLinksForPurDocs StockTransportOrderItem STO Item
MaterialDocument I_FldLogsExtLinksForPurDocs MaterialDocument Material Doc.
MaterialDocumentYear I_FldLogsExtLinksForPurDocs MaterialDocumentYear Material Document Year
MaterialDocumentItem I_FldLogsExtLinksForPurDocs MaterialDocumentItem Material Document Item
OrderQuantity I_FldLogsPurchasingDocItem OrderQuantity Quantity
OrderQuantityUnit I_FldLogsPurchasingDocItem OrderQuantityUnit Sales Unit
Plant I_FldLogsPurchasingDocItem Plant Valuation Area
PlantName _ReceivingPlantName_SP14 PlantName Plant Name

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_FldLogsLinksForSTO.
-- 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_FldLogsLinksForSTO AS
SELECT
  _extlinks.StockTransportOrder AS StockTransportOrder,
  _extlinks.StockTransportOrderItem AS StockTransportOrderItem,
  _extlinks.MaterialDocument AS MaterialDocument,
  _extlinks.MaterialDocumentYear AS MaterialDocumentYear,
  _extlinks.MaterialDocumentItem AS MaterialDocumentItem,
  _purdocitem.OrderQuantity AS OrderQuantity,
  _purdocitem.OrderQuantityUnit AS OrderQuantityUnit,
  _purdocitem.Plant AS Plant,
  _ReceivingPlantName_SP14.PlantName AS PlantName
FROM I_FldLogsExtLinksForPurDocs AS _extlinks
INNER JOIN I_FldLogsPurchasingDocItem AS _purdocitem ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Plant AS _ReceivingPlantName_SP14 ON _ReceivingPlantName_SP14.Plant = _purdocitem.Plant AND _ReceivingPlantName_SP14.Language = $session.system_language  -- association [1]
;