C_InspSubsetCharcResult

DDL: C_INSPSUBSETCHARCRESULT SQL: CINSPSUBCHARCRES Type: view CONSUMPTION Package: ODATA_QM_INSPSUBSET_RR

IPRR: Inspection Point Results

C_InspSubsetCharcResult is a Consumption CDS View that provides data about "IPRR: Inspection Point Results" in SAP S/4HANA. It reads from 1 data source (I_InspSubsetCharcResultTP) and exposes 118 fields with key fields InspectionLot, InspPlanOperationInternalID, InspectionSubsetInternalID, InspectionCharacteristic. It has 4 associations to related views. Part of development package ODATA_QM_INSPSUBSET_RR.

Data Sources (1)

SourceAliasJoin Type
I_InspSubsetCharcResultTP InspSubsetCharcResult from

Associations (4)

CardinalityTargetAliasCondition
[0..*] C_InspCharcSubsetResults _InspCharcSubsetResults $projection.InspectionLot = _InspCharcSubsetResults.InspectionLot and $projection.InspPlanOperationInternalID = _InspCharcSubsetResults.InspPlanOperationInternalID and $projection.InspectionCharacteristic = _InspCharcSubsetResults.InspectionCharacteristic
[0..*] C_Chargroupcode_Valuehelp _Chargroupcode_Valuehelp $projection.SelectedCodeSetPlant = _Chargroupcode_Valuehelp.SelectedCodeSetPlant and $projection.SelectedCodeSet = _Chargroupcode_Valuehelp.SelectedCodeSet and $projection.InspectionLot = _Chargroupcode_Valuehelp.InspectionLot and $projection.InspPlanOperationInternalID = _Chargroupcode_Valuehelp.InspPlanOperationInternalID and $projection.InspectionCharacteristic = _Chargroupcode_Valuehelp.InspectionCharacteristic
[0..*] I_Inspectionresultstatustext _InspectionResultStatusText $projection.InspectionResultStatus = _InspectionResultStatusText.InspectionResultStatus
[0..*] I_Inspectionresultstatustext _InspCharacteristicStatusText $projection.InspectionCharacteristicStatus = _InspCharacteristicStatusText.InspectionResultStatus

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName CINSPSUBCHARCRES view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label IPRR: Inspection Point Results view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view

Fields (118)

KeyFieldSource TableSource FieldDescription
KEY InspectionLot I_InspSubsetCharcResultTP InspectionLot Inspection Lot
KEY InspPlanOperationInternalID I_InspSubsetCharcResultTP InspPlanOperationInternalID
KEY InspectionSubsetInternalID I_InspSubsetCharcResultTP InspectionSubsetInternalID
KEY InspectionCharacteristic I_InspSubsetCharcResultTP InspectionCharacteristic
InspectionCharacteristicStatus I_InspSubsetCharcResultTP InspectionCharacteristicStatus
QualityControlChart I_InspSubsetCharcResultTP QualityControlChart
InspSampleAcceptanceNumber I_InspSubsetCharcResultTP InspSampleAcceptanceNumber
InspSampleRejectionNumber I_InspSubsetCharcResultTP InspSampleRejectionNumber
InspSampleValuationRule I_InspSubsetCharcResultTP InspSampleValuationRule
InspectionSampleSize I_InspSubsetCharcResultTP InspectionSampleSize
InspLotDynRuleStage I_InspSubsetCharcResultTP InspLotDynRuleStage
ChangedDateTime I_InspSubsetCharcResultTP ChangedDateTime Time Stamp
LastChangedByUser I_InspSubsetCharcResultTP LastChangedByUser User Name
CreatedByUser I_InspSubsetCharcResultTP CreatedByUser User Name
InspectionSeverity I_InspSubsetCharcResultTP InspectionSeverity
Inspector I_InspSubsetCharcResultTP Inspector Inspector
InspectionResultStatus I_InspSubsetCharcResultTP InspectionResultStatus
InspectionResultOrigin I_InspSubsetCharcResultTP InspectionResultOrigin
InspectionResultAttribute I_InspSubsetCharcResultTP InspectionResultAttribute
InspectionValuationResult I_InspSubsetCharcResultTP InspectionValuationResult
InspectionResultMeanValue I_InspSubsetCharcResultTP InspectionResultMeanValue
InspectionResultHasMeanValue I_InspSubsetCharcResultTP InspectionResultHasMeanValue
InspectionResultMaximumValue I_InspSubsetCharcResultTP InspectionResultMaximumValue
InspResultHasMaximumValue I_InspSubsetCharcResultTP InspResultHasMaximumValue
InspectionResultMinimumValue I_InspSubsetCharcResultTP InspectionResultMinimumValue
InspResultHasMinimumValue I_InspSubsetCharcResultTP InspResultHasMinimumValue
InspectionResultOriginalValue I_InspSubsetCharcResultTP InspectionResultOriginalValue
InspResultValidValuesNumber I_InspSubsetCharcResultTP InspResultValidValuesNumber
InspectionResultText I_InspSubsetCharcResultTP InspectionResultText
InspectionResultHasLongText I_InspSubsetCharcResultTP InspectionResultHasLongText
Language I_InspSubsetCharcResultTP Language Report Text Language
InspRsltFreeDefinedTestEquip I_InspSubsetCharcResultTP InspRsltFreeDefinedTestEquip
InspRsltBelowToleranceValsNmbr I_InspSubsetCharcResultTP InspRsltBelowToleranceValsNmbr
InspRsltAboveToleranceValsNmbr I_InspSubsetCharcResultTP InspRsltAboveToleranceValsNmbr
InspRsltNonconformingValsNmbr I_InspSubsetCharcResultTP InspRsltNonconformingValsNmbr
InspRsltAboveToleranceFraction I_InspSubsetCharcResultTP InspRsltAboveToleranceFraction
InspRsltBelowToleranceFraction I_InspSubsetCharcResultTP InspRsltBelowToleranceFraction
InspResultVariance I_InspSubsetCharcResultTP InspResultVariance
CharacteristicAttributeCodeGrp I_InspSubsetCharcResultTP CharacteristicAttributeCodeGrp
InspectionResultCodeGroup2 I_InspSubsetCharcResultTP InspectionResultCodeGroup2
InspectionResultCodeGroup3 I_InspSubsetCharcResultTP InspectionResultCodeGroup3
InspectionResultCodeGroup4 I_InspSubsetCharcResultTP InspectionResultCodeGroup4
InspectionResultCodeGroup5 I_InspSubsetCharcResultTP InspectionResultCodeGroup5
CharacteristicAttributeCode I_InspSubsetCharcResultTP CharacteristicAttributeCode
InspectionResultCode2 I_InspSubsetCharcResultTP InspectionResultCode2
InspectionResultCode3 I_InspSubsetCharcResultTP InspectionResultCode3
InspectionResultCode4 I_InspSubsetCharcResultTP InspectionResultCode4
InspectionResultCode5 I_InspSubsetCharcResultTP InspectionResultCode5
CharacteristicAttributeCatalog I_InspSubsetCharcResultTP CharacteristicAttributeCatalog
InspectionResultCatalog2 I_InspSubsetCharcResultTP InspectionResultCatalog2
InspectionResultCatalog3 I_InspSubsetCharcResultTP InspectionResultCatalog3
InspectionResultCatalog4 I_InspSubsetCharcResultTP InspectionResultCatalog4
InspectionResultCatalog5 I_InspSubsetCharcResultTP InspectionResultCatalog5
InspSpecAddlDecimalPlaces I_InspSubsetCharcResultTP InspSpecAddlDecimalPlaces
InspSpecSummarizedDcmlPlaces I_InspSubsetCharcResultTP InspSpecSummarizedDcmlPlaces
InspectionOperation I_InspSubsetCharcResultTP InspectionOperation
InspCharAcceptedCount InspCharAcceptedCount
InspCharRejectedCount InspCharRejectedCount
CharcStatusName CharcStatusName
InspectionSpecificationText InspectionSpecificationText
HasInspCharcPrtlSmpl HasInspCharcPrtlSmpl
InspCharacteristicSampleUnit InspCharacteristicSampleUnit
QuantityUnit QuantityUnit Unit of measure
InspLotTestEquipInternalID InspLotTestEquipInternalID
InspectionScope InspectionScope
InspectionMethod InspectionMethod Insp. Method
InspectionMethodText InspectionMethodText
InspSpecDecimalPlaces InspSpecDecimalPlaces
InspSpecHasTargetValue InspSpecHasTargetValue
InspSpecHasUpperLimit InspSpecHasUpperLimit
InspSpecHasLowerLimit InspSpecHasLowerLimit
InspectionMethodPlant InspectionMethodPlant
InspectionSpecification InspectionSpecification Master IC
InspectionMethodVersion InspectionMethodVersion
InspCharacteristicSampleSize InspCharacteristicSampleSize
InspSpecSampleQuantityFactor InspSpecSampleQuantityFactor
InspSpecControlIndicators InspSpecControlIndicators
InspSpecIsMeasuredValueRqd InspSpecIsMeasuredValueRqd
InspSpecTargetValue InspSpecTargetValue Target Value
InspSpecUpperLimit InspSpecUpperLimit Upper Limit
InspSpecLowerLimit InspSpecLowerLimit Lower Limit
InspectionSpecificationUnit InspectionSpecificationUnit Unit of Meas.
UnitOfMeasureTechnicalName UnitOfMeasureTechnicalName Technical
InspectionSpecificationPlant InspectionSpecificationPlant
InspectionSpecificationVersion InspectionSpecificationVersion
SelectedCodeSet SelectedCodeSet CodeGrp/SelSet
SelectedCodeSetPlant SelectedCodeSetPlant
SelectedCodeSetText SelectedCodeSetText
InspectionResultAttributeText InspectionResultAttributeText
CharacteristicAttributeCodeTxt CharacteristicAttributeCodeTxt
InspectionNonconformingRatio
InspSpecIsQuantitative InspSpecIsQuantitative Quant.charac.
InspSpecIsLongTermInspection InspSpecIsLongTermInspection
InspSpecRecordingType InspSpecRecordingType
InspSpecCharcCategory InspSpecCharcCategory
InspSpecResultCalculation InspSpecResultCalculation
InspResultValueCount InspResultValueCount
InspSpecImportanceCode InspSpecImportanceCode
InspSpecImportanceCodeText InspSpecImportanceCodeText
InspResultIsDocumentationRqd InspResultIsDocumentationRqd
InspSpecHasFormula InspSpecHasFormula
_CharcAttributeCode _CharcAttributeCode
_InspCharcSubsetResults _InspCharcSubsetResults
_InspCharacteristicStatus _InspCharacteristicStatus
_InspCharacteristicStatusText _InspCharacteristicStatusText
_InspectionCharacteristic _InspectionCharacteristic
_Chargroupcode_Valuehelp _Chargroupcode_Valuehelp
_InspectionLot _InspectionLot
_InspectionOperation _InspectionOperation
_InspectionResultAttribute _InspectionResultAttribute
_InspectionResultOrigin _InspectionResultOrigin
_InspectionResultStatus _InspectionResultStatus
_InspectionResultStatusText _InspectionResultStatusText
_InspectionSeverity _InspectionSeverity
_InspectionValuationResult _InspectionValuationResult
_InspectionValuationRsltTxt _InspectionValuationRsltTxt
_InspectionSubset _InspectionSubset
_InspectionResultValue _InspectionResultValue

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_InspSubsetCharcResult.
-- 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: CINSPSUBCHARCRES

CREATE VIEW C_InspSubsetCharcResult AS
SELECT
  InspSubsetCharcResult.InspectionLot AS InspectionLot,
  InspSubsetCharcResult.InspPlanOperationInternalID AS InspPlanOperationInternalID,
  InspSubsetCharcResult.InspectionSubsetInternalID AS InspectionSubsetInternalID,
  InspSubsetCharcResult.InspectionCharacteristic AS InspectionCharacteristic,
  InspSubsetCharcResult.InspectionCharacteristicStatus AS InspectionCharacteristicStatus,
  InspSubsetCharcResult.QualityControlChart AS QualityControlChart,
  InspSubsetCharcResult.InspSampleAcceptanceNumber AS InspSampleAcceptanceNumber,
  InspSubsetCharcResult.InspSampleRejectionNumber AS InspSampleRejectionNumber,
  InspSubsetCharcResult.InspSampleValuationRule AS InspSampleValuationRule,
  InspSubsetCharcResult.InspectionSampleSize AS InspectionSampleSize,
  InspSubsetCharcResult.InspLotDynRuleStage AS InspLotDynRuleStage,
  InspSubsetCharcResult.ChangedDateTime AS ChangedDateTime,
  InspSubsetCharcResult.LastChangedByUser AS LastChangedByUser,
  InspSubsetCharcResult.CreatedByUser AS CreatedByUser,
  InspSubsetCharcResult.InspectionSeverity AS InspectionSeverity,
  InspSubsetCharcResult.Inspector AS Inspector,
  InspSubsetCharcResult.InspectionResultStatus AS InspectionResultStatus,
  InspSubsetCharcResult.InspectionResultOrigin AS InspectionResultOrigin,
  InspSubsetCharcResult.InspectionResultAttribute AS InspectionResultAttribute,
  InspSubsetCharcResult.InspectionValuationResult AS InspectionValuationResult,
  InspSubsetCharcResult.InspectionResultMeanValue AS InspectionResultMeanValue,
  InspSubsetCharcResult.InspectionResultHasMeanValue AS InspectionResultHasMeanValue,
  InspSubsetCharcResult.InspectionResultMaximumValue AS InspectionResultMaximumValue,
  InspSubsetCharcResult.InspResultHasMaximumValue AS InspResultHasMaximumValue,
  InspSubsetCharcResult.InspectionResultMinimumValue AS InspectionResultMinimumValue,
  InspSubsetCharcResult.InspResultHasMinimumValue AS InspResultHasMinimumValue,
  InspSubsetCharcResult.InspectionResultOriginalValue AS InspectionResultOriginalValue,
  InspSubsetCharcResult.InspResultValidValuesNumber AS InspResultValidValuesNumber,
  InspSubsetCharcResult.InspectionResultText AS InspectionResultText,
  InspSubsetCharcResult.InspectionResultHasLongText AS InspectionResultHasLongText,
  InspSubsetCharcResult.Language AS Language,
  InspSubsetCharcResult.InspRsltFreeDefinedTestEquip AS InspRsltFreeDefinedTestEquip,
  InspSubsetCharcResult.InspRsltBelowToleranceValsNmbr AS InspRsltBelowToleranceValsNmbr,
  InspSubsetCharcResult.InspRsltAboveToleranceValsNmbr AS InspRsltAboveToleranceValsNmbr,
  InspSubsetCharcResult.InspRsltNonconformingValsNmbr AS InspRsltNonconformingValsNmbr,
  InspSubsetCharcResult.InspRsltAboveToleranceFraction AS InspRsltAboveToleranceFraction,
  InspSubsetCharcResult.InspRsltBelowToleranceFraction AS InspRsltBelowToleranceFraction,
  InspSubsetCharcResult.InspResultVariance AS InspResultVariance,
  InspSubsetCharcResult.CharacteristicAttributeCodeGrp AS CharacteristicAttributeCodeGrp,
  InspSubsetCharcResult.InspectionResultCodeGroup2 AS InspectionResultCodeGroup2,
  InspSubsetCharcResult.InspectionResultCodeGroup3 AS InspectionResultCodeGroup3,
  InspSubsetCharcResult.InspectionResultCodeGroup4 AS InspectionResultCodeGroup4,
  InspSubsetCharcResult.InspectionResultCodeGroup5 AS InspectionResultCodeGroup5,
  InspSubsetCharcResult.CharacteristicAttributeCode AS CharacteristicAttributeCode,
  InspSubsetCharcResult.InspectionResultCode2 AS InspectionResultCode2,
  InspSubsetCharcResult.InspectionResultCode3 AS InspectionResultCode3,
  InspSubsetCharcResult.InspectionResultCode4 AS InspectionResultCode4,
  InspSubsetCharcResult.InspectionResultCode5 AS InspectionResultCode5,
  InspSubsetCharcResult.CharacteristicAttributeCatalog AS CharacteristicAttributeCatalog,
  InspSubsetCharcResult.InspectionResultCatalog2 AS InspectionResultCatalog2,
  InspSubsetCharcResult.InspectionResultCatalog3 AS InspectionResultCatalog3,
  InspSubsetCharcResult.InspectionResultCatalog4 AS InspectionResultCatalog4,
  InspSubsetCharcResult.InspectionResultCatalog5 AS InspectionResultCatalog5,
  InspSubsetCharcResult.InspSpecAddlDecimalPlaces AS InspSpecAddlDecimalPlaces,
  InspSubsetCharcResult.InspSpecSummarizedDcmlPlaces AS InspSpecSummarizedDcmlPlaces,
  InspSubsetCharcResult.InspectionOperation AS InspectionOperation,
  InspCharAcceptedCount,
  InspCharRejectedCount,
  CharcStatusName,
  InspectionSpecificationText,
  HasInspCharcPrtlSmpl,
  InspCharacteristicSampleUnit,
  QuantityUnit,
  InspLotTestEquipInternalID,
  InspectionScope,
  InspectionMethod,
  InspectionMethodText,
  InspSpecDecimalPlaces,
  InspSpecHasTargetValue,
  InspSpecHasUpperLimit,
  InspSpecHasLowerLimit,
  InspectionMethodPlant,
  InspectionSpecification,
  InspectionMethodVersion,
  InspCharacteristicSampleSize,
  InspSpecSampleQuantityFactor,
  InspSpecControlIndicators,
  InspSpecIsMeasuredValueRqd,
  InspSpecTargetValue,
  InspSpecUpperLimit,
  InspSpecLowerLimit,
  InspectionSpecificationUnit,
  UnitOfMeasureTechnicalName,
  InspectionSpecificationPlant,
  InspectionSpecificationVersion,
  SelectedCodeSet,
  SelectedCodeSetPlant,
  SelectedCodeSetText,
  InspectionResultAttributeText,
  CharacteristicAttributeCodeTxt,
  cast( InspRsltNonconformingValsNmbr as abap.fltp) AS InspectionNonconformingRatio,
  InspSpecIsQuantitative,
  InspSpecIsLongTermInspection,
  InspSpecRecordingType,
  InspSpecCharcCategory,
  InspSpecResultCalculation,
  InspResultValueCount,
  InspSpecImportanceCode,
  InspSpecImportanceCodeText,
  InspResultIsDocumentationRqd,
  InspSpecHasFormula
FROM I_InspSubsetCharcResultTP AS InspSubsetCharcResult
LEFT OUTER JOIN C_InspCharcSubsetResults AS _InspCharcSubsetResults ON InspectionLot = _InspCharcSubsetResults.InspectionLot AND InspPlanOperationInternalID = _InspCharcSubsetResults.InspPlanOperationInternalID AND InspectionCharacteristic = _InspCharcSubsetResults.InspectionCharacteristic  -- association [0..*]
LEFT OUTER JOIN C_Chargroupcode_Valuehelp AS _Chargroupcode_Valuehelp ON SelectedCodeSetPlant = _Chargroupcode_Valuehelp.SelectedCodeSetPlant AND SelectedCodeSet = _Chargroupcode_Valuehelp.SelectedCodeSet AND InspectionLot = _Chargroupcode_Valuehelp.InspectionLot AND InspPlanOperationInternalID = _Chargroupcode_Valuehelp.InspPlanOperationInternalID AND InspectionCharacteristic = _Chargroupcode_Valuehelp.InspectionCharacteristic  -- association [0..*]
LEFT OUTER JOIN I_Inspectionresultstatustext AS _InspectionResultStatusText ON InspectionResultStatus = _InspectionResultStatusText.InspectionResultStatus  -- association [0..*]
LEFT OUTER JOIN I_Inspectionresultstatustext AS _InspCharacteristicStatusText ON InspectionCharacteristicStatus = _InspCharacteristicStatusText.InspectionResultStatus  -- association [0..*]
;