C_InspLotOpUnplndCharcRsltRecg

DDL: C_INSPLOTOPUNPLNDCHARCRSLTRECG SQL: CILUNPLNDCHARC Type: view CONSUMPTION

Unplanned Characteristic

C_InspLotOpUnplndCharcRsltRecg is a Consumption CDS View that provides data about "Unplanned Characteristic" in SAP S/4HANA. It reads from 1 data source (I_InspSpecificationVersion) and exposes 70 fields with key fields InspectionSpecification, InspectionSpecificationPlant, InspectionSpecificationVersion. It has 2 associations to related views. It is exposed through 1 OData service (UI_INSPLOT_RSLTRECG). It is used in 1 Fiori application: Record Inspection Results (Version 2).

Data Sources (1)

SourceAliasJoin Type
I_InspSpecificationVersion I_InspSpecificationVersion from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_AssgmtInspMethInspSpec InspectionMethod I_InspSpecificationVersion.InspectionSpecificationPlant = InspectionMethod.InspectionSpecificationPlant and I_InspSpecificationVersion.InspectionSpecification = InspectionMethod.InspectionSpecification and I_InspSpecificationVersion.InspectionSpecificationVersion = InspectionMethod.InspectionSpecificationVersion and InspectionMethod.InspectionMethod = '' and InspectionMethod.InspectionMethodVersion = '' and InspectionMethod.InspectionMethodPlant = ''
[1..1] C_InspLotUnplndInspSpecVH _InspSpecVersReldVH $projection.InspectionSpecification = _InspSpecVersReldVH.InspectionSpecification and $projection.InspectionSpecificationVersion = _InspSpecVersReldVH.InspectionSpecificationVersion and $projection.InspectionSpecificationPlant = _InspSpecVersReldVH.InspectionSpecificationPlant

Annotations (17)

NameValueLevelField
AbapCatalog.sqlViewName CILUNPLNDCHARC view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
EndUserText.label Unplanned Characteristic view
Search.searchable true view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
Metadata.ignorePropagatedAnnotations true view
UI.headerInfo.typeName Add Characteristic view
UI.headerInfo.typeNamePlural Add Characteristics view
UI.headerInfo.title.value Title view

OData Services (1)

ServiceBindingVersionContractRelease
UI_INSPLOT_RSLTRECG UI_INSPLOT_RSLTRECG V2 C1 NOT_RELEASED

Fiori Apps (1)

App IDApp NameTypeDescription
F1685A Record Inspection Results (Version 2) Transactional An application to record results for inspection characteristics.

Record Inspection Results (Version 2)

Business Role: Quality Technician

With the new Record Inspection Results app, you can record and process results for characteristics for one or more inspection lots effectively. You can also use this app to create defects manually for different categories, such as inspection lots, inspection operations, and characteristics.

Fields (70)

