I_EWM_HandlingUnitHdr_2
Handling Unit Header
I_EWM_HandlingUnitHdr_2 (Basic)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
Supply Chain
I_EWM_HandlingUnitHdr_2 is a Basic CDS View that provides data about "Handling Unit Header" in SAP S/4HANA. It reads from 1 data source (/scwm/huhdr) and exposes 76 fields with key fields HandlingUnitNumber, EWMWarehouse, HandlingUnitIndicator.
SAP Help Documentation
| Category | CDS Views for Cross Processes |
|---|
Purpose
This CDS view provides details about handling units, for example, the weight, volume, or packaging material. To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .
Prerequisites
Authorizations Users who want to use this CDS view must have the following business catalog assigned: SAP_A4C_BC_DEV_TST_SCM_EWM_PC .
Structure
Important Fields Important fields in this view include the following: Field Name Description HandlingUnitNumber Handling Unit Identification EWMWarehouse Warehouse Number
This CDS view provides details about handling units, for example, the weight, volume, or packaging material. To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .
Prerequisites
Authorizations Users who want to use this CDS view must have the following business catalog assigned: SAP_A4C_BC_DEV_TST_SCM_EWM_PC .
Structure
Important Fields Important fields in this view include the following: Field Name Description HandlingUnitNumber Handling Unit Identification EWMWarehouse Warehouse Number
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Supply Chain |
| Application Component | SCM-EWM-WOP |
| Capabilities | Data Source in SQL Select, Data Source for Defining CDS Entities, Association Target for Defining CDS Entities |
| Package | Supply Chain for SAP S/4HANA Cloud Private Edition |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| /scwm/huhdr | huhdr | from |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Handling Unit Header | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| Analytics.internalName | #LOCAL | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view |
Fields (76)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | HandlingUnitNumber | Handling Unit Identification | ||
| KEY | EWMWarehouse | lgnum | Warehouse Number/Warehouse Complex | |
| KEY | HandlingUnitIndicator | vhi | Virtual Handling Unit | |
| HandlingUnitUUID | guid_hu | Unique Internal Identification of a Handling Unit | ||
| PackagingMaterialUUID | Product UUID | |||
| CreatedByUser | created_by | Version Created By | ||
| CreationDateTime | created_at | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | ||
| LastChangedByUser | changed_by | User Name | ||
| LastChangeDateTime | changed_at | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | ||
| GrossWeight | g_weight | Total Weight of Handling Unit | ||
| NetWeight | n_weight | Loading Weight of Handling Unit | ||
| WeightUnit | unit_gw | Weight Unit | ||
| HandlingUnitTareWeight | t_weight | Tare Weight of Handling Unit | ||
| HandlingUnitTareWeightUnit | unit_tw | Weight Unit | ||
| GrossVolume | g_volume | Total Volume of Handling Unit | ||
| HandlingUnitNetVolume | n_volume | Loading Volume of Handling Unit | ||
| VolumeUnit | unit_gv | Volume Unit | ||
| HandlingUnitTareVolume | t_volume | Tare Volume of Handling Unit | ||
| HandlingUnitTareVolumeUnit | unit_tv | Volume Unit | ||
| HandlingUnitGrossCapacity | g_capa | Total Capacity Key Figure | ||
| HandlingUnitNetCapacity | n_capa | Net Capacity Key Figure | ||
| HandlingUnitTareCapacity | t_capa | Tare Capacity Key Figure for Packaging | ||
| HandlingUnitLength | length | Text Length | ||
| HandlingUnitWidth | width | Width | ||
| HandlingUnitHeight | height | Height | ||
| EWMDimensionUnit | unit_lwh | Unit of Dimension for Length/Width/Height | ||
| HandlingUnitMaxWeight | max_weight | Maximum Allowed Weight | ||
| HandlingUnitWeightTolerance | tolw | Excess Weight Tolerance for Handling Unit | ||
| HasVariableTareWeight | tare_var | Tare Weight Variable | ||
| HandlingUnitMaxVolume | max_volume | Maximum Volume | ||
| HandlingUnitVolumeTolerance | tolv | Excess Volume Tolerance of the Handling Unit | ||
| HandlingUnitIsClosed | closed_package | Closed Packaging Material | ||
| MaximumCapacity | max_capa | Maximum Permitted Capacity for Packaging Material | ||
| HandlingUnitCapacityTolerance | tolc | Excess Capacity Tolerance of Handling Unit | ||
| HandlingUnitMaxLength | max_length | Maximum Packing Length of a Packaging Material | ||
| HandlingUnitMaxWidth | max_width | Maximum Allowed Packing Width of a Packaging Material | ||
| HandlingUnitMaxHeight | max_height | Maximum Packing Height of a Packaging Material | ||
| HandlingUnitMaxDimensionUnit | unit_max_lwh | Unit of Measure for Maximum Packing Length/Width/Height | ||
| HandlingUnitType | letyp | Handling Unit Type | ||
| HandlingUnitHasAvailQty | flgavq | Indicator: Handling Unit Contains an Available Quantity | ||
| HandlingUnitOpenTaskInd | flgmove | Indicator: Handling Unit is Being Moved (Open HU WT) | ||
| ExternalStorageProcessStep | procs | External Storage Process Step | ||
| ProcessStepCompletedInd | copst | Process Step for HU Completed | ||
| EWMHUProcessStepIsCompleted | copst | Process Step for HU Completed | ||
| StorageProcess | prces | Storage Process | ||
| EWMConsolidationGroup | dstgrp | Consolidation Group | ||
| WorkloadIdentification | wklid | Workload Identification | ||
| EntitledToDisposeParty | entitled | Party Entitled to Dispose | ||
| EWMStorageType | wstyp | Storage Type | ||
| EWMStorageSection | wssec | Storage Section | ||
| EWMStorageBin | wsbin | Storage Bin | ||
| WarehouseOrderCreationRule | wcr | Warehouse Order Creation Rule | ||
| HandlingUnitDefectCode | mfserror | Handling Unit Contains a Defect | ||
| HandlingUnitContentInd | ukcon | Indicator of HU Content Type | ||
| PackagingMaterialType | pmtyp | Packaging Material Type | ||
| HandlingUnitPackingGroup | packgr | Packing Group | ||
| HandlingUnitStatus | phystat | Internal Status of a Handling Unit | ||
| HandlingUnitTopLevelInd | top | |||
| HandlingUnitBottomInd | bottom | |||
| StatusProfile | stsma | Status Profile for Handling Unit User Status | ||
| PackagingSpecificationUUID | Predictive Scenario | |||
| PackagingSpecificationLevel | ps_level_seq | Sequence Number of a Level in a Packaging Specification | ||
| HandlingUnitObjRefInd | objref | Obj. Reference | ||
| HazardousSubstanceIndicator | hzmt | Hazardous Substance | ||
| HandlingUnitLogicalPosition | logpos | Logical Position of Handling Unit | ||
| DistrEquipmentLogicalPos | logpos_ext | Actual Handling Unit Position | ||
| HandlingUnitAutoCreationLevel | auto_crea_pick | Display of Automatically Created Nested Pick-HUs | ||
| EWMHandlingUnitExternalUUID | hu_guid_ext | Additional Unique External Identification of a Handling Unit | ||
| EWMHghstLvlHandlingUnitUUID | guid_hu_top | DO NOT USE: Highest-Level Handling Unit | ||
| EWMHndlgUnitPickingCriteria | pickhuind | Apply Picking Criteria for Handling Units | ||
| EWMPackingInstructionUUID | PI GUID | |||
| UnifiedPackageBuildingEngine | pb_engine | Unified Package Building Engine | ||
| EWMSrlNmbrForPackagingMaterial | Serial Number | |||
| EWMHUIsJITUpdateRelevant | jit_upd_relevance | Update JIT Call at Final Putaway | ||
| EWMHUDestinationProdnSupArea | destination_psa | Final Destination Production Supply Area for Handling Unit | ||
| EWMHUDestinationStorageBin | destination_bin | Final Destination Storage Bin for Handling Unit |
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_EWM_HandlingUnitHdr_2.
-- 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_EWM_HandlingUnitHdr_2 AS
SELECT
cast(huident as ewm_de_hu_no_conv preserving type ) AS HandlingUnitNumber,
lgnum AS EWMWarehouse,
vhi AS HandlingUnitIndicator,
guid_hu AS HandlingUnitUUID,
cast(pmat_guid as matid_no_conv preserving type ) AS PackagingMaterialUUID,
created_by AS CreatedByUser,
created_at AS CreationDateTime,
changed_by AS LastChangedByUser,
changed_at AS LastChangeDateTime,
g_weight AS GrossWeight,
n_weight AS NetWeight,
unit_gw AS WeightUnit,
t_weight AS HandlingUnitTareWeight,
unit_tw AS HandlingUnitTareWeightUnit,
g_volume AS GrossVolume,
n_volume AS HandlingUnitNetVolume,
unit_gv AS VolumeUnit,
t_volume AS HandlingUnitTareVolume,
unit_tv AS HandlingUnitTareVolumeUnit,
g_capa AS HandlingUnitGrossCapacity,
n_capa AS HandlingUnitNetCapacity,
t_capa AS HandlingUnitTareCapacity,
length AS HandlingUnitLength,
width AS HandlingUnitWidth,
height AS HandlingUnitHeight,
unit_lwh AS EWMDimensionUnit,
max_weight AS HandlingUnitMaxWeight,
tolw AS HandlingUnitWeightTolerance,
tare_var AS HasVariableTareWeight,
max_volume AS HandlingUnitMaxVolume,
tolv AS HandlingUnitVolumeTolerance,
closed_package AS HandlingUnitIsClosed,
max_capa AS MaximumCapacity,
tolc AS HandlingUnitCapacityTolerance,
max_length AS HandlingUnitMaxLength,
max_width AS HandlingUnitMaxWidth,
max_height AS HandlingUnitMaxHeight,
unit_max_lwh AS HandlingUnitMaxDimensionUnit,
letyp AS HandlingUnitType,
flgavq AS HandlingUnitHasAvailQty,
flgmove AS HandlingUnitOpenTaskInd,
procs AS ExternalStorageProcessStep,
copst AS ProcessStepCompletedInd,
copst AS EWMHUProcessStepIsCompleted,
prces AS StorageProcess,
dstgrp AS EWMConsolidationGroup,
wklid AS WorkloadIdentification,
entitled AS EntitledToDisposeParty,
wstyp AS EWMStorageType,
wssec AS EWMStorageSection,
wsbin AS EWMStorageBin,
wcr AS WarehouseOrderCreationRule,
mfserror AS HandlingUnitDefectCode,
ukcon AS HandlingUnitContentInd,
pmtyp AS PackagingMaterialType,
packgr AS HandlingUnitPackingGroup,
phystat AS HandlingUnitStatus,
top AS HandlingUnitTopLevelInd,
bottom AS HandlingUnitBottomInd,
stsma AS StatusProfile,
cast( ps_guid as raw16 preserving type ) AS PackagingSpecificationUUID,
ps_level_seq AS PackagingSpecificationLevel,
objref AS HandlingUnitObjRefInd,
hzmt AS HazardousSubstanceIndicator,
logpos AS HandlingUnitLogicalPosition,
logpos_ext AS DistrEquipmentLogicalPos,
auto_crea_pick AS HandlingUnitAutoCreationLevel,
hu_guid_ext AS EWMHandlingUnitExternalUUID,
guid_hu_top AS EWMHghstLvlHandlingUnitUUID,
pickhuind AS EWMHndlgUnitPickingCriteria,
cast( pi_guid as raw16 preserving type ) AS EWMPackingInstructionUUID,
pb_engine AS UnifiedPackageBuildingEngine,
cast( serid_pmat as ewm_de_serialnumber preserving type ) AS EWMSrlNmbrForPackagingMaterial,
jit_upd_relevance AS EWMHUIsJITUpdateRelevant,
destination_psa AS EWMHUDestinationProdnSupArea,
destination_bin AS EWMHUDestinationStorageBin
FROM /scwm/huhdr AS huhdr
;
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