I_HandlingUnitValueHelp

DDL: I_HANDLINGUNITVALUEHELP Type: view_entity COMPOSITE

HU ID and WH

I_HandlingUnitValueHelp is a Composite CDS View that provides data about "HU ID and WH" in SAP S/4HANA. It reads from 4 data sources (I_HandlingUnitHeader, P_EWM_HandlingUnitHeader02, I_HandlingUnitHeader, I_HandlingUnitHeader) and exposes 13 fields with key fields HandlingUnitExternalID, Warehouse, Warehouse, Warehouse, Warehouse. It has 6 associations to related views.

Data Sources (4)

SourceAliasJoin Type
I_HandlingUnitHeader ERPHeader from
P_EWM_HandlingUnitHeader02 EWMHeader union_all
I_HandlingUnitHeader vekp_decwhs union_all
I_HandlingUnitHeader vekp_ewm union_all

Associations (6)

CardinalityTargetAliasCondition
[0..1] I_HandlingUnitHeader _HandlingUnitParentHdr _HandlingUnitParentHdr.HandlingUnitInternalID = vekp_decwhs.HandlingUnitLowerLevelRefer
[0..1] I_UnitOfMeasure _WeightUnit _WeightUnit.UnitOfMeasure = vekp_ewm.WeightUnit
[0..1] I_UnitOfMeasure _WeightUnitTare _WeightUnitTare.UnitOfMeasure = vekp_ewm.HandlingUnitTareWeightUnit
[0..1] I_UnitOfMeasure _VolumeUnit _VolumeUnit.UnitOfMeasure = vekp_ewm.VolumeUnit
[0..1] I_UnitOfMeasure _VolumeUnitTare _VolumeUnitTare.UnitOfMeasure = vekp_ewm.HandlingUnitTareVolumeUnit
[0..1] I_UnitOfMeasure _UnitOfMeasureDimension _UnitOfMeasureDimension.UnitOfMeasure = vekp_ewm.UnitOfMeasureDimension

Annotations (9)

NameValueLevelField
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
AccessControl.authorizationCheck #CHECK view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
EndUserText.label HU ID and WH view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY HandlingUnitExternalID I_HandlingUnitHeader HandlingUnitExternalID Handling Unit
KEY Warehouse Warehouse No.
Plant Plant Valuation Area
HandlingUnitExternalID Handling Unit
KEY Warehouse Warehouse No.
Plant I_HandlingUnitHeader Plant Valuation Area
HandlingUnitExternalID Handling Unit
KEY Warehouse ewm_whs Warehouse Warehouse No.
Plant I_HandlingUnitHeader Plant Valuation Area
HandlingUnitExternalID Handling Unit
KEY Warehouse P_EWM_HandlingUnitHeader02 Warehouse Warehouse No.
Plant Valuation Area
ShippingPoint

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_HandlingUnitValueHelp.
-- 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_HandlingUnitValueHelp AS
SELECT
  ERPHeader.HandlingUnitExternalID AS HandlingUnitExternalID,
  cast(' ' as /scwm/lgnum) AS Warehouse,
  Plant,
  cast(' ' as vstel) AS ShippingPoint
FROM I_HandlingUnitHeader AS ERPHeader
LEFT OUTER JOIN I_HandlingUnitHeader AS _HandlingUnitParentHdr ON _HandlingUnitParentHdr.HandlingUnitInternalID = vekp_decwhs.HandlingUnitLowerLevelRefer  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _WeightUnit ON _WeightUnit.UnitOfMeasure = vekp_ewm.WeightUnit  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _WeightUnitTare ON _WeightUnitTare.UnitOfMeasure = vekp_ewm.HandlingUnitTareWeightUnit  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _VolumeUnit ON _VolumeUnit.UnitOfMeasure = vekp_ewm.VolumeUnit  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _VolumeUnitTare ON _VolumeUnitTare.UnitOfMeasure = vekp_ewm.HandlingUnitTareVolumeUnit  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasureDimension ON _UnitOfMeasureDimension.UnitOfMeasure = vekp_ewm.UnitOfMeasureDimension  -- association [0..1]
-- UNION ALL with additional select branch(es): I_HandlingUnitHeader, I_HandlingUnitHeader, P_EWM_HandlingUnitHeader02
;