I_FldLogsExtLinksForPurDocs

DDL: I_FLDLOGSEXTLINKSFORPURDOCS SQL: IFLMMDOCLINKS Type: view BASIC Package: ODATA_FLOG_SP_WODOCFLOW

Field Logistics : Doc Flow STO Linkage

I_FldLogsExtLinksForPurDocs is a Basic CDS View that provides data about "Field Logistics : Doc Flow STO Linkage" in SAP S/4HANA. It reads from 1 data source (mmdoc_ext_links) and exposes 5 fields with key fields StockTransportOrder, StockTransportOrderItem. Part of development package ODATA_FLOG_SP_WODOCFLOW.

Data Sources (1)

SourceAliasJoin Type
mmdoc_ext_links mmdoc_ext_links from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IFLMMDOCLINKS view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #M view
EndUserText.label Field Logistics : Doc Flow STO Linkage view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY StockTransportOrder
KEY StockTransportOrderItem
MaterialDocument
MaterialDocumentYear
MaterialDocumentItem

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_FldLogsExtLinksForPurDocs.
-- 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: IFLMMDOCLINKS

CREATE VIEW I_FldLogsExtLinksForPurDocs AS
SELECT
  cast(SUBSTRING( businessdocumentuniqueid, 1, 10 ) as ebeln) AS StockTransportOrder,
  cast(SUBSTRING( businessdocumentuniqueid, 11, 5 ) as ebelp) AS StockTransportOrderItem,
  SUBSTRING( externaldocumentid, 1, 10) AS MaterialDocument,
  cast(SUBSTRING( externaldocumentid, 11, 4) as mjahr) AS MaterialDocumentYear,
  cast(SUBSTRING( externaldocumentid, 15, 4) as mblpo) AS MaterialDocumentItem
FROM mmdoc_ext_links
;