I_HandlingUnitHistory

DDL: I_HANDLINGUNITHISTORY Type: view BASIC

Handling Unit History

I_HandlingUnitHistory is a Basic CDS View that provides data about "Handling Unit History" in SAP S/4HANA. It reads from 1 data source (vevw) and exposes 8 fields with key fields SourceHandlingUnitUUID, HandlingUnitObjectKeyType, HandlingUnitObjectKey. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
vevw HandlingUnitHistory from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_HandlingUnitObjectKeyType _HandlingUnitObjectKeyType _HandlingUnitObjectKeyType.HandlingUnitObjectKeyType = $projection.HandlingUnitObjectKeyType
[1..1] I_HandlingUnitHeader _HandlingUnitHeader _HandlingUnitHeader.SourceHandlingUnitUUID = $projection.SourceHandlingUnitUUID

Annotations (12)

NameValueLevelField
EndUserText.label Handling Unit History view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
AbapCatalog.sqlViewName IHANDLGUNITHIST view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #ORGANIZATIONAL view
ObjectModel.usageType.sizeCategory #XL view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY SourceHandlingUnitUUID handle TS handle
KEY HandlingUnitObjectKeyType object TRFM Object
KEY HandlingUnitObjectKey objkey Push Object Key
LastChangeDateTime tstamp Time Stamp
HandlingUnitExternalID _HandlingUnitHeader HandlingUnitExternalID Handling Unit
HandlingUnitInternalID _HandlingUnitHeader HandlingUnitInternalID
_HandlingUnitObjectKeyType _HandlingUnitObjectKeyType
_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 I_HandlingUnitHistory.
-- 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_HandlingUnitHistory AS
SELECT
  handle AS SourceHandlingUnitUUID,
  object AS HandlingUnitObjectKeyType,
  objkey AS HandlingUnitObjectKey,
  tstamp AS LastChangeDateTime,
  _HandlingUnitHeader.HandlingUnitExternalID AS HandlingUnitExternalID,
  _HandlingUnitHeader.HandlingUnitInternalID AS HandlingUnitInternalID
FROM vevw AS HandlingUnitHistory
LEFT OUTER JOIN I_HandlingUnitObjectKeyType AS _HandlingUnitObjectKeyType ON _HandlingUnitObjectKeyType.HandlingUnitObjectKeyType = HandlingUnitObjectKeyType  -- association [0..1]
LEFT OUTER JOIN I_HandlingUnitHeader AS _HandlingUnitHeader ON _HandlingUnitHeader.SourceHandlingUnitUUID = SourceHandlingUnitUUID  -- association [1..1]
;