I_FldLogsRetSuplrItemDocFlow
FL Return Supplier Item Document Flow
I_FldLogsRetSuplrItemDocFlow is a Composite CDS View that provides data about "FL Return Supplier Item Document Flow" in SAP S/4HANA. It reads from 3 data sources (I_FldLogsFlogReturnBasic, I_FldLogsSuplrReturnItem, I_FldLogsRetHndlgUntToWhseTask) and exposes 23 fields with key fields PrecedingDocument, PrecedingDocumentItem, SubsequentDocument, SubsequentDocumentItem, PrecedingDocumentItem. It has 1 association to related views.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_FldLogsFlogReturnBasic | _ReturnBasic | union_all |
| I_FldLogsSuplrReturnItem | _SuplrReturnItem | from |
| I_FldLogsRetHndlgUntToWhseTask | I_FldLogsRetHndlgUntToWhseTask | union_all |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_OrderBasic | _OrderBasic | _SuplrReturnItem.MaintenanceOrder = _OrderBasic.OrderID |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IFLDOCFLWSUPIR | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | FL Return Supplier Item Document Flow | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| VDM.viewType | #COMPOSITE | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.personalData.blocking | #REQUIRED | view |
Fields (23)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PrecedingDocument | |||
| KEY | PrecedingDocumentItem | Reference item | ||
| KEY | SubsequentDocument | Warehouse Task | ||
| KEY | SubsequentDocumentItem | |||
| SubsequentDocumentCategory | ||||
| FldLogsReferenceDocumentNumber | I_FldLogsSuplrReturnItem | ReferenceDocumentNumber | Reference Doc Number | |
| ReferenceDocumentLongNumber | ||||
| WarehouseTask | Warehouse Task | |||
| KEY | PrecedingDocumentItem | Reference item | ||
| KEY | SubsequentDocumentItem | |||
| SubsequentDocumentCategory | ||||
| FldLogsReferenceDocumentNumber | I_FldLogsFlogReturnBasic | FldLogsReferenceDocumentNumber | Reference Doc Number | |
| ReferenceDocumentLongNumber | ||||
| WarehouseTask | Warehouse Task | |||
| KEY | PrecedingDocumentItem | ReferenceDocumentItem | Reference item | |
| KEY | SubsequentDocument | WarehouseTask | Warehouse Task | |
| KEY | SubsequentDocumentItem | |||
| PrecedingDocumentCategory | ||||
| SubsequentDocumentcategory | ||||
| FldLogsReferenceDocumentNumber | FldLogsReferenceDocumentNumber | Reference Doc Number | ||
| ReferenceDocumentLongNumber | ||||
| WarehouseTask | WarehouseTask | Warehouse Task | ||
| EWMWarehouse | EWMWarehouse | Warehouse No. |
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_FldLogsRetSuplrItemDocFlow.
-- 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: IFLDOCFLWSUPIR
CREATE VIEW I_FldLogsRetSuplrItemDocFlow AS
SELECT
cast(_SuplrReturnItem.MaintenanceOrder as preced_doc) AS PrecedingDocument,
cast(' ' as posnr_nach) AS PrecedingDocumentItem,
cast( ' ' as subsequ_doc) AS SubsequentDocument,
cast( ' ' as posnr_von) AS SubsequentDocumentItem,
cast( ' ' as subsequ_doc_cat ) AS SubsequentDocumentCategory,
_SuplrReturnItem.ReferenceDocumentNumber AS FldLogsReferenceDocumentNumber,
cast(lpad(_SuplrReturnItem.ReferenceDocumentNumber,20,'0') as char20) AS ReferenceDocumentLongNumber,
cast('' as /scwm/tanum_conv_alpha ) AS WarehouseTask,
cast('OD' as preced_doc_cat) AS PrecedingDocumentCategory,
EWMWarehouse
FROM I_FldLogsSuplrReturnItem AS _SuplrReturnItem
LEFT OUTER JOIN I_OrderBasic AS _OrderBasic ON _SuplrReturnItem.MaintenanceOrder = _OrderBasic.OrderID -- association [0..1]
-- UNION ALL with additional select branch(es): I_FldLogsFlogReturnBasic, I_FldLogsRetHndlgUntToWhseTask
;
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