I_InspectionLotType

DDL: I_INSPECTIONLOTTYPE SQL: IINSPLOTTYPE Type: view BASIC Package: VDM_QM_INSPECTION

Inspection Type

I_InspectionLotType (Basic)

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

Inspection Type · Manufacturing

I_InspectionLotType is a Basic CDS View that provides data about "Inspection Type" in SAP S/4HANA. It reads from 1 data source (tq30) and exposes 6 fields with key field InspectionLotType. It has 2 associations to related views. It is exposed through 5 OData services (ASQL_F2361, ASQL_F2428, ASQL_F2649, ...). Part of development package VDM_QM_INSPECTION.

SAP Help Documentation

CategoryCDS Views for Quality Inspection
Purpose
This CDS view provides access to the definition of inspection types. This CDS view provides the data to answer the following business questions: Which inspection types are available in the system and what are their descriptions? How is each inspection type associated with specific bill of operations usage? 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 don't need any special authorization.

Structure
Important Fields Important fields in this view include the following: Field Name Description InspectionLotType Inspection Type

View on SAP Help Portal →

SAP API Hub

CategoryBasic
StateC1
Line of BusinessManufacturing
Application ComponentQM-IM-2CL
CapabilitiesData Source in SQL Select,Association Target for Defining CDS Entities,Data Source for Defining CDS Entities,Data Source for Search
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 provides access to the definition of inspection types.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
tq30 tq30 from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_InspectionLotTypeText _Text $projection.InspectionLotType = _Text.InspectionLotType
[0..1] I_Indicator _SelectedCodeSetHasSamePlant $projection.SelectedCodeSetHasSamePlant = _SelectedCodeSetHasSamePlant.IndicatorValue

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName IINSPLOTTYPE view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Inspection Type view
ObjectModel.compositionRoot true view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.representativeKey InspectionLotType view
Metadata.ignorePropagatedAnnotations true view
Search.searchable true view
ObjectModel.sapObjectNodeType.name InspectionLotType view

OData Services (5)

ServiceBindingVersionContractRelease
ASQL_F2361 ASQL_F2361 C2 NOT_RELEASED
ASQL_F2428 ASQL_F2428 C2 NOT_RELEASED
ASQL_F2649 ASQL_F2649 C2 NOT_RELEASED
ASQL_F2810 ASQL_F2810 C2 NOT_RELEASED
ASQL_F2914 ASQL_F2914 C2 NOT_RELEASED

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY InspectionLotType tq30 art Inspection Type
BillOfOperationsUsage tq30 pplverw Task List Usage
SelectedCodeSet tq30 vemenge Selected Set for Usage Decision
SelectedCodeSetHasSamePlant tq30 kzvewerks Selected Set Must Be Available in Plant
_Text _Text
_SelectedCodeSetHasSamePlant _SelectedCodeSetHasSamePlant

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_InspectionLotType.
-- 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: IINSPLOTTYPE

CREATE VIEW I_InspectionLotType AS
SELECT
  tq30.art AS InspectionLotType,
  tq30.pplverw AS BillOfOperationsUsage,
  tq30.vemenge AS SelectedCodeSet,
  tq30.kzvewerks AS SelectedCodeSetHasSamePlant
FROM tq30
LEFT OUTER JOIN I_InspectionLotTypeText AS _Text ON InspectionLotType = _Text.InspectionLotType  -- association [0..*]
LEFT OUTER JOIN I_Indicator AS _SelectedCodeSetHasSamePlant ON SelectedCodeSetHasSamePlant = _SelectedCodeSetHasSamePlant.IndicatorValue  -- association [0..1]
;