I_SerialNumberInspectionLot

DDL: I_SERIALNUMBERINSPECTIONLOT Type: view_entity COMPOSITE

Serial Number in Inspection Lot

I_SerialNumberInspectionLot (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_SerialNumberInspectionLot is a Composite CDS View that provides data about "Serial Number in Inspection Lot" in SAP S/4HANA. It reads from 2 data sources (I_MaintenanceObjectListItem, I_MaintObjListInspectionLot) and exposes 7 fields with key fields Equipment, InspectionLot.

SAP Help Documentation

CategoryCDS Views for Serial Number Management
Purpose
This CDS view retrieves information on the serial numbers used within inspection lots. This CDS view provides the data to answer the following business questions: Which material serial numbers were used in an inspection lot? When were specific material serial numbers used within an inspection lot? 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 Inspection Lot ( I_InspectionLot ), see Inspection Lot .

Structure
Important Fields Important fields in this view include the following: Field Name Description Equipment Equipment Number InspectionLot Inspection Lot Number Material Material Number SerialNumber Serial Number

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 inspection lots.</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 an inspection lot?</p></li> <li><p>When were specific material serial numbers used within an inspection lot?</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_MaintObjListInspectionLot _MaintObjListInspectionLot 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 Inspection Lot view
Metadata.ignorePropagatedAnnotations true view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY Equipment I_MaintenanceObjectListItem Equipment Equipment Number
KEY InspectionLot I_MaintObjListInspectionLot InspectionLot Inspection Lot Number
Material I_MaintenanceObjectListItem Material Material Number
SerialNumber I_MaintenanceObjectListItem SerialNumber Serial Number
_Equipment I_MaintenanceObjectListItem _Equipment
_InspectionLot I_MaintObjListInspectionLot _InspectionLot
_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_SerialNumberInspectionLot.
-- 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_SerialNumberInspectionLot AS
SELECT
  _MaintenanceObjectListItem.Equipment AS Equipment,
  _MaintObjListInspectionLot.InspectionLot AS InspectionLot,
  _MaintenanceObjectListItem.Material AS Material,
  _MaintenanceObjectListItem.SerialNumber AS SerialNumber,
  _MaintenanceObjectListItem._Equipment AS _Equipment,
  _MaintObjListInspectionLot._InspectionLot AS _InspectionLot,
  _MaintenanceObjectListItem._Product AS _Product
FROM I_MaintObjListInspectionLot AS _MaintObjListInspectionLot
INNER JOIN I_MaintenanceObjectListItem AS _MaintenanceObjectListItem ON /* join condition not captured in parsed metadata */
;