C_Qm_Charsresults

DDL: C_QM_CHARSRESULTS SQL: CQMCHARSRESULTS Type: view CONSUMPTION

Characteristic list of record results

C_Qm_Charsresults is a Consumption CDS View that provides data about "Characteristic list of record results" in SAP S/4HANA. It reads from 5 data sources (I_InspectionLot, I_InspSubsetCharacteristic, I_InspectionCharacteristic, I_InspectionOperation, I_InspectionResult) and exposes 28 fields with key fields InspectionLot, InspectionOperation, InspectionCharacteristic, InspectionSubsetInternalID.

Data Sources (5)

SourceAliasJoin Type
I_InspectionLot _insplots inner
I_InspSubsetCharacteristic _inspsmp left_outer
I_InspectionCharacteristic I_InspectionCharacteristic from
I_InspectionOperation I_InspectionOperation inner
I_InspectionResult I_InspectionResult left_outer

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName CQMCHARSRESULTS view
ClientDependent true view
AbapCatalog.compiler.compareFilter true view
EndUserText.label Characteristic list of record results view
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #C view

Fields (28)

KeyFieldSource TableSource FieldDescription
KEY InspectionLot _inspchs InspectionLot Inspection Lot
KEY InspectionOperation _inspops InspectionOperation Operation
KEY InspectionCharacteristic _inspchs InspectionCharacteristic Characteristic
KEY InspectionSubsetInternalID I_InspSubsetCharacteristic InspectionSubsetInternalID Sample Number
MaterialSample
Material I_InspectionLot Material Vehicle Model
MaterialName
Plant I_InspectionLot Plant Valuation Area
Batch I_InspectionLot Batch Lot No.
WorkCenterInternalID _inspops WorkCenterInternalID Work Center
InspectionLotType I_InspectionLot InspectionLotType Inspection Type
InspectionLotQuantity I_InspectionLot InspectionLotQuantity
OperationText _inspops OperationText Description
InspectionMethod _inspchs InspectionMethod Insp. Method
InspectionSpecificationText _inspchs InspectionSpecificationText
InspLotTestEquipInternalID _inspchs InspLotTestEquipInternalID Test equipment
InspCharacteristicSampleSize _inspchs InspCharacteristicSampleSize Inspect
InspCharacteristicSampleUnit _inspchs InspCharacteristicSampleUnit Sample Unit
ManufacturingOrder I_InspectionLot ManufacturingOrder Order
InspSpecTargetValue _inspchs InspSpecTargetValue Target Value
InspSpecHasTargetValue _inspchs InspSpecHasTargetValue Not Initial
InspSpecUpperLimit _inspchs InspSpecUpperLimit Upper Limit
InspSpecHasUpperLimit _inspchs InspSpecHasUpperLimit Not Initial
InspSpecLowerLimit _inspchs InspSpecLowerLimit Lower Limit
InspSpecHasLowerLimit _inspchs InspSpecHasLowerLimit Not Initial
InspResultValidValuesNumber _chsResult InspResultValidValuesNumber Inspected
InspectionResultMeanValue _chsResult InspectionResultMeanValue Mean Value
InspectionResultStatus _chsResult InspectionResultStatus Status

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_Qm_Charsresults.
-- 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: CQMCHARSRESULTS

CREATE VIEW C_Qm_Charsresults AS
SELECT
  _inspchs.InspectionLot AS InspectionLot,
  _inspops.InspectionOperation AS InspectionOperation,
  _inspchs.InspectionCharacteristic AS InspectionCharacteristic,
  _inspsmp.InspectionSubsetInternalID AS InspectionSubsetInternalID,
  _inspsmp._InspectionSubset.MaterialSample AS MaterialSample,
  _insplots.Material AS Material,
  _insplots._Material._Text[1:Language=$session.system_language].MaterialName AS MaterialName,
  _insplots.Plant AS Plant,
  _insplots.Batch AS Batch,
  _inspops.WorkCenterInternalID AS WorkCenterInternalID,
  _insplots.InspectionLotType AS InspectionLotType,
  _insplots.InspectionLotQuantity AS InspectionLotQuantity,
  _inspops.OperationText AS OperationText,
  _inspchs.InspectionMethod AS InspectionMethod,
  _inspchs.InspectionSpecificationText AS InspectionSpecificationText,
  _inspchs.InspLotTestEquipInternalID AS InspLotTestEquipInternalID,
  _inspchs.InspCharacteristicSampleSize AS InspCharacteristicSampleSize,
  _inspchs.InspCharacteristicSampleUnit AS InspCharacteristicSampleUnit,
  _insplots.ManufacturingOrder AS ManufacturingOrder,
  _inspchs.InspSpecTargetValue AS InspSpecTargetValue,
  _inspchs.InspSpecHasTargetValue AS InspSpecHasTargetValue,
  _inspchs.InspSpecUpperLimit AS InspSpecUpperLimit,
  _inspchs.InspSpecHasUpperLimit AS InspSpecHasUpperLimit,
  _inspchs.InspSpecLowerLimit AS InspSpecLowerLimit,
  _inspchs.InspSpecHasLowerLimit AS InspSpecHasLowerLimit,
  _chsResult.InspResultValidValuesNumber AS InspResultValidValuesNumber,
  _chsResult.InspectionResultMeanValue AS InspectionResultMeanValue,
  _chsResult.InspectionResultStatus AS InspectionResultStatus
FROM I_InspectionCharacteristic
LEFT OUTER JOIN I_InspectionResult ON /* join condition not captured in parsed metadata */
INNER JOIN I_InspectionLot AS _insplots ON /* join condition not captured in parsed metadata */
INNER JOIN I_InspectionOperation ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_InspSubsetCharacteristic AS _inspsmp ON /* join condition not captured in parsed metadata */
;