C_Qm_Charsresults
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. Part of development package ODATA_QM_RR.
Data Sources (5)
| Source | Alias | Join 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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | InspectionLot | _inspchs | InspectionLot | |
| KEY | InspectionOperation | _inspops | InspectionOperation | |
| KEY | InspectionCharacteristic | _inspchs | InspectionCharacteristic | |
| KEY | InspectionSubsetInternalID | I_InspSubsetCharacteristic | InspectionSubsetInternalID | |
| MaterialSample | ||||
| Material | I_InspectionLot | Material | ||
| MaterialName | ||||
| Plant | I_InspectionLot | Plant | ||
| Batch | I_InspectionLot | Batch | ||
| WorkCenterInternalID | _inspops | WorkCenterInternalID | ||
| InspectionLotType | I_InspectionLot | InspectionLotType | ||
| InspectionLotQuantity | I_InspectionLot | InspectionLotQuantity | ||
| OperationText | _inspops | OperationText | ||
| InspectionMethod | _inspchs | InspectionMethod | ||
| InspectionSpecificationText | _inspchs | InspectionSpecificationText | ||
| InspLotTestEquipInternalID | _inspchs | InspLotTestEquipInternalID | ||
| InspCharacteristicSampleSize | _inspchs | InspCharacteristicSampleSize | ||
| InspCharacteristicSampleUnit | _inspchs | InspCharacteristicSampleUnit | ||
| ManufacturingOrder | I_InspectionLot | ManufacturingOrder | ||
| InspSpecTargetValue | _inspchs | InspSpecTargetValue | ||
| InspSpecHasTargetValue | _inspchs | InspSpecHasTargetValue | ||
| InspSpecUpperLimit | _inspchs | InspSpecUpperLimit | ||
| InspSpecHasUpperLimit | _inspchs | InspSpecHasUpperLimit | ||
| InspSpecLowerLimit | _inspchs | InspSpecLowerLimit | ||
| InspSpecHasLowerLimit | _inspchs | InspSpecHasLowerLimit | ||
| InspResultValidValuesNumber | _chsResult | InspResultValidValuesNumber | ||
| InspectionResultMeanValue | _chsResult | InspectionResultMeanValue | ||
| InspectionResultStatus | _chsResult | InspectionResultStatus |
@AbapCatalog.sqlViewName: 'CQMCHARSRESULTS'
@ClientDependent: true
@AbapCatalog.compiler.compareFilter: true
@EndUserText.label: 'Characteristic list of record results'
@VDM.viewType: #CONSUMPTION
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ObjectModel.usageType: {
dataClass: #TRANSACTIONAL,
sizeCategory: #M,
serviceQuality: #C
}
define view C_Qm_Charsresults
as select from I_InspectionCharacteristic _inspchs
left outer join I_InspectionResult _chsResult on _inspchs.InspectionLot = _chsResult.InspectionLot
and _inspchs.InspPlanOperationInternalID = _chsResult.InspPlanOperationInternalID
and _inspchs.InspectionCharacteristic = _chsResult.InspectionCharacteristic
inner join I_InspectionLot as _insplots on _insplots.InspectionLot = _inspchs.InspectionLot
inner join I_InspectionOperation _inspops on _inspchs.InspPlanOperationInternalID = _inspops.InspPlanOperationInternalID
and _inspops.OrderInternalBillOfOperations = _insplots.OrderInternalBillOfOperations
and _inspops.InspectionLot = _inspchs.InspectionLot
left outer join I_InspSubsetCharacteristic as _inspsmp on _inspsmp.InspPlanOperationInternalID = _inspchs.InspPlanOperationInternalID
and _inspsmp.InspectionLot = _inspchs.InspectionLot
and _inspsmp.InspectionCharacteristic = _inspchs.InspectionCharacteristic
{
key _inspchs.InspectionLot,
key _inspops.InspectionOperation,
key _inspchs.InspectionCharacteristic,
key _inspsmp.InspectionSubsetInternalID,
_inspsmp._InspectionSubset.MaterialSample,
_insplots.Material,
_insplots._Material._Text[1:Language=$session.system_language].MaterialName,
_insplots.Plant,
_insplots.Batch,
_inspops.WorkCenterInternalID,
_insplots.InspectionLotType,
_insplots.InspectionLotQuantity,
_inspops.OperationText,
_inspchs.InspectionMethod,
_inspchs.InspectionSpecificationText,
_inspchs.InspLotTestEquipInternalID,
_inspchs.InspCharacteristicSampleSize,
_inspchs.InspCharacteristicSampleUnit,
_insplots.ManufacturingOrder,
_inspchs.InspSpecTargetValue, //Target Value for a Quantitative Characteristic
_inspchs.InspSpecHasTargetValue, //Value Not Initial if Set
_inspchs.InspSpecUpperLimit, //Upper Specification Limit
_inspchs.InspSpecHasUpperLimit, //Value Not Initial if Set
_inspchs.InspSpecLowerLimit, //Lower Tolerance Limit
_inspchs.InspSpecHasLowerLimit, //Value Not Initial if Set
_chsResult.InspResultValidValuesNumber,
_chsResult.InspectionResultMeanValue,
_chsResult.InspectionResultStatus
}
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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