A_HandlingUnit_2
Handling Unit
A_HandlingUnit_2 is a Consumption CDS View that provides data about "Handling Unit" in SAP S/4HANA. It reads from 1 data source (R_HandlingUnitTP) and exposes 54 fields with key fields HandlingUnitExternalID, Warehouse.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_HandlingUnitTP | R_HandlingUnitTP | projection |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| Metadata.ignorePropagatedAnnotations | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| OData.entitySet.name | HandlingUnit | view | |
| EndUserText.label | Handling Unit | view |
Fields (54)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | HandlingUnitExternalID | HandlingUnitExternalID | ||
| KEY | Warehouse | Warehouse | ||
| PackagingMaterial | PackagingMaterial | |||
| PackagingMaterialType | PackagingMaterialType | |||
| Plant | Plant | |||
| StorageLocation | StorageLocation | |||
| ShippingPoint | ShippingPoint | |||
| ParentHandlingUnitNumber | ParentHandlingUnitNumber | |||
| HighestLevelHandlingUnitNumber | HighestLevelHandlingUnitNumber | |||
| GrossWeight | GrossWeight | |||
| NetWeight | NetWeight | |||
| HandlingUnitMaxWeight | HandlingUnitMaxWeight | |||
| WeightUnit | WeightUnit | |||
| HandlingUnitTareWeight | HandlingUnitTareWeight | |||
| HandlingUnitTareWeightUnit | HandlingUnitTareWeightUnit | |||
| GrossVolume | GrossVolume | |||
| HandlingUnitNetVolume | HandlingUnitNetVolume | |||
| HandlingUnitMaxVolume | HandlingUnitMaxVolume | |||
| VolumeUnit | VolumeUnit | |||
| HandlingUnitTareVolume | HandlingUnitTareVolume | |||
| HandlingUnitTareVolumeUnit | HandlingUnitTareVolumeUnit | |||
| HandlingUnitLength | HandlingUnitLength | |||
| HandlingUnitWidth | HandlingUnitWidth | |||
| HandlingUnitHeight | HandlingUnitHeight | |||
| UnitOfMeasureDimension | UnitOfMeasureDimension | |||
| HandlingUnitReferenceDocument | HandlingUnitReferenceDocument | |||
| HandlingUnitRefDocType | HandlingUnitPackingObjectType | Reference document for handling unit | ||
| HandlingUnitHasCrossRefDoc | HandlingUnitHasCrossRefDoc | |||
| PackingInstruction | PackingInstruction | |||
| HandlingUnitSecondExternalId | HandlingUnitSecondExternalId | Packing Instruction | ||
| CreatedByUser | CreatedByUser | |||
| CreationDateTime | CreationDateTime | |||
| LastChangedByUser | LastChangedByUser | Date and time of creation | ||
| LastChangeDateTime | LastChangeDateTime | |||
| StorageType | StorageType | Date and time of last change | ||
| StorageSection | StorageSection | |||
| StorageBin | StorageBin | |||
| EWMResource | EWMResource | |||
| EWMConsolidationGroup | EWMConsolidationGroup | |||
| HandlingUnitIsClosed | HandlingUnitIsClosed | |||
| ExternalStorageProcessStep | ExternalStorageProcessStep | |||
| StorageProcess | StorageProcess | |||
| EWMHUProcessStepIsCompleted | EWMHUProcessStepIsCompleted | |||
| EWMHandlingUnitIsPlanned | EWMHandlingUnitIsPlanned | |||
| EWMHandlingUnitIsInStock | EWMHandlingUnitIsInStock | |||
| EWMHandlingUnitIsUnloaded | EWMHandlingUnitIsUnloaded | |||
| EWMHandlingUnitIsLoaded | EWMHandlingUnitIsLoaded | |||
| EWMTranspUnitIsAssigned | EWMTranspUnitIsAssigned | |||
| EWMHUContentChangeIsBlocked | EWMHUContentChangeIsBlocked | |||
| EWMHUMovementChangeIsBlocked | EWMHUMovementChangeIsBlocked | |||
| EWMHUAttributeChangeIsBlocked | EWMHUAttributeChangeIsBlocked | |||
| EWMHUPostingChangeIsBlocked | EWMHUPostingChangeIsBlocked | |||
| EWMHUIsBlockedByCustoms | EWMHUIsBlockedByCustoms | |||
| EWMHUIsPackedForShipping | EWMHUIsPackedForShipping |
@Metadata.ignorePropagatedAnnotations: true
@AccessControl: {
authorizationCheck: #CHECK,
personalData.blocking: #BLOCKED_DATA_EXCLUDED
}
@ObjectModel: {
usageType: {
dataClass: #MIXED,
serviceQuality: #C,
sizeCategory: #XL
}
}
@VDM: {
viewType: #CONSUMPTION,
lifecycle.contract.type: #PUBLIC_REMOTE_API,
usage.type:[#TRANSACTIONAL_PROCESSING_SERVICE]
}
@OData.entitySet.name : 'HandlingUnit'
@EndUserText.label: 'Handling Unit'
define root view entity A_HandlingUnit_2
provider contract transactional_query
as projection on R_HandlingUnitTP as HandlingUnit
{
key HandlingUnitExternalID,
key Warehouse,
PackagingMaterial,
PackagingMaterialType,
Plant,
StorageLocation,
ShippingPoint,
ParentHandlingUnitNumber,
HighestLevelHandlingUnitNumber,
@Semantics.quantity.unitOfMeasure: 'WeightUnit'
GrossWeight,
@Semantics.quantity.unitOfMeasure: 'WeightUnit'
NetWeight,
@Semantics.quantity.unitOfMeasure: 'WeightUnit'
HandlingUnitMaxWeight,
@Semantics.unitOfMeasure:true
WeightUnit,
@Semantics.quantity.unitOfMeasure: 'HandlingUnitTareWeightUnit'
HandlingUnitTareWeight,
@Semantics.unitOfMeasure:true
HandlingUnitTareWeightUnit,
@Semantics.quantity.unitOfMeasure: 'VolumeUnit'
GrossVolume,
@Semantics.quantity.unitOfMeasure: 'VolumeUnit'
HandlingUnitNetVolume,
@Semantics.quantity.unitOfMeasure: 'VolumeUnit'
HandlingUnitMaxVolume,
@Semantics.unitOfMeasure:true
VolumeUnit,
@Semantics.quantity.unitOfMeasure: 'HandlingUnitTareVolumeUnit'
HandlingUnitTareVolume,
// HandlingUnitVolumeTolerance,
@Semantics.unitOfMeasure:true
HandlingUnitTareVolumeUnit,
@Semantics.quantity.unitOfMeasure: 'UnitOfMeasureDimension'
HandlingUnitLength,
@Semantics.quantity.unitOfMeasure: 'UnitOfMeasureDimension'
HandlingUnitWidth,
@Semantics.quantity.unitOfMeasure: 'UnitOfMeasureDimension'
HandlingUnitHeight,
@Semantics.unitOfMeasure:true
UnitOfMeasureDimension,
HandlingUnitReferenceDocument, @EndUserText.label:'Reference document for handling unit'
HandlingUnitPackingObjectType as HandlingUnitRefDocType,
HandlingUnitHasCrossRefDoc,
PackingInstruction, @EndUserText.label:'Packing Instruction'
HandlingUnitSecondExternalId,
CreatedByUser,
CreationDateTime, @EndUserText.label:'Date and time of creation'
LastChangedByUser,
LastChangeDateTime, @EndUserText.label:'Date and time of last change'
/* EWM specific fields */
StorageType,
StorageSection,
StorageBin,
EWMResource,
EWMConsolidationGroup,
HandlingUnitIsClosed,
// EWM fields Process Oriented Storage Control (POSC)
// E.g., After packing create a warehouse task to move a HU from a work center to the staging/goods issue area
@Feature: 'BF:API_FULLSCOPE'
ExternalStorageProcessStep,
@Feature: 'BF:API_FULLSCOPE'
StorageProcess,
@Feature: 'BF:API_FULLSCOPE'
EWMHUProcessStepIsCompleted,
// EWM fields HU Process Status
EWMHandlingUnitIsPlanned,
EWMHandlingUnitIsInStock,
@Feature: 'BF:API_FULLSCOPE'
EWMHandlingUnitIsUnloaded,
EWMHandlingUnitIsLoaded,
@Feature: 'BF:API_FULLSCOPE'
EWMTranspUnitIsAssigned,
// EWM fields HU Blocked Status
EWMHUContentChangeIsBlocked,
EWMHUMovementChangeIsBlocked,
EWMHUAttributeChangeIsBlocked,
EWMHUPostingChangeIsBlocked,
EWMHUIsBlockedByCustoms,
@Feature: 'BF:API_FULLSCOPE'
EWMHUIsPackedForShipping,
/* Compositions */
_HandlingUnitItem : redirected to composition child A_HandlingUnitItem_2,
_HandlingUnitReferenceDoc : redirected to composition child A_HandlingUnitReferenceDoc,
_HandlingUnitAlternativeID : redirected to composition child A_HandlingUnitAlternativeId
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"R_HANDLINGUNITTP"
],
"ASSOCIATED":
[
"A_HANDLINGUNITALTERNATIVEID",
"A_HANDLINGUNITITEM_2",
"A_HANDLINGUNITREFERENCEDOC",
"R_HANDLINGUNITALTERNATIVEIDTP",
"R_HANDLINGUNITITEMTP",
"R_HANDLINGUNITREFERENCEDOCTP"
],
"BASE":
[
"R_HANDLINGUNITTP"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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