A_HandlingUnitItemDelivery

DDL: A_HANDLINGUNITITEMDELIVERY SQL: AHUITMDLV Type: view BASIC

Handling Unit Item for Delivery

A_HandlingUnitItemDelivery is a Basic CDS View that provides data about "Handling Unit Item for Delivery" in SAP S/4HANA. It reads from 1 data source (I_HandlingUnitItem) and exposes 19 fields with key fields HandlingUnitInternalID, HandlingUnitItem. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_HandlingUnitItem I_HandlingUnitItem from

Associations (2)

CardinalityTargetAliasCondition
[1..1] A_OutbDeliveryHeader_1 _DeliveryDocument $projection.DeliveryDocument = _DeliveryDocument.DeliveryDocument
[1..1] A_OutbDeliveryItem_1 _DeliveryDocumentItem $projection.DeliveryDocument = _DeliveryDocumentItem.DeliveryDocument and $projection.DeliveryDocumentItem = _DeliveryDocumentItem.DeliveryDocumentItem

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName AHUITMDLV view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
VDM.viewType #BASIC view
EndUserText.label Handling Unit Item for Delivery view

Fields (19)

KeyFieldSource TableSource FieldDescription
KEY HandlingUnitInternalID HandlingUnitInternalID Internal HU no.
KEY HandlingUnitItem HandlingUnitItem HU item
HandlingUnitExternalID HandlingUnitExternalID Handling Unit
HandlingUnitTypeOfContent HandlingUnitTypeOfContent Item type
DeliveryDocument HandlingUnitReferenceDocument SD Sched. Agmt
DeliveryDocumentItem HandlingUnitRefDocumentItem WBS Element
HandlingUnitNestedInternalID HandlingUnitNestedInternalID Lower-level HU
HandlingUnitQuantity HandlingUnitQuantity Packed Quantity
HandlingUnitQuantityUnit HandlingUnitQuantityUnit UoM of HU item
HandlingUnitNrOfAuxPackgMat HandlingUnitNrOfAuxPackgMat No.AuxPckgMatls
Material Material Vehicle Model
MaterialName
Batch Batch Lot No.
HandlingUnitNumberOfSerialNumb HandlingUnitNumberOfSerialNumb No.serial no.
SerialNumberProfile SerialNumberProfile SerialNoProfile
MaterialByCustomer MaterialByCustomer Customer Mat.
_DeliveryDocument _DeliveryDocument
_DeliveryDocumentItem _DeliveryDocumentItem
_HandlingUnitHeader _HandlingUnitHeader

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 A_HandlingUnitItemDelivery.
-- 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.
-- SQL view name: AHUITMDLV

CREATE VIEW A_HandlingUnitItemDelivery AS
SELECT
  HandlingUnitInternalID,
  HandlingUnitItem,
  HandlingUnitExternalID,
  HandlingUnitTypeOfContent,
  HandlingUnitReferenceDocument AS DeliveryDocument,
  HandlingUnitRefDocumentItem AS DeliveryDocumentItem,
  HandlingUnitNestedInternalID,
  HandlingUnitQuantity,
  HandlingUnitQuantityUnit,
  HandlingUnitNrOfAuxPackgMat,
  Material,
  _Material._Text[1: Language=$session.system_language].MaterialName AS MaterialName,
  Batch,
  HandlingUnitNumberOfSerialNumb,
  SerialNumberProfile,
  MaterialByCustomer
FROM I_HandlingUnitItem
LEFT OUTER JOIN A_OutbDeliveryHeader_1 AS _DeliveryDocument ON DeliveryDocument = _DeliveryDocument.DeliveryDocument  -- association [1..1]
LEFT OUTER JOIN A_OutbDeliveryItem_1 AS _DeliveryDocumentItem ON DeliveryDocument = _DeliveryDocumentItem.DeliveryDocument AND DeliveryDocumentItem = _DeliveryDocumentItem.DeliveryDocumentItem  -- association [1..1]
;