C_ProductInspTypeSetting
Inspection Type
C_ProductInspTypeSetting is a Consumption CDS View that provides data about "Inspection Type" in SAP S/4HANA. It reads from 1 data source (I_ProductInspTypeSttgWthDrftTP) and exposes 41 fields with key fields InspectionLotType, Product, Plant. It has 7 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ProductInspTypeSttgWthDrftTP | PlantQltyMgmtInspType | from |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_InspectionLotTypeText | _InspectionLotTypeText | $projection.InspectionLotType = _InspectionLotTypeText.InspectionLotType and _InspectionLotTypeText.Language = $session.system_language |
| [1..1] | C_Product | _ProductWD | $projection.Product = _ProductWD.Product |
| [1..1] | C_Productplantqtmanagement | _PlantQualityMgmt | $projection.Product = _PlantQualityMgmt.Product and $projection.Plant = _PlantQualityMgmt.Plant |
| [1..1] | C_ProductInspLotOriginVariant | _InspLotOriginVariant | $projection.InspectionLotType = _InspLotOriginVariant.InspectionLotType |
| [0..1] | I_InspLotSummaryControlText | _InspLotSummaryControl | $projection.InspLotSummaryControl = _InspLotSummaryControl.InspLotSummaryControl and $projection.inspectionlotorigin = _InspLotSummaryControl.InspectionLotOrigin and _InspLotSummaryControl.Language = $session.system_language |
| [0..1] | I_InspQltyScoreProcedureTxt | _InspQualityScoreProcedure | $projection.InspQualityScoreProcedure = _InspQualityScoreProcedure.InspQualityScoreProcedure and _InspQualityScoreProcedure.Language = $session.system_language |
| [0..1] | I_InspLotOfEWMSmmryCtrlText | _InspLotOfEWMSmmryCtrl | $projection.InspLotOfEWMSummaryControl = _InspLotOfEWMSmmryCtrl.InspLotOfEWMSummaryControl and _InspLotOfEWMSmmryCtrl.Language = $session.system_language |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CPRDPINSPTYPE | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Inspection Type | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.deleteEnabled | true | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| Metadata.allowExtensions | true | view |
Fields (41)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | InspectionLotType | InspectionLotType | Inspection Type | |
| KEY | Product | Product | Product Sold | |
| KEY | Plant | Plant | Valuation Area | |
| InspLotIsTaskListRequired | InspLotIsTaskListRequired | |||
| InspLotHasMaterialSpec | InspLotHasMaterialSpec | |||
| InspLotHasConfignSpecification | InspLotHasConfignSpecification | |||
| InspLotHasBatchCharc | InspLotHasBatchCharc | |||
| InspLotHasAutomSpecAssgmt | InspLotHasAutomSpecAssgmt | |||
| InspLotHasCharc | InspLotHasCharc | |||
| HasPostToInspectionStock | HasPostToInspectionStock | Post to insp. stk | ||
| InspLotIsAutomUsgeDcsnPossible | InspLotIsAutomUsgeDcsnPossible | |||
| SamplingProcedure | SamplingProcedure | |||
| InspLotDynamicRule | InspLotDynamicRule | |||
| InspLotSampleQuantityInPercent | InspLotSampleQuantityInPercent | |||
| InspectionLotIsFullInspection | InspectionLotIsFullInspection | |||
| InspLotSkipIsAllowed | InspLotSkipIsAllowed | |||
| InspLotHasManualSampleSize | InspLotHasManualSampleSize | |||
| InspLotIsSmplCalcMnlTriggered | InspLotIsSmplCalcMnlTriggered | |||
| InspLotIsSerialNmbrPossible | InspLotIsSerialNmbrPossible | |||
| InspLotDurationInDays | InspLotDurationInDays | |||
| InspLotSummaryControl | InspLotSummaryControl | |||
| InspQualityScoreProcedure | InspQualityScoreProcedure | |||
| InspLotAcceptedScrapRatioInPct | InspLotAcceptedScrapRatioInPct | |||
| InspectionLotHasAppraisalCosts | InspectionLotHasAppraisalCosts | |||
| QualityCostCollector | QualityCostCollector | |||
| ProdInspTypeSettingIsActive | ProdInspTypeSettingIsActive | |||
| InspTypeIsPrfrd | InspTypeIsPrfrd | |||
| InspLotHasHandlingUnit | InspLotHasHandlingUnit | |||
| InspLotHasMultipleSpec | InspLotHasMultipleSpec | |||
| InspLotOfEWMSummaryControl | InspLotOfEWMSummaryControl | |||
| InspectionLotOriginText | _InspLotOriginVariant | InspectionLotOriginText | ||
| InspectionLotOrigin | _InspLotOriginVariant | InspectionLotOrigin | ||
| _ProductWD | _ProductWD | |||
| _PlantQualityMgmt | _PlantQualityMgmt | |||
| _InspectionLotType | _InspectionLotType | |||
| _InspectionLotTypeText | _InspectionLotTypeText | |||
| _InspLotSummaryControl | _InspLotSummaryControl | |||
| _InspQualityScoreProcedure | _InspQualityScoreProcedure | |||
| _InspLotOfEWMSmmryCtrl | _InspLotOfEWMSmmryCtrl | |||
| _Plant | _Plant | |||
| _Product | _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 C_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: CPRDPINSPTYPE
CREATE VIEW C_ProductInspTypeSetting AS
SELECT
InspectionLotType,
Product,
Plant,
InspLotIsTaskListRequired,
InspLotHasMaterialSpec,
InspLotHasConfignSpecification,
InspLotHasBatchCharc,
InspLotHasAutomSpecAssgmt,
InspLotHasCharc,
HasPostToInspectionStock,
InspLotIsAutomUsgeDcsnPossible,
SamplingProcedure,
InspLotDynamicRule,
InspLotSampleQuantityInPercent,
InspectionLotIsFullInspection,
InspLotSkipIsAllowed,
InspLotHasManualSampleSize,
InspLotIsSmplCalcMnlTriggered,
InspLotIsSerialNmbrPossible,
InspLotDurationInDays,
InspLotSummaryControl,
InspQualityScoreProcedure,
InspLotAcceptedScrapRatioInPct,
InspectionLotHasAppraisalCosts,
QualityCostCollector,
ProdInspTypeSettingIsActive,
InspTypeIsPrfrd,
InspLotHasHandlingUnit,
InspLotHasMultipleSpec,
InspLotOfEWMSummaryControl,
_InspLotOriginVariant.InspectionLotOriginText AS InspectionLotOriginText,
_InspLotOriginVariant.InspectionLotOrigin AS InspectionLotOrigin
FROM I_ProductInspTypeSttgWthDrftTP AS PlantQltyMgmtInspType
LEFT OUTER JOIN I_InspectionLotTypeText AS _InspectionLotTypeText ON InspectionLotType = _InspectionLotTypeText.InspectionLotType AND _InspectionLotTypeText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN C_Product AS _ProductWD ON Product = _ProductWD.Product -- association [1..1]
LEFT OUTER JOIN C_Productplantqtmanagement AS _PlantQualityMgmt ON Product = _PlantQualityMgmt.Product AND Plant = _PlantQualityMgmt.Plant -- association [1..1]
LEFT OUTER JOIN C_ProductInspLotOriginVariant AS _InspLotOriginVariant ON InspectionLotType = _InspLotOriginVariant.InspectionLotType -- association [1..1]
LEFT OUTER JOIN I_InspLotSummaryControlText AS _InspLotSummaryControl ON InspLotSummaryControl = _InspLotSummaryControl.InspLotSummaryControl AND inspectionlotorigin = _InspLotSummaryControl.InspectionLotOrigin AND _InspLotSummaryControl.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_InspQltyScoreProcedureTxt AS _InspQualityScoreProcedure ON InspQualityScoreProcedure = _InspQualityScoreProcedure.InspQualityScoreProcedure AND _InspQualityScoreProcedure.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_InspLotOfEWMSmmryCtrlText AS _InspLotOfEWMSmmryCtrl ON InspLotOfEWMSummaryControl = _InspLotOfEWMSmmryCtrl.InspLotOfEWMSummaryControl AND _InspLotOfEWMSmmryCtrl.Language = $session.system_language -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA