R_InspectionResultTP
Inspection Result TP
R_InspectionResultTP is a Transactional CDS View that provides data about "Inspection Result TP" in SAP S/4HANA. It reads from 1 data source (I_InspectionResult) and exposes 75 fields with key fields InspectionLot, InspPlanOperationInternalID, InspectionCharacteristic. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_InspectionResult | I_InspectionResult | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | R_InspectionOperationTP | _InspectionOperation | $projection.InspectionLot = _InspectionOperation.InspectionLot and $projection.InspPlanOperationInternalID = _InspectionOperation.InspPlanOperationInternalID |
| [1..1] | R_InspectionLotTP | _InspectionLot | $projection.InspectionLot = _InspectionLot.InspectionLot |
| [0..*] | R_InspectionResultValueTP | _InspectionResultValue | |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| EndUserText.label | Inspection Result TP | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (75)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | InspectionLot | InspectionLot | Inspection Lot | |
| KEY | InspPlanOperationInternalID | InspPlanOperationInternalID | Node Number | |
| KEY | InspectionCharacteristic | InspectionCharacteristic | Characteristic | |
| Inspector | Inspector | Inspector | ||
| InspectionResultStatus | InspectionResultStatus | Status | ||
| InspResultIsCompletionForced | InspResultIsCompletionForced | |||
| InspectionResultAttribute | InspectionResultAttribute | Name of attribute | ||
| InspectionResultOrigin | InspectionResultOrigin | Data Origin | ||
| InspectionValuationResult | InspectionValuationResult | Valuation | ||
| InspResultDynModifValuation | InspResultDynModifValuation | Dyn. Valuation | ||
| InspectionResultMeanValue | InspectionResultMeanValue | Mean Value | ||
| InspectionResultHasMeanValue | InspectionResultHasMeanValue | |||
| InspectionResultMaximumValue | InspectionResultMaximumValue | Max Valid Value | ||
| InspResultHasMaximumValue | InspResultHasMaximumValue | |||
| InspectionResultMinimumValue | InspectionResultMinimumValue | Min Valid Value | ||
| InspResultHasMinimumValue | InspResultHasMinimumValue | |||
| InspectionResultOriginalValue | InspectionResultOriginalValue | Original Value | ||
| InspResultValidValuesNumber | InspResultValidValuesNumber | Inspected | ||
| InspResultNmbrOfRecordedRslts | InspResultNmbrOfRecordedRslts | Recorded | ||
| InspectionResultText | InspectionResultText | |||
| InspectionResultHasLongText | InspectionResultHasLongText | Long text | ||
| CharacteristicAttributeCodeGrp | CharacteristicAttributeCodeGrp | Code Group | ||
| CharacteristicAttributeCode | CharacteristicAttributeCode | Code | ||
| CharcAttributeCodeVers | CharcAttributeCodeVers | Version | ||
| InspRsltFreeDefinedTestEquip | InspRsltFreeDefinedTestEquip | Information | ||
| InspRsltBelowToleranceValsNmbr | InspRsltBelowToleranceValsNmbr | Number Below | ||
| InspRsltAboveToleranceValsNmbr | InspRsltAboveToleranceValsNmbr | Number Above | ||
| InspRsltNonconformingValsNmbr | InspRsltNonconformingValsNmbr | Nonconforming | ||
| InspectionNumberOfDefects | InspectionNumberOfDefects | No. of Defects | ||
| InspRsltAboveToleranceFraction | InspRsltAboveToleranceFraction | Fraction Above | ||
| InspRsltBelowToleranceFraction | InspRsltBelowToleranceFraction | Fraction Below | ||
| InspResultVariance | InspResultVariance | Variance | ||
| InspResultHasVariance | InspResultHasVariance | |||
| CharacteristicAttributeCatalog | CharacteristicAttributeCatalog | Catalog Type | ||
| InspectionResultCatalog2 | InspectionResultCatalog2 | Catalog Type | ||
| InspectionResultCatalog3 | InspectionResultCatalog3 | Catalog Type | ||
| InspectionResultCatalog4 | InspectionResultCatalog4 | Catalog Type | ||
| InspectionResultCatalog5 | InspectionResultCatalog5 | Catalog Type | ||
| InspectionResultCode2 | InspectionResultCode2 | Code | ||
| InspectionResultCode3 | InspectionResultCode3 | Code | ||
| InspectionResultCode4 | InspectionResultCode4 | Code | ||
| InspectionResultCode5 | InspectionResultCode5 | Code | ||
| InspectionResultCode2Vers | InspectionResultCode2Vers | Version | ||
| InspectionResultCode3Vers | InspectionResultCode3Vers | Version | ||
| InspectionResultCode4Vers | InspectionResultCode4Vers | Version | ||
| InspectionResultCode5Vers | InspectionResultCode5Vers | Version | ||
| InspectionResultCodeGroup2 | InspectionResultCodeGroup2 | Code Group | ||
| InspectionResultCodeGroup3 | InspectionResultCodeGroup3 | Code Group | ||
| InspectionResultCodeGroup4 | InspectionResultCodeGroup4 | Code Group | ||
| InspectionResultCodeGroup5 | InspectionResultCodeGroup5 | Code Group | ||
| DefectClass | DefectClass | Defect Class | ||
| InspectionPartialSampleSize | InspectionPartialSampleSize | Partial Samples | ||
| InspectionStartDate | InspectionStartDate | Insp.Start Date | ||
| InspectionStartTime | InspectionStartTime | Insp.Start Time | ||
| InspectionEndDate | InspectionEndDate | |||
| InspectionEndTime | InspectionEndTime | Insp. End Time | ||
| CreatedByUser | CreatedByUser | User Name | ||
| CreationDate | CreationDate | Time Stamp | ||
| LastChangedByUser | LastChangedByUser | User Name | ||
| LastChangeDate | LastChangeDate | Time Stamp | ||
| ChangedDateTime | ChangedDateTime | Time Stamp | ||
| ChangedTime | ChangedTime | Changed at | ||
| CreationTime | CreationTime | Time of Change | ||
| _InspectionCharacteristic | _InspectionCharacteristic | |||
| _InspectionResultValue | _InspectionResultValue | |||
| _CharcAttributeCode | _CharcAttributeCode | |||
| _CharcAttributeCodeGrp | _CharcAttributeCodeGrp | |||
| _InspectionLot | _InspectionLot | |||
| _InspectionOperation | _InspectionOperation | |||
| _InspectionResultAttribute | _InspectionResultAttribute | |||
| _InspectionResultOrigin | _InspectionResultOrigin | |||
| _InspectionResultStatus | _InspectionResultStatus | |||
| _InspectionValuationResult | _InspectionValuationResult | |||
| _InspResultDynModifValuation | _InspResultDynModifValuation | |||
| _InspResultLongText | _InspResultLongText |
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 R_InspectionResultTP.
-- 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 R_InspectionResultTP AS
SELECT
InspectionLot,
InspPlanOperationInternalID,
InspectionCharacteristic,
Inspector,
InspectionResultStatus,
InspResultIsCompletionForced,
InspectionResultAttribute,
InspectionResultOrigin,
InspectionValuationResult,
InspResultDynModifValuation,
InspectionResultMeanValue,
InspectionResultHasMeanValue,
InspectionResultMaximumValue,
InspResultHasMaximumValue,
InspectionResultMinimumValue,
InspResultHasMinimumValue,
InspectionResultOriginalValue,
InspResultValidValuesNumber,
InspResultNmbrOfRecordedRslts,
InspectionResultText,
InspectionResultHasLongText,
CharacteristicAttributeCodeGrp,
CharacteristicAttributeCode,
CharcAttributeCodeVers,
InspRsltFreeDefinedTestEquip,
InspRsltBelowToleranceValsNmbr,
InspRsltAboveToleranceValsNmbr,
InspRsltNonconformingValsNmbr,
InspectionNumberOfDefects,
InspRsltAboveToleranceFraction,
InspRsltBelowToleranceFraction,
InspResultVariance,
InspResultHasVariance,
CharacteristicAttributeCatalog,
InspectionResultCatalog2,
InspectionResultCatalog3,
InspectionResultCatalog4,
InspectionResultCatalog5,
InspectionResultCode2,
InspectionResultCode3,
InspectionResultCode4,
InspectionResultCode5,
InspectionResultCode2Vers,
InspectionResultCode3Vers,
InspectionResultCode4Vers,
InspectionResultCode5Vers,
InspectionResultCodeGroup2,
InspectionResultCodeGroup3,
InspectionResultCodeGroup4,
InspectionResultCodeGroup5,
DefectClass,
InspectionPartialSampleSize,
InspectionStartDate,
InspectionStartTime,
InspectionEndDate,
InspectionEndTime,
CreatedByUser,
CreationDate,
LastChangedByUser,
LastChangeDate,
ChangedDateTime,
ChangedTime,
CreationTime
FROM I_InspectionResult
LEFT OUTER JOIN R_InspectionOperationTP AS _InspectionOperation ON InspectionLot = _InspectionOperation.InspectionLot AND InspPlanOperationInternalID = _InspectionOperation.InspPlanOperationInternalID -- association [1..1]
LEFT OUTER JOIN R_InspectionLotTP AS _InspectionLot ON InspectionLot = _InspectionLot.InspectionLot -- association [1..1]
LEFT OUTER JOIN R_InspectionResultValueTP AS _InspectionResultValue ON /* condition not available in parsed metadata */ -- association [0..*]
;
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