I_FldLogsShptHandlingUnitItem
Pack Container Handling Unit Items
I_FldLogsShptHandlingUnitItem is a Composite CDS View that provides data about "Pack Container Handling Unit Items" in SAP S/4HANA. It reads from 2 data sources (I_FldLogsShptHndlgUnitHdrItm, I_HandlingUnitHeaderCombined) and exposes 24 fields with key fields HandlingUnitExternalID, Warehouse, StockItemUUID, Warehouse, StockItemUUID. It has 1 association to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_FldLogsShptHndlgUnitHdrItm | I_FldLogsShptHndlgUnitHdrItm | from |
| I_HandlingUnitHeaderCombined | I_HandlingUnitHeaderCombined | union |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_DeliveryDocumentItem | _Item | $projection.HandlingUnitReferenceDocument = _Item.DeliveryDocument and $projection.HandlingUnitRefDocumentItem = _Item.DeliveryDocumentItem |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Pack Container Handling Unit Items | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| UI.headerInfo.typeName | Product | view | |
| UI.headerInfo.typeNamePlural | Products | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (24)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | HandlingUnitExternalID | HandlingUnitExternalID | Handling Unit | |
| KEY | Warehouse | Warehouse No. | ||
| KEY | StockItemUUID | StockItemUUID | ||
| ParentHandlingUnitNumber | HandlingUnitExternalID | Handling Unit | ||
| DeliveryDocumentItemTextendasMaterial | ||||
| MaterialName | MaterialName | Handling Unit | ||
| PackagingMaterial | PackagingMaterial | Packaging Materials | ||
| HandlingUnitQuantity | HandlingUnitQuantity | |||
| HandlingUnitQuantityUnit | HandlingUnitQuantityUnit | UoM of HU item | ||
| HandlingUnitReferenceDocument | HandlingUnitReferenceDocument | |||
| HandlingUnitRefDocumentItem | HandlingUnitRefDocumentItem | |||
| Plant | Plant | Valuation Area | ||
| KEY | Warehouse | Warehouse No. | ||
| KEY | StockItemUUID | |||
| ParentHandlingUnitNumber | ParentHandlingUnitNumber | Handling Unit | ||
| Material | ||||
| MaterialName | Handling Unit | |||
| PackagingMaterial | PackagingMaterial | Packaging Materials | ||
| HandlingUnitQuantity | ||||
| HandlingUnitQuantityUnit | UoM of HU item | |||
| HandlingUnitReferenceDocument | ||||
| HandlingUnitRefDocumentItem | ||||
| Plant | Plant | Valuation Area | ||
| StorageLocation | StorageLocation | StorageLocation |
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_FldLogsShptHandlingUnitItem.
-- 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_FldLogsShptHandlingUnitItem AS
SELECT
HandlingUnitExternalID,
cast(Warehouse as lgnum) AS Warehouse,
StockItemUUID,
HandlingUnitExternalID AS ParentHandlingUnitNumber,
case when Material <> '' then Material else _Item.DeliveryDocumentItemText end as Material AS DeliveryDocumentItemTextendasMaterial,
MaterialName,
PackagingMaterial,
HandlingUnitQuantity,
HandlingUnitQuantityUnit,
HandlingUnitReferenceDocument,
HandlingUnitRefDocumentItem,
Plant,
cast(' ' as matnr) AS Material,
StorageLocation
FROM I_FldLogsShptHndlgUnitHdrItm
LEFT OUTER JOIN I_DeliveryDocumentItem AS _Item ON HandlingUnitReferenceDocument = _Item.DeliveryDocument AND HandlingUnitRefDocumentItem = _Item.DeliveryDocumentItem -- association [1..1]
-- UNION with additional select branch(es): I_HandlingUnitHeaderCombined
;
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