KeyFieldSource TableSource FieldDescription
KEY InspectionSpecification I_InspSpecificationVersion InspectionSpecification
KEY InspectionSpecificationPlant I_InspSpecificationVersion InspectionSpecificationPlant
KEY InspectionSpecificationVersion I_InspSpecificationVersion InspectionSpecificationVersion
InspSpecTransferType InspSpecTransferType
InspSpecControlIndicators InspSpecControlIndicators
InspSpecIsQuantitative InspSpecIsQuantitative
InspSpecCharacteristicType InspSpecCharacteristicType
InspSpecIsMeasuredValueRqd InspSpecIsMeasuredValueRqd
InspSpecIsSelectedSetRequired InspSpecIsSelectedSetRequired
InspSpecIsUpperLimitRequired InspSpecIsUpperLimitRequired
InspSpecIsLowerLimitRequired InspSpecIsLowerLimitRequired
InspSpecIsTargetValueInLimit InspSpecIsTargetValueInLimit
InspSpecRecordingType InspSpecRecordingType
InspSpecCharcCategory InspSpecCharcCategory
InspSpecIsSampleQtyAdditive InspSpecIsSampleQtyAdditive
InspSpecIsSamplingProcedRqd InspSpecIsSamplingProcedRqd
InspSpecHasFixedCtrlIndicators InspSpecHasFixedCtrlIndicators
InspSpecIsDefectsRecgAutomatic InspSpecIsDefectsRecgAutomatic
InspSpecIsControlChartUsed InspSpecIsControlChartUsed
InspSpecInformationField1 InspSpecInformationField1
InspSpecInformationField2 InspSpecInformationField2
InspSpecInformationField3 InspSpecInformationField3
InspToleranceSpecification InspToleranceSpecification
QltyMstrDataAuthorizationGroup QltyMstrDataAuthorizationGroup
InspSpecDecimalPlaces InspSpecDecimalPlaces
InspectionSpecificationUnit InspectionSpecificationUnit
InspSpecTargetValue InspSpecTargetValue Target Value
InspSpecHasTargetValue InspSpecHasTargetValue
InspSpecUpperLimit InspSpecUpperLimit Upper Limit
InspSpecHasUpperLimit InspSpecHasUpperLimit
InspSpecLowerLimit InspSpecLowerLimit Lower Limit
InspSpecHasLowerLimit InspSpecHasLowerLimit
InspSpecDefectCodeGrpRjcnLower InspSpecDefectCodeGrpRjcnLower Defect Code Group at Lower Tolerance
InspSpecDefectCodeRjcnLower InspSpecDefectCodeRjcnLower Defect Code Type at Lower Tolerance
InspSpecDefectCodeGrpRjcnUpper InspSpecDefectCodeGrpRjcnUpper Defect Code Group at Upper Tolerance
InspSpecDefectCodeRjcnUpper InspSpecDefectCodeRjcnUpper Defect Code Type at Upper Tolerance
CharcInternalID CharcInternalID
InspSpecDefectCodeGrpRejection InspSpecDefectCodeGrpRejection Defect Code Group for Rejection
InspSpecDefectCodeRejection InspSpecDefectCodeRejection Defect Code for Rejection
InspectionSpecificationText
InspectionSpecificationStatus InspectionSpecificationStatus
SamplingProcedure
BOOCharcSampleQuantity
InspCharacteristicSampleUnit Sample Unit of Measure
QltyCtrlChartAggrgnCriterion
InspectionMethod
InspectionMethodPlant
InspectionMethodVersion
SelectedCodeSet InspectionMethod SelectedCodeSet Selected Set
SelectedCodeSetPlant InspectionMethod SelectedCodeSetPlant
_InspSpecVersReldVH _InspSpecVersReldVH
_InspDefectCodeGrpRejection _InspDefectCodeGrpRejection
_InspDefectCodeGrpRjcnLower _InspDefectCodeGrpRjcnLower
_InspDefectCodeGrpRjcnUpper _InspDefectCodeGrpRjcnUpper
_InspDefectCodeRejection _InspDefectCodeRejection
_InspDefectCodeRjcnLower _InspDefectCodeRjcnLower
_InspDefectCodeRjcnUpper _InspDefectCodeRjcnUpper
_InspectionMethod _InspectionMethod
_InspectionSpecification _InspectionSpecification
_InspSpecCharcCategory _InspSpecCharcCategory
_InspSpecCharcCategoryText _InspSpecCharcCategoryText
_InspSpecCharcType _InspSpecCharcType
_InspSpecCharcTypeText _InspSpecCharcTypeText
_InspSpecificationPlant _InspSpecificationPlant
_InspSpecRecordingType _InspSpecRecordingType
_InspSpecRecordingTypeText _InspSpecRecordingTypeText
_InspSpecTransferType _InspSpecTransferType
_InspSpecTransferTypeText _InspSpecTransferTypeText
_Text _Text
_UnitOfMeasure _UnitOfMeasure
@AbapCatalog.sqlViewName: 'CILUNPLNDCHARC'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #CONSUMPTION
@EndUserText.label: 'Unplanned Characteristic'
@Search.searchable: true
@ObjectModel: {
    usageType: {
        dataClass: #MASTER,
        sizeCategory: #M, //expected number of rows < 100.000

        serviceQuality: #C // includes A,B as well

    },
    createEnabled: true,
    updateEnabled: true
}
@Metadata.ignorePropagatedAnnotations: true
@UI.headerInfo: {
  typeName:       'Add Characteristic',
  typeNamePlural: 'Add Characteristics',
  title:          { value: 'Title' }
}

define view C_InspLotOpUnplndCharcRsltRecg
  as select from           I_InspSpecificationVersion
  association [0..1] to I_AssgmtInspMethInspSpec as InspectionMethod     on  I_InspSpecificationVersion.InspectionSpecificationPlant   = InspectionMethod.InspectionSpecificationPlant
                                                                         and I_InspSpecificationVersion.InspectionSpecification        = InspectionMethod.InspectionSpecification
                                                                         and I_InspSpecificationVersion.InspectionSpecificationVersion = InspectionMethod.InspectionSpecificationVersion
                                                                         and InspectionMethod.InspectionMethod                         = ''
                                                                         and InspectionMethod.InspectionMethodVersion                  = ''
                                                                         and InspectionMethod.InspectionMethodPlant                    = ''
  association [1..1] to C_InspLotUnplndInspSpecVH as _InspSpecVersReldVH on  $projection.InspectionSpecification        = _InspSpecVersReldVH.InspectionSpecification
                                                                         and $projection.InspectionSpecificationVersion = _InspSpecVersReldVH.InspectionSpecificationVersion
                                                                         and $projection.InspectionSpecificationPlant   = _InspSpecVersReldVH.InspectionSpecificationPlant

{
       @UI.facet: [
                  {
                    id : 'GeneralInformation',
                    type: #FIELDGROUP_REFERENCE,
                    label: 'General Information',
                    position: 10,
                    targetQualifier: 'HeaderInfo'
                  },
                  {
                    purpose:    #HEADER,
                    position:   10,
                    importance: #HIGH,
                    type:       #FIELDGROUP_REFERENCE,
                    targetQualifier: 'HeaderInfo'
                  }]
      @Consumption.valueHelpDefinition: [ { entity: { name: 'C_InspLotUnplndInspSpecVH', element: 'InspectionSpecification'},
      additionalBinding: [{ localElement: 'InspectionSpecificationPlant', element: 'InspectionSpecificationPlant'},
                           { localElement: 'InspectionSpecificationVersion', element: 'InspectionSpecificationVersion' }]}]
      @Search.defaultSearchElement: true
      @UI.fieldGroup: [{ qualifier: 'HeaderInfo', groupLabel: 'Inspection Specification', position: 10, importance: #MEDIUM, label: 'Inspection Specification' }]
  key I_InspSpecificationVersion.InspectionSpecification,
      @Consumption.valueHelpDefinition: [ { entity: { name: 'I_PlantStdVH', element: 'Plant'}}]
      @UI.lineItem: [{position:10 }]
      @UI.fieldGroup: [{ qualifier: 'HeaderInfo', groupLabel: 'Plant', position: 20, importance: #MEDIUM, label: 'Plant' }]
  key I_InspSpecificationVersion.InspectionSpecificationPlant,
      @UI.fieldGroup: [{ qualifier: 'HeaderInfo', groupLabel: 'Version', position: 30, importance: #MEDIUM, label: 'Version' }]
  key I_InspSpecificationVersion.InspectionSpecificationVersion,
      InspSpecTransferType,
      InspSpecControlIndicators,
        @UI.fieldGroup: [{
            qualifier: 'IP',position: 10
        }]
      InspSpecIsQuantitative,
        @UI.fieldGroup: [{
            qualifier: 'IP',position: 20
        }]
      InspSpecCharacteristicType,
      @Semantics.booleanIndicator: true
      InspSpecIsMeasuredValueRqd,
      @Semantics.booleanIndicator: true
      InspSpecIsSelectedSetRequired,
      @Semantics.booleanIndicator: true
      InspSpecIsUpperLimitRequired,
      @Semantics.booleanIndicator: true
      InspSpecIsLowerLimitRequired,
      @Semantics.booleanIndicator: true
      InspSpecIsTargetValueInLimit,
      InspSpecRecordingType,
      InspSpecCharcCategory,
      @Semantics.booleanIndicator: true
      InspSpecIsSampleQtyAdditive,
      @Semantics.booleanIndicator: true
      InspSpecIsSamplingProcedRqd,
      @Semantics.booleanIndicator: true
      InspSpecHasFixedCtrlIndicators,
      @Semantics.booleanIndicator: true
      InspSpecIsDefectsRecgAutomatic,
      @Semantics.booleanIndicator: true
      InspSpecIsControlChartUsed,
      InspSpecInformationField1,
      InspSpecInformationField2,
      InspSpecInformationField3,
      InspToleranceSpecification,
      QltyMstrDataAuthorizationGroup,
      InspSpecDecimalPlaces,
      @Consumption.valueHelpDefinition: [
      { entity:  { name:    'I_UnitOfMeasure',
                   element: 'UnitOfMeasure' }
      }]
      @Semantics.unitOfMeasure: true
      InspectionSpecificationUnit,
      @Semantics.quantity.unitOfMeasure: 'InspectionSpecificationUnit'
      @EndUserText.label: 'Target Value'
      InspSpecTargetValue,
      @Semantics.booleanIndicator: true
      InspSpecHasTargetValue,
      @Semantics.quantity.unitOfMeasure: 'InspectionSpecificationUnit'
      @EndUserText.label: 'Upper Limit'
      InspSpecUpperLimit,
      @Semantics.booleanIndicator: true
      InspSpecHasUpperLimit,
      @Semantics.quantity.unitOfMeasure: 'InspectionSpecificationUnit'
      @EndUserText.label: 'Lower Limit'
      InspSpecLowerLimit,
      @Semantics.booleanIndicator: true
      InspSpecHasLowerLimit,
      @EndUserText.label: 'Defect Code Group at Lower Tolerance '
      InspSpecDefectCodeGrpRjcnLower,
      @EndUserText.label: 'Defect Code Type at Lower Tolerance '
      InspSpecDefectCodeRjcnLower,
      @EndUserText.label: 'Defect Code Group at Upper Tolerance '
      InspSpecDefectCodeGrpRjcnUpper,
      @EndUserText.label:   'Defect Code Type at Upper Tolerance '
      InspSpecDefectCodeRjcnUpper,
      CharcInternalID,
      @Consumption.valueHelpDefinition: [
        { entity:  { name:    'I_DefectCodeGroupStdVH',
                     element: 'DefectCodeGroup' }
        }]
      @EndUserText.label: 'Defect Code Group for Rejection'
      InspSpecDefectCodeGrpRejection,
      @Consumption.valueHelpDefinition: [
        { entity:  { name:    'I_DefectCodeStdVH',
                     element: 'DefectCode' },
          additionalBinding: [{ localElement: 'InspSpecDefectCodeGrpRejection',
                                element: 'DefectCodeGroup' }]
        }]
      @EndUserText.label: 'Defect Code for Rejection'
      InspSpecDefectCodeRejection,
      _Text[1:Language = $session.system_language].InspectionSpecificationText,
      InspectionSpecificationStatus,
      @Consumption.valueHelpDefinition: [
      { entity:  { name:    'I_SamplingProcedureStdVH',
                   element: 'SamplingProcedure' }
      }]
      cast('' as qstichverf )   as SamplingProcedure,
      @Semantics.quantity.unitOfMeasure: 'InspCharacteristicSampleUnit'
      cast(0 as qprobefak)      as BOOCharcSampleQuantity,
      @Consumption.valueHelpDefinition: [
       { entity:  { name:    'I_UnitOfMeasure',
                    element: 'UnitOfMeasure' }
       }]
      @EndUserText.label: 'Sample Unit of Measure'
      cast('' as qprobme )      as InspCharacteristicSampleUnit,
      //SPC Criterion

      @Consumption.valueHelpDefinition: [
       { entity:  { name:    'I_QltyCtrlChartAggrgnCriterion',
                    element: 'QltyCtrlChartAggrgnCriterion' }
       }]
      cast ('' as qspckrit)     as QltyCtrlChartAggrgnCriterion,

      @Consumption.valueHelpDefinition: [ { entity: { name: 'I_InspMethForInspSpecVH', element: 'InspectionMethod'},
      additionalBinding: [{ localElement: 'InspectionMethodPlant', element: 'InspectionMethodPlant'},
                           { localElement: 'InspectionMethodVersion', element: 'InspectionMethodVersion' }]}]
      cast('' as qpmethode )    as InspectionMethod,
      @Consumption.valueHelpDefinition: [ { entity: { name: 'I_InspMethForInspSpecVH', element: 'InspectionMethodPlant'},
      additionalBinding: [{ localElement: 'InspectionMethod', element: 'InspectionMethod'},
                           { localElement: 'InspectionMethodVersion', element: 'InspectionMethodVersion' }]}]
      cast('' as q_meth_plant ) as InspectionMethodPlant,
      @Consumption.valueHelpDefinition: [ { entity: { name: 'I_InspMethForInspSpecVH', element: 'InspectionMethodVersion'},
      additionalBinding: [{ localElement: 'InspectionMethod', element: 'InspectionMethod'},
                           { localElement: 'InspectionMethodPlant', element: 'InspectionMethodPlant' }]}]
      cast('' as qversnrpm )    as InspectionMethodVersion,
      @Consumption.valueHelpDefinition: [
        { entity:  { name:    'I_CharcAttribSeldCodeSetStdVH',
                     element: 'SelectedCodeSet' },
          additionalBinding: [{ localElement: 'SelectedCodeSetPlant',
                                element: 'SelectedCodeSetPlant' }]
        }]
      @EndUserText.label: 'Selected Set'
      InspectionMethod.SelectedCodeSet,
      @Consumption.valueHelpDefinition: [
        { entity:  { name:    'I_CharcAttribSeldCodeSetStdVH',
                     element: 'SelectedCodeSetPlant' }
        }]
      InspectionMethod.SelectedCodeSetPlant,

      /* Associations */
      _InspSpecVersReldVH,
      _InspDefectCodeGrpRejection,
      _InspDefectCodeGrpRjcnLower,
      _InspDefectCodeGrpRjcnUpper,
      _InspDefectCodeRejection,
      _InspDefectCodeRjcnLower,
      _InspDefectCodeRjcnUpper,
      _InspectionMethod,
      _InspectionSpecification,
      _InspSpecCharcCategory,
      _InspSpecCharcCategoryText,
      _InspSpecCharcType,
      _InspSpecCharcTypeText,
      _InspSpecificationPlant,
      _InspSpecRecordingType,
      _InspSpecRecordingTypeText,
      _InspSpecTransferType,
      _InspSpecTransferTypeText,
      _Text,
      _UnitOfMeasure
}
where
  I_InspSpecificationVersion.InspectionSpecificationStatus = '2'
  and InspSpecTransferType <> ' ' and InspSpecTransferType <> ''