I_HndlgUnitItemSrlNoCombined

DDL: I_HNDLGUNITITEMSRLNOCOMBINED Type: view_entity COMPOSITE Package: LOHUM_VDM

HU serial number for LO and EWM

I_HndlgUnitItemSrlNoCombined is a Composite CDS View that provides data about "HU serial number for LO and EWM" in SAP S/4HANA. It reads from 2 data sources (I_SerialNumberHandlingUnit, P_EWM_WhseHandlingUnitSrlNmbr) and exposes 14 fields with key fields HandlingUnitItem, HandlingUnitExternalID, Warehouse, StockItemUUID, SerialNumber. It has 1 association to related views. Part of development package LOHUM_VDM.

Data Sources (2)

SourceAliasJoin Type
I_SerialNumberHandlingUnit I_SerialNumberHandlingUnit from
P_EWM_WhseHandlingUnitSrlNmbr P_EWM_WhseHandlingUnitSrlNmbr union_all

Associations (1)

CardinalityTargetAliasCondition
[1..1] P_HandlingUnitItemAsGuid02 _HandlingUnitItemGuid $projection.HandlingUnitInternalID = _HandlingUnitItemGuid.HandlingUnitInternalID and $projection.HandlingUnitItem = _HandlingUnitItemGuid.HandlingUnitItem

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label HU serial number for LO and EWM view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY HandlingUnitItem HandlingUnitItem
KEY HandlingUnitExternalID HandlingUnitExternalID
KEY Warehouse Warehouse No.
KEY StockItemUUID
KEY SerialNumber SerialNumber Serial Number
Equipment Equipment Equipment check
HandlingUnitInternalID HandlingUnitInternalID
KEY HandlingUnitExternalID HandlingUnitNumber
KEY Warehouse EWMWarehouse Warehouse No.
KEY StockItemUUID StockItemUUID
KEY SerialNumber Serial Number
Equipment Equipment check
HandlingUnitInternalID
Material P_EWM_WhseHandlingUnitSrlNmbr Product Product Sold

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_HndlgUnitItemSrlNoCombined.
-- 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_HndlgUnitItemSrlNoCombined AS
SELECT
  HandlingUnitItem,
  HandlingUnitExternalID,
  cast(' ' as /scwm/lgnum preserving type) AS Warehouse,
  cast( _HandlingUnitItemGuid.StockItemUUID as /lime/guid_stock preserving type) AS StockItemUUID,
  SerialNumber,
  Equipment,
  HandlingUnitInternalID,
  P_EWM_WhseHandlingUnitSrlNmbr.Product AS Material
FROM I_SerialNumberHandlingUnit
LEFT OUTER JOIN P_HandlingUnitItemAsGuid02 AS _HandlingUnitItemGuid ON HandlingUnitInternalID = _HandlingUnitItemGuid.HandlingUnitInternalID AND HandlingUnitItem = _HandlingUnitItemGuid.HandlingUnitItem  -- association [1..1]
-- UNION ALL with additional select branch(es): P_EWM_WhseHandlingUnitSrlNmbr
;