A_InspectionResult
Summarized Inspection Results
A_InspectionResult is a Composite CDS View that provides data about "Summarized Inspection Results" in SAP S/4HANA. It reads from 1 data source (I_InspectionResultTP) and exposes 66 fields with key fields InspectionLot, InspPlanOperationInternalID, InspectionCharacteristic. It has 4 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_InspectionResultTP | _InspResult | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | A_InspectionLot | _InspectionLot | $projection.InspectionLot = _InspectionLot.InspectionLot |
| [1..1] | A_InspectionOperation | _InspectionOperation | $projection.InspectionLot = _InspectionOperation.InspectionLot and $projection.InspPlanOperationInternalID = _InspectionOperation.InspPlanOperationInternalID |
| [1..1] | A_InspectionCharacteristic | _InspCharc | $projection.InspectionLot = _InspCharc.InspectionLot and $projection.InspPlanOperationInternalID = _InspCharc.InspPlanOperationInternalID and $projection.InspectionCharacteristic = _InspCharc.InspectionCharacteristic |
| [1..1] | E_InspectionResult | _Extension | $projection.InspectionLot = _Extension.InspectionLot and $projection.InspPlanOperationInternalID = _Extension.InspPlanOperationInternalID and $projection.InspectionCharacteristic = _Extension.InspectionCharacteristic |
Annotations (17)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | AINSPRESULT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| EndUserText.label | Summarized Inspection Results | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.deleteEnabled | false | view | |
| ObjectModel.entityChangeStateId | ChangedDateTime | view |
Fields (66)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | InspectionLot | I_InspectionResultTP | InspectionLot | Inspection Lot |
| KEY | InspPlanOperationInternalID | I_InspectionResultTP | InspPlanOperationInternalID | |
| KEY | InspectionCharacteristic | I_InspectionResultTP | InspectionCharacteristic | |
| InspectionResultStatus | I_InspectionResultTP | InspectionResultStatus | ||
| InspectionResultAttribute | I_InspectionResultTP | InspectionResultAttribute | ||
| InspectionResultOrigin | I_InspectionResultTP | InspectionResultOrigin | ||
| Inspector | I_InspectionResultTP | Inspector | Inspector | |
| InspectionValuationResult | I_InspectionResultTP | InspectionValuationResult | ||
| InspectionResultMeanValue | I_InspectionResultTP | InspectionResultMeanValue | ||
| InspResultFrmtdMeanValue | I_InspectionResultTP | InspResultFrmtdMeanValue | ||
| InspectionResultHasMeanValue | I_InspectionResultTP | InspectionResultHasMeanValue | ||
| InspectionResultMaximumValue | I_InspectionResultTP | InspectionResultMaximumValue | ||
| InspResultFrmtdMaximumValue | I_InspectionResultTP | InspResultFrmtdMaximumValue | ||
| InspResultHasMaximumValue | I_InspectionResultTP | InspResultHasMaximumValue | ||
| InspectionResultMinimumValue | I_InspectionResultTP | InspectionResultMinimumValue | ||
| InspResultFrmtdMinimumValue | I_InspectionResultTP | InspResultFrmtdMinimumValue | ||
| InspResultHasMinimumValue | I_InspectionResultTP | InspResultHasMinimumValue | ||
| InspectionResultOriginalValue | I_InspectionResultTP | InspectionResultOriginalValue | ||
| InspResultValidValuesNumber | I_InspectionResultTP | InspResultValidValuesNumber | ||
| InspectionResultText | I_InspectionResultTP | InspectionResultText | ||
| InspectionResultHasLongText | I_InspectionResultTP | InspectionResultHasLongText | ||
| CharacteristicAttributeCatalog | I_InspectionResultTP | CharacteristicAttributeCatalog | ||
| CharacteristicAttributeCodeGrp | I_InspectionResultTP | CharacteristicAttributeCodeGrp | ||
| CharacteristicAttributeCode | I_InspectionResultTP | CharacteristicAttributeCode | ||
| InspRsltFreeDefinedTestEquip | I_InspectionResultTP | InspRsltFreeDefinedTestEquip | ||
| InspRsltBelowToleranceValsNmbr | I_InspectionResultTP | InspRsltBelowToleranceValsNmbr | ||
| InspRsltAboveToleranceValsNmbr | I_InspectionResultTP | InspRsltAboveToleranceValsNmbr | ||
| InspRsltNonconformingValsNmbr | I_InspectionResultTP | InspRsltNonconformingValsNmbr | ||
| InspectionNumberOfDefects | I_InspectionResultTP | InspectionNumberOfDefects | ||
| DefectClass | I_InspectionResultTP | DefectClass | Defect Class | |
| InspRsltAboveToleranceFraction | I_InspectionResultTP | InspRsltAboveToleranceFraction | ||
| InspRsltFrmtdAbvTolFraction | I_InspectionResultTP | InspRsltFrmtdAbvTolFraction | ||
| InspRsltBelowToleranceFraction | I_InspectionResultTP | InspRsltBelowToleranceFraction | ||
| InspRsltFrmtdBelowTolFraction | I_InspectionResultTP | InspRsltFrmtdBelowTolFraction | ||
| InspResultVariance | I_InspectionResultTP | InspResultVariance | ||
| InspResultFrmtdVariance | I_InspectionResultTP | InspResultFrmtdVariance | ||
| InspectionResultCatalog2 | I_InspectionResultTP | InspectionResultCatalog2 | ||
| InspectionResultCatalog3 | I_InspectionResultTP | InspectionResultCatalog3 | ||
| InspectionResultCatalog4 | I_InspectionResultTP | InspectionResultCatalog4 | ||
| InspectionResultCatalog5 | I_InspectionResultTP | InspectionResultCatalog5 | ||
| InspectionResultCode2 | I_InspectionResultTP | InspectionResultCode2 | ||
| InspectionResultCode3 | I_InspectionResultTP | InspectionResultCode3 | ||
| InspectionResultCode4 | I_InspectionResultTP | InspectionResultCode4 | ||
| InspectionResultCode5 | I_InspectionResultTP | InspectionResultCode5 | ||
| InspectionResultCodeGroup2 | I_InspectionResultTP | InspectionResultCodeGroup2 | ||
| InspectionResultCodeGroup3 | I_InspectionResultTP | InspectionResultCodeGroup3 | ||
| InspectionResultCodeGroup4 | I_InspectionResultTP | InspectionResultCodeGroup4 | ||
| InspectionResultCodeGroup5 | I_InspectionResultTP | InspectionResultCodeGroup5 | ||
| InspectionPartialSampleSize | I_InspectionResultTP | InspectionPartialSampleSize | ||
| InspectionStartDate | I_InspectionResultTP | InspectionStartDate | ||
| InspectionStartTime | I_InspectionResultTP | InspectionStartTime | ||
| InspectionEndDate | I_InspectionResultTP | InspectionEndDate | ||
| InspectionEndTime | I_InspectionResultTP | InspectionEndTime | ||
| CreatedByUser | I_InspectionResultTP | CreatedByUser | User Name | |
| CreationDate | I_InspectionResultTP | CreationDate | Time Stamp | |
| LastChangedByUser | I_InspectionResultTP | LastChangedByUser | User Name | |
| LastChangeDate | I_InspectionResultTP | LastChangeDate | Time Stamp | |
| ChangedDateTime | I_InspectionResultTP | ChangedDateTime | Time Stamp | |
| Plant | I_InspectionResultTP | Plant | Valuation Area | |
| IsBusinessPurposeCompleted | I_InspectionResultTP | IsBusinessPurposeCompleted | Purpose Completed | |
| WorkCenter | I_InspectionResultTP | WorkCenter | Work Center | |
| InspectionLotType | I_InspectionResultTP | InspectionLotType | Inspection Type | |
| MatlQualityAuthorizationGroup | I_InspectionResultTP | MatlQualityAuthorizationGroup | QM Matl Auth. | |
| _InspCharc | _InspCharc | |||
| _InspectionLot | _InspectionLot | |||
| _InspectionOperation | _InspectionOperation |
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 A_InspectionResult.
-- 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: AINSPRESULT
CREATE VIEW A_InspectionResult AS
SELECT
_InspResult.InspectionLot AS InspectionLot,
_InspResult.InspPlanOperationInternalID AS InspPlanOperationInternalID,
_InspResult.InspectionCharacteristic AS InspectionCharacteristic,
_InspResult.InspectionResultStatus AS InspectionResultStatus,
_InspResult.InspectionResultAttribute AS InspectionResultAttribute,
_InspResult.InspectionResultOrigin AS InspectionResultOrigin,
_InspResult.Inspector AS Inspector,
_InspResult.InspectionValuationResult AS InspectionValuationResult,
_InspResult.InspectionResultMeanValue AS InspectionResultMeanValue,
_InspResult.InspResultFrmtdMeanValue AS InspResultFrmtdMeanValue,
_InspResult.InspectionResultHasMeanValue AS InspectionResultHasMeanValue,
_InspResult.InspectionResultMaximumValue AS InspectionResultMaximumValue,
_InspResult.InspResultFrmtdMaximumValue AS InspResultFrmtdMaximumValue,
_InspResult.InspResultHasMaximumValue AS InspResultHasMaximumValue,
_InspResult.InspectionResultMinimumValue AS InspectionResultMinimumValue,
_InspResult.InspResultFrmtdMinimumValue AS InspResultFrmtdMinimumValue,
_InspResult.InspResultHasMinimumValue AS InspResultHasMinimumValue,
_InspResult.InspectionResultOriginalValue AS InspectionResultOriginalValue,
_InspResult.InspResultValidValuesNumber AS InspResultValidValuesNumber,
_InspResult.InspectionResultText AS InspectionResultText,
_InspResult.InspectionResultHasLongText AS InspectionResultHasLongText,
_InspResult.CharacteristicAttributeCatalog AS CharacteristicAttributeCatalog,
_InspResult.CharacteristicAttributeCodeGrp AS CharacteristicAttributeCodeGrp,
_InspResult.CharacteristicAttributeCode AS CharacteristicAttributeCode,
_InspResult.InspRsltFreeDefinedTestEquip AS InspRsltFreeDefinedTestEquip,
_InspResult.InspRsltBelowToleranceValsNmbr AS InspRsltBelowToleranceValsNmbr,
_InspResult.InspRsltAboveToleranceValsNmbr AS InspRsltAboveToleranceValsNmbr,
_InspResult.InspRsltNonconformingValsNmbr AS InspRsltNonconformingValsNmbr,
_InspResult.InspectionNumberOfDefects AS InspectionNumberOfDefects,
_InspResult.DefectClass AS DefectClass,
_InspResult.InspRsltAboveToleranceFraction AS InspRsltAboveToleranceFraction,
_InspResult.InspRsltFrmtdAbvTolFraction AS InspRsltFrmtdAbvTolFraction,
_InspResult.InspRsltBelowToleranceFraction AS InspRsltBelowToleranceFraction,
_InspResult.InspRsltFrmtdBelowTolFraction AS InspRsltFrmtdBelowTolFraction,
_InspResult.InspResultVariance AS InspResultVariance,
_InspResult.InspResultFrmtdVariance AS InspResultFrmtdVariance,
_InspResult.InspectionResultCatalog2 AS InspectionResultCatalog2,
_InspResult.InspectionResultCatalog3 AS InspectionResultCatalog3,
_InspResult.InspectionResultCatalog4 AS InspectionResultCatalog4,
_InspResult.InspectionResultCatalog5 AS InspectionResultCatalog5,
_InspResult.InspectionResultCode2 AS InspectionResultCode2,
_InspResult.InspectionResultCode3 AS InspectionResultCode3,
_InspResult.InspectionResultCode4 AS InspectionResultCode4,
_InspResult.InspectionResultCode5 AS InspectionResultCode5,
_InspResult.InspectionResultCodeGroup2 AS InspectionResultCodeGroup2,
_InspResult.InspectionResultCodeGroup3 AS InspectionResultCodeGroup3,
_InspResult.InspectionResultCodeGroup4 AS InspectionResultCodeGroup4,
_InspResult.InspectionResultCodeGroup5 AS InspectionResultCodeGroup5,
_InspResult.InspectionPartialSampleSize AS InspectionPartialSampleSize,
_InspResult.InspectionStartDate AS InspectionStartDate,
_InspResult.InspectionStartTime AS InspectionStartTime,
_InspResult.InspectionEndDate AS InspectionEndDate,
_InspResult.InspectionEndTime AS InspectionEndTime,
_InspResult.CreatedByUser AS CreatedByUser,
_InspResult.CreationDate AS CreationDate,
_InspResult.LastChangedByUser AS LastChangedByUser,
_InspResult.LastChangeDate AS LastChangeDate,
_InspResult.ChangedDateTime AS ChangedDateTime,
_InspResult.Plant AS Plant,
_InspResult.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted,
_InspResult.WorkCenter AS WorkCenter,
_InspResult.InspectionLotType AS InspectionLotType,
_InspResult.MatlQualityAuthorizationGroup AS MatlQualityAuthorizationGroup
FROM I_InspectionResultTP AS _InspResult
LEFT OUTER JOIN A_InspectionLot AS _InspectionLot ON InspectionLot = _InspectionLot.InspectionLot -- association [1..1]
LEFT OUTER JOIN A_InspectionOperation AS _InspectionOperation ON InspectionLot = _InspectionOperation.InspectionLot AND InspPlanOperationInternalID = _InspectionOperation.InspPlanOperationInternalID -- association [1..1]
LEFT OUTER JOIN A_InspectionCharacteristic AS _InspCharc ON InspectionLot = _InspCharc.InspectionLot AND InspPlanOperationInternalID = _InspCharc.InspPlanOperationInternalID AND InspectionCharacteristic = _InspCharc.InspectionCharacteristic -- association [1..1]
LEFT OUTER JOIN E_InspectionResult AS _Extension ON InspectionLot = _Extension.InspectionLot AND InspPlanOperationInternalID = _Extension.InspPlanOperationInternalID AND InspectionCharacteristic = _Extension.InspectionCharacteristic -- association [1..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