I_EWM_HandlingUnitHdr_2

DDL: I_EWM_HANDLINGUNITHDR_2 Type: view_entity BASIC

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

CategoryCDS 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

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessSupply Chain
Application ComponentSCM-EWM-WOP
CapabilitiesData Source in SQL Select, Data Source for Defining CDS Entities, Association Target for Defining CDS Entities
PackageSupply Chain for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
/scwm/huhdr huhdr from

Annotations (9)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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
;