I_InspLotSerialNumber

DDL: I_INSPLOTSERIALNUMBER Type: view_entity COMPOSITE Package: VDM_QM_INSPECTION

Serial Numbers of Inspection Lot

I_InspLotSerialNumber (Composite)

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

Manufacturing

I_InspLotSerialNumber is a Composite CDS View that provides data about "Serial Numbers of Inspection Lot" in SAP S/4HANA. It reads from 2 data sources (I_MaintObjListInspectionLot, I_MaintenanceItemObject) and exposes 6 fields with key fields InspectionLot, MaintenanceItemObjectList, SerialNumber. It is exposed through 1 OData service (ASQL_F1685A). Part of development package VDM_QM_INSPECTION.

SAP Help Documentation

CategoryCDS Views for Quality Inspection
Purpose
This CDS view retrieves the serial numbers of an inspection lot. This CDS view provides the data to answer the following business questions: Which serial numbers are assigned to an inspection lot? Which serial numbers are assigned to the inspection lots of a specific inspection type? 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 have one of the following business catalogs assigned: SAP_QM_BC_INSPECTION_LOT_PC (QM - Inspection Lots) SAP_QM_BC_RSLT_RECG_DSP_PC (QM - Inspection Results Display) SAP_QM_BC_USAGE_DECISION_PC (QM - Usage Decisions) SAP_BCR_A4C_DEV_TST_QM_INSP_PC (Development - API Test - QM - Quality Inspection)

Structure
Fields Used for Filtering The main filters are as follows: InspectionLot : This parameter is used to filter for serial numbers of a specific inspection lot. Plant : This parameter is used to filter for serial numbers of inspection lots in a plant. InspectionLotType : This parameter is used to filter for serial numbers of inspection lots of a specific inspection type. Further Important Fields Important fields in this view include the following: Field Name Description SerialNumber Serial number MaintenanceObjectList Number identifying the object list

View on SAP Help Portal →

SAP API Hub

CategoryComposite
StateC1
Line of BusinessManufacturing
Application ComponentQM-IM-2CL
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Released
PackageManufacturing for SAP S/4HANA Cloud Public Edition
Description <p>This CDS view retrieves the serial numbers of an inspection lot.</p> <p>This CDS view provides the data to answer the following business questions:</p> <ul> <li>Which serial numbers are assigned to an inspection lot?</li> <li>Which serial numbers are assigned to the inspection lots of a specific inspection type?</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_MaintObjListInspectionLot _sernum from
I_MaintenanceItemObject I_MaintenanceItemObject inner

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label Serial Numbers of Inspection Lot view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
VDM.viewType #COMPOSITE view
Metadata.ignorePropagatedAnnotations true view

OData Services (1)

ServiceBindingVersionContractRelease
ASQL_F1685A ASQL_F1685A C2 NOT_RELEASED

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY InspectionLot I_MaintObjListInspectionLot InspectionLot Inspection Lot Number
KEY MaintenanceItemObjectList I_MaintenanceItemObject MaintenanceItemObjectList Object list number
KEY SerialNumber I_MaintenanceItemObject SerialNumber Serial Number
InspectionLotType Inspection Type
Plant Plant
_InspectionLot I_MaintObjListInspectionLot _InspectionLot

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_InspLotSerialNumber.
-- 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_InspLotSerialNumber AS
SELECT
  _sernum.InspectionLot AS InspectionLot,
  I_MaintenanceItemObject.MaintenanceItemObjectList AS MaintenanceItemObjectList,
  I_MaintenanceItemObject.SerialNumber AS SerialNumber,
  _sernum._InspectionLot.InspectionLotType AS InspectionLotType,
  _sernum._InspectionLot.Plant AS Plant,
  _sernum._InspectionLot AS _InspectionLot
FROM I_MaintObjListInspectionLot AS _sernum
INNER JOIN I_MaintenanceItemObject ON /* join condition not captured in parsed metadata */
;