A_HndlgUnitItemForInbDeliv

DDL: A_HNDLGUNITITEMFORINBDELIV SQL: AHUITMINBDLV Type: view_entity BASIC Package: LOHUM_IDLV_ODATA_API

Handling Unit Item for Inbound Delivery

A_HndlgUnitItemForInbDeliv is a Basic CDS View that provides data about "Handling Unit Item for Inbound 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. Part of development package LOHUM_IDLV_ODATA_API.

Data Sources (1)

SourceAliasJoin Type
I_HandlingUnitItem I_HandlingUnitItem from

Associations (2)

CardinalityTargetAliasCondition
[1..1] A_InbDeliveryHeader_1 _DeliveryDocument $projection.DeliveryDocument = _DeliveryDocument.DeliveryDocument
[1..1] A_InbDeliveryItem_1 _DeliveryDocumentItem $projection.DeliveryDocument = _DeliveryDocumentItem.DeliveryDocument and $projection.DeliveryDocumentItem = _DeliveryDocumentItem.DeliveryDocumentItem

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED 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 Inbound 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_HndlgUnitItemForInbDeliv.
-- 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: AHUITMINBDLV

CREATE VIEW A_HndlgUnitItemForInbDeliv 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_InbDeliveryHeader_1 AS _DeliveryDocument ON DeliveryDocument = _DeliveryDocument.DeliveryDocument  -- association [1..1]
LEFT OUTER JOIN A_InbDeliveryItem_1 AS _DeliveryDocumentItem ON DeliveryDocument = _DeliveryDocumentItem.DeliveryDocument AND DeliveryDocumentItem = _DeliveryDocumentItem.DeliveryDocumentItem  -- association [1..1]
;