I_HandlingUnitValueHelp
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)
| Source | Alias | Join 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)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
;
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