I_FldLogsRcvdHndlgUntIssOrdDet
FL Issue to Order Doc for Rcvd HndlgUnit Item
I_FldLogsRcvdHndlgUntIssOrdDet is a Composite CDS View that provides data about "FL Issue to Order Doc for Rcvd HndlgUnit Item" in SAP S/4HANA. It reads from 2 data sources (I_FldLogsRcvdHndlgUntItmEnhcd, I_FldLogsRcvdHndlgUntItmEnhcd) and exposes 28 fields with key fields FldLogsReferenceDocumentNumber, FldLogsShptItmHndlgUnitID, MaintenanceOrder, DeliveryDocumentendasReturnsDelivery, FldLogsShptItmHndlgUnitID. It has 2 associations to related views. Part of development package FLOG_RETURN_PROCG_BASE.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_FldLogsRcvdHndlgUntItmEnhcd | I_FldLogsRcvdHndlgUntItmEnhcd | from |
| I_FldLogsRcvdHndlgUntItmEnhcd | I_FldLogsRcvdHndlgUntItmEnhcd | union_all |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_MaterialDocumentRecord | _GoodsIssue | _GoodsIssue.OrderID = $projection.MaintenanceOrder and _GoodsIssue.Reservation = $projection.Reservation and _GoodsIssue.ReservationItem = $projection.ReservationItem and _GoodsIssue.Plant = $projection.FieldLogisticsReceivingPlant and _GoodsIssue.StorageLocation = $projection.FldLogsDestStorLocID |
| [0..1] | I_FldLogsRcvdOutboundDelivery | _OutboundDeliveryOrder | _OutboundDeliveryOrder.OrderID = $projection.MaintenanceOrder and _OutboundDeliveryOrder.Reservation = $projection.Reservation and _OutboundDeliveryOrder.ReservationItem = $projection.ReservationItem and _OutboundDeliveryOrder.Plant = $projection.FieldLogisticsReceivingPlant and _OutboundDeliveryOrder.StorageLocation = $projection.FldLogsDestStorLocID |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | FL Issue to Order Doc for Rcvd HndlgUnit Item | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #COMPOSITE | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (28)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | FldLogsReferenceDocumentNumber | FldLogsReferenceDocumentNumber | Reference Doc Number | |
| KEY | FldLogsShptItmHndlgUnitID | FldLogsShptItmHndlgUnitID | Handling Unit ID | |
| KEY | MaintenanceOrder | MaintenanceOrder | Order | |
| KEY | DeliveryDocumentendasReturnsDelivery | |||
| WarehouseTask | WarehouseTask | Warehouse Task | ||
| Reservation | Reservation | Reservation | ||
| ReservationItem | ReservationItem | Reservation Item | ||
| FieldLogisticsReceivingPlant | FieldLogisticsReceivingPlant | |||
| FldLogsDestStorLocID | FldLogsDestStorLocID | Location | ||
| EWMDelivery | ||||
| EWMDeliveryItem | ||||
| GoodsMovementStatus | _OutboundDeliveryOrder | GoodsMovementStatus | Gds Movemt Status | |
| DeliveryDocument | DeliveryDocument | Outbound Delivery | ||
| DeliveryDocumentItem | DeliveryDocumentItem | Outb. Delivery Item | ||
| KEY | FldLogsShptItmHndlgUnitID | FldLogsShptItmHndlgUnitID | Handling Unit ID | |
| KEY | MaintenanceOrder | FldLogsRefurbishmentOrder | Order | |
| KEY | DeliveryDocumentendasReturnsDelivery | |||
| WarehouseTask | WarehouseTask | Warehouse Task | ||
| Reservation | Reservation | Reservation | ||
| ReservationItem | ReservationItem | Reservation Item | ||
| FieldLogisticsReceivingPlant | FieldLogisticsReceivingPlant | |||
| FldLogsDestStorLocID | FldLogsDestStorLocID | Location | ||
| EWMDelivery | ||||
| EWMDeliveryItem | ||||
| GoodsMovementStatus | _OutboundDeliveryOrder | GoodsMovementStatus | Gds Movemt Status | |
| DeliveryDocument | DeliveryDocument | Outbound Delivery | ||
| DeliveryDocumentItem | DeliveryDocumentItem | Outb. Delivery Item | ||
| EWMWarehouse | _WarehouseNumber | 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_FldLogsRcvdHndlgUntIssOrdDet.
-- 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_FldLogsRcvdHndlgUntIssOrdDet AS
SELECT
FldLogsReferenceDocumentNumber,
FldLogsShptItmHndlgUnitID,
MaintenanceOrder,
case when _OutboundDeliveryOrder.DeliveryDocument is null and _GoodsIssue.MaterialDocument is not null then _GoodsIssue.MaterialDocument when _OutboundDeliveryOrder.DeliveryDocument is not null then _OutboundDeliveryOrder.DeliveryDocument end as ReturnsDelivery AS DeliveryDocumentendasReturnsDelivery,
WarehouseTask,
Reservation,
ReservationItem,
FieldLogisticsReceivingPlant,
FldLogsDestStorLocID,
cast( _OutboundDeliveryOrder.DeliveryDocument as /scdl/dl_docno_int ) AS EWMDelivery,
cast( lpad( _OutboundDeliveryOrder.DeliveryDocumentItem,10,'0') as /scdl/dl_itemno) AS EWMDeliveryItem,
_OutboundDeliveryOrder.GoodsMovementStatus AS GoodsMovementStatus,
DeliveryDocument,
DeliveryDocumentItem,
_WarehouseNumber.EWMWarehouse AS EWMWarehouse
FROM I_FldLogsRcvdHndlgUntItmEnhcd
LEFT OUTER JOIN I_MaterialDocumentRecord AS _GoodsIssue ON _GoodsIssue.OrderID = MaintenanceOrder AND _GoodsIssue.Reservation = Reservation AND _GoodsIssue.ReservationItem = ReservationItem AND _GoodsIssue.Plant = FieldLogisticsReceivingPlant AND _GoodsIssue.StorageLocation = FldLogsDestStorLocID -- association [0..1]
LEFT OUTER JOIN I_FldLogsRcvdOutboundDelivery AS _OutboundDeliveryOrder ON _OutboundDeliveryOrder.OrderID = MaintenanceOrder AND _OutboundDeliveryOrder.Reservation = Reservation AND _OutboundDeliveryOrder.ReservationItem = ReservationItem AND _OutboundDeliveryOrder.Plant = FieldLogisticsReceivingPlant AND _OutboundDeliveryOrder.StorageLocation = FldLogsDestStorLocID -- association [0..1]
-- UNION ALL with additional select branch(es): I_FldLogsRcvdHndlgUntItmEnhcd
;
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