I_SerialNumberHandlingUnit

DDL: I_SERIALNUMBERHANDLINGUNIT Type: view_entity COMPOSITE

Serial Number in Handling Unit

I_SerialNumberHandlingUnit (Composite)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Database & Data Management

I_SerialNumberHandlingUnit is a Composite CDS View that provides data about "Serial Number in Handling Unit" in SAP S/4HANA. It reads from 2 data sources (I_MaintenanceObjectListItem, I_MaintObjListHandlingUnit) and exposes 10 fields with key fields Equipment, HandlingUnitInternalID, HandlingUnitItem.

SAP Help Documentation

CategoryCDS Views for Serial Number Management
Purpose
This CDS view retrieves information on the serial numbers used within handling units. This CDS view provides the data to answer the following business questions: Which material serial numbers were used in a handling unit? When were specific material serial numbers used within a handling unit? 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 either: have authorization to start the Display Material Serial Number ( IQ09 ) app (with Serial number history ), or: have display authorization for the CDS view Handling Unit Item ( I_HandlingUnitItem ).

Structure
Important Fields Important fields in this view include the following: Field Name Description Equipment Equipment Number HandlingUnitInternalID Internal Handling Unit Number HandlingUnitItem Handling Unit Item Material Material Number SerialNumber Serial Number HandlingUnitExternalID External Handling Unit Identification

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessDatabase & Data Management
Application ComponentLO-MD-SN
CapabilitiesData Source in SQL Select, Association Target for Defining CDS Entities, Data Source for Defining CDS Entities
PackageDatabase & Data Management for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view retrieves information on the serial numbers used within handling units.</p> <p>This CDS view provides the data to answer the following business questions:</p> <ul> <li><p>Which material serial numbers were used in a handling unit?</p></li> <li><p>When were specific material serial numbers used within a handling unit?</p></li> </ul> <p>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.</p>

Documentation

Data Sources (2)

SourceAliasJoin Type
I_MaintenanceObjectListItem _MaintenanceObjectListItem inner
I_MaintObjListHandlingUnit _MaintObjListHandlingUnit from

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
EndUserText.label Serial Number in Handling Unit view
Metadata.ignorePropagatedAnnotations true view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY Equipment I_MaintenanceObjectListItem Equipment Equipment Number
KEY HandlingUnitInternalID I_MaintObjListHandlingUnit HandlingUnitInternalID Internal Handling Unit Number
KEY HandlingUnitItem I_MaintObjListHandlingUnit HandlingUnitItem Handling Unit Item
Material I_MaintenanceObjectListItem Material Material Number
SerialNumber I_MaintenanceObjectListItem SerialNumber Serial Number
HandlingUnitExternalID I_MaintObjListHandlingUnit HandlingUnitExternalID External Handling Unit Identification
_Equipment I_MaintenanceObjectListItem _Equipment
_HandlingUnit I_MaintObjListHandlingUnit _HandlingUnit
_HandlingUnitItem I_MaintObjListHandlingUnit _HandlingUnitItem
_Product I_MaintenanceObjectListItem _Product

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_SerialNumberHandlingUnit.
-- 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_SerialNumberHandlingUnit AS
SELECT
  _MaintenanceObjectListItem.Equipment AS Equipment,
  _MaintObjListHandlingUnit.HandlingUnitInternalID AS HandlingUnitInternalID,
  _MaintObjListHandlingUnit.HandlingUnitItem AS HandlingUnitItem,
  _MaintenanceObjectListItem.Material AS Material,
  _MaintenanceObjectListItem.SerialNumber AS SerialNumber,
  _MaintObjListHandlingUnit.HandlingUnitExternalID AS HandlingUnitExternalID,
  _MaintenanceObjectListItem._Equipment AS _Equipment,
  _MaintObjListHandlingUnit._HandlingUnit AS _HandlingUnit,
  _MaintObjListHandlingUnit._HandlingUnitItem AS _HandlingUnitItem,
  _MaintenanceObjectListItem._Product AS _Product
FROM I_MaintObjListHandlingUnit AS _MaintObjListHandlingUnit
INNER JOIN I_MaintenanceObjectListItem AS _MaintenanceObjectListItem ON /* join condition not captured in parsed metadata */
;