I_ProductInspTypeSetting

DDL: I_PRODUCTINSPTYPESETTING SQL: IPRDCTINSPTPST Type: view BASIC Package: VDM_QM_PLANNING

Settings for Inspection Type in Product

I_ProductInspTypeSetting (Basic)

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

Manufacturing

I_ProductInspTypeSetting is a Basic CDS View that provides data about "Settings for Inspection Type in Product" in SAP S/4HANA. It reads from 1 data source (qmat) and exposes 33 fields with key fields InspectionLotType, Product, Plant. It has 3 associations to related views. Part of development package VDM_QM_PLANNING.

SAP API Hub

CategoryBasic
StateC1
Line of BusinessManufacturing
Application ComponentQM-PT-2CL
CapabilitiesData Source in SQL Select,Data Source for Defining CDS Entities,Association Target for Defining CDS Entities
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 settings for an inspection type of a product (material or service).</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
qmat qmat from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_InspectionLotType _InspectionLotType $projection.InspectionLotType = _InspectionLotType.InspectionLotType
[1..1] I_Product _Product $projection.Product = _Product.Product
[1..1] I_Plant _Plant $projection.Plant = _Plant.Plant

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IPRDCTINSPTPST view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Settings for Inspection Type in Product view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
Metadata.ignorePropagatedAnnotations true view

Fields (33)

KeyFieldSource TableSource FieldDescription
KEY InspectionLotType art Inspection Type
KEY Product matnr Material Number
KEY Plant werks Receiving Plant
InspLotIsTaskListRequired ppl Inspection with Task List
InspLotHasMaterialSpec spezueber Inspect with Material Specification
InspLotHasConfignSpecification conf Inspection Specifications from Configuration
InspLotHasBatchCharc tls Inspection Specifications from Batch Determination
InspLotHasAutomSpecAssgmt app Automatic Specification Assignment
InspLotHasCharc mer Inspect by Characteristics
HasPostToInspectionStock insmk Post to Inspection Stock
InspLotIsAutomUsgeDcsnPossible ave Automatic Usage Decision Planned
SamplingProcedure stichprver Sampling Procedure
InspLotDynamicRule dynregel Dynamic Modification Rule
InspLotSampleQuantityInPercent sproz Inspection Percentage
InspectionLotIsFullInspection hpz 100% Inspection
InspLotSkipIsAllowed dyn Skips Allowed
InspLotHasManualSampleSize mpb Enter Sample Manually
InspLotIsSmplCalcMnlTriggered mst Trigger Sample Calculation Manually
InspLotIsSerialNmbrPossible ein Serial Numbers Possible for Inspection Lot
InspLotDurationInDays mpdau Average Inspection Duration
InspLotSummaryControl chg Control of Inspection Lot Creation (Lot Summary)
InspQualityScoreProcedure qkzverf Procedure for Calculating Quality Score
InspLotAcceptedScrapRatioInPct qpmat Allowed Share of Scrap (Percent) in Inspection Lot
InspectionLotHasAppraisalCosts kzprfkost Record Appraisal Costs in Individual QM Order
QualityCostCollector aufnr_co Order Number for Recording Appraisal Costs
ProdInspTypeSettingIsActive aktiv Inspection Type - Material Combination Is Active
InspTypeIsPrfrd apa Preferred Inspection Type
InspLotHasHandlingUnit afr Inspection for Handling Unit
InspLotHasMultipleSpec ms_flag Indicator: Multiple Specifications
InspLotOfEWMSummaryControl chg_orig_17 Inspection Lot Summary (Warehouse-Managed Stock)
_InspectionLotType _InspectionLotType
_Product _Product
_Plant _Plant

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_ProductInspTypeSetting.
-- 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: IPRDCTINSPTPST

CREATE VIEW I_ProductInspTypeSetting AS
SELECT
  art AS InspectionLotType,
  matnr AS Product,
  werks AS Plant,
  ppl AS InspLotIsTaskListRequired,
  spezueber AS InspLotHasMaterialSpec,
  conf AS InspLotHasConfignSpecification,
  tls AS InspLotHasBatchCharc,
  app AS InspLotHasAutomSpecAssgmt,
  mer AS InspLotHasCharc,
  insmk AS HasPostToInspectionStock,
  ave AS InspLotIsAutomUsgeDcsnPossible,
  stichprver AS SamplingProcedure,
  dynregel AS InspLotDynamicRule,
  sproz AS InspLotSampleQuantityInPercent,
  hpz AS InspectionLotIsFullInspection,
  dyn AS InspLotSkipIsAllowed,
  mpb AS InspLotHasManualSampleSize,
  mst AS InspLotIsSmplCalcMnlTriggered,
  ein AS InspLotIsSerialNmbrPossible,
  mpdau AS InspLotDurationInDays,
  chg AS InspLotSummaryControl,
  qkzverf AS InspQualityScoreProcedure,
  qpmat AS InspLotAcceptedScrapRatioInPct,
  kzprfkost AS InspectionLotHasAppraisalCosts,
  aufnr_co AS QualityCostCollector,
  aktiv AS ProdInspTypeSettingIsActive,
  apa AS InspTypeIsPrfrd,
  afr AS InspLotHasHandlingUnit,
  ms_flag AS InspLotHasMultipleSpec,
  chg_orig_17 AS InspLotOfEWMSummaryControl
FROM qmat
LEFT OUTER JOIN I_InspectionLotType AS _InspectionLotType ON InspectionLotType = _InspectionLotType.InspectionLotType  -- association [1..1]
LEFT OUTER JOIN I_Product AS _Product ON Product = _Product.Product  -- association [1..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [1..1]
;