C_UnplndInspCharcRsltRecg

DDL: C_UNPLNDINSPCHARCRSLTRECG SQL: CUNPLNDINSPCHAR Type: view CONSUMPTION Package: ODATA_QM_RR

Unplanned Characteristics in Rslt Recg

C_UnplndInspCharcRsltRecg is a Consumption CDS View that provides data about "Unplanned Characteristics in Rslt Recg" in SAP S/4HANA. It reads from 1 data source (I_InspSpecificationVersion) and exposes 70 fields with key fields InspectionSpecification, InspectionSpecificationPlant, InspectionSpecificationVersion. It has 1 association to related views. Part of development package ODATA_QM_RR.

Data Sources (1)

SourceAliasJoin Type
I_InspSpecificationVersion I_InspSpecificationVersion from

Associations (1)

CardinalityTargetAliasCondition
[1..1] C_UnplndInspSpecVH _InspSpecVersReldVH $projection.InspectionSpecification = _InspSpecVersReldVH.InspectionSpecification and $projection.InspectionSpecificationVersion = _InspSpecVersReldVH.InspectionSpecificationVersion and $projection.InspectionSpecificationPlant = _InspSpecVersReldVH.InspectionSpecificationPlant

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName CUNPLNDINSPCHAR 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 Characteristics in Rslt Recg 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

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
InspSpecHasTargetValue InspSpecHasTargetValue
InspSpecUpperLimit InspSpecUpperLimit
InspSpecHasUpperLimit InspSpecHasUpperLimit
InspSpecLowerLimit InspSpecLowerLimit
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: 'CUNPLNDINSPCHAR'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #CONSUMPTION
@EndUserText.label: 'Unplanned Characteristics in Rslt Recg'

@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
define view C_UnplndInspCharcRsltRecg
  as select from           I_InspSpecificationVersion
    left outer to one join 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_UnplndInspSpecVH as _InspSpecVersReldVH on  $projection.InspectionSpecification        = _InspSpecVersReldVH.InspectionSpecification
                                                                  and $projection.InspectionSpecificationVersion = _InspSpecVersReldVH.InspectionSpecificationVersion
                                                                  and $projection.InspectionSpecificationPlant   = _InspSpecVersReldVH.InspectionSpecificationPlant

{
      @Consumption.valueHelpDefinition: [ { entity: { name: 'C_UnplndInspSpecVH', element: 'InspectionSpecification'},
      additionalBinding: [{ localElement: 'InspectionSpecificationPlant', element: 'InspectionSpecificationPlant'},
                           { localElement: 'InspectionSpecificationVersion', element: 'InspectionSpecificationVersion' }]}]
      @Search.defaultSearchElement: true
  key I_InspSpecificationVersion.InspectionSpecification,
      @Consumption.valueHelpDefinition: [ { entity: { name: 'I_PlantStdVH', element: 'Plant'}}]
  key I_InspSpecificationVersion.InspectionSpecificationPlant,
  key I_InspSpecificationVersion.InspectionSpecificationVersion,
      InspSpecTransferType,
      InspSpecControlIndicators,
      InspSpecIsQuantitative,
      InspSpecCharacteristicType,
      InspSpecIsMeasuredValueRqd,
      InspSpecIsSelectedSetRequired,
      InspSpecIsUpperLimitRequired,
      InspSpecIsLowerLimitRequired,
      InspSpecIsTargetValueInLimit,
      InspSpecRecordingType,
      InspSpecCharcCategory,
      InspSpecIsSampleQtyAdditive,
      InspSpecIsSamplingProcedRqd,
      InspSpecHasFixedCtrlIndicators,
      InspSpecIsDefectsRecgAutomatic,
      InspSpecIsControlChartUsed,
      InspSpecInformationField1,
      InspSpecInformationField2,
      InspSpecInformationField3,
      InspToleranceSpecification,
      QltyMstrDataAuthorizationGroup,
      InspSpecDecimalPlaces,
      @Consumption.valueHelpDefinition: [
      { entity:  { name:    'I_UnitOfMeasure',
                   element: 'UnitOfMeasure' }
      }]
      //      @UI.hidden: true

      //      @Consumption.hidden: true

      InspectionSpecificationUnit,
      @Semantics.quantity.unitOfMeasure: 'InspectionSpecificationUnit'
      InspSpecTargetValue,
      InspSpecHasTargetValue,
      @Semantics.quantity.unitOfMeasure: 'InspectionSpecificationUnit'
      InspSpecUpperLimit,
      InspSpecHasUpperLimit,
      @Semantics.quantity.unitOfMeasure: 'InspectionSpecificationUnit'
      InspSpecLowerLimit,
      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,
      //      _InspResultDocuRequired,

      _InspSpecCharcCategory,
      _InspSpecCharcCategoryText,
      _InspSpecCharcType,
      _InspSpecCharcTypeText,
      _InspSpecificationPlant,
      _InspSpecRecordingType,
      _InspSpecRecordingTypeText,
      _InspSpecTransferType,
      _InspSpecTransferTypeText,
      _Text,
      _UnitOfMeasure
}
where
  I_InspSpecificationVersion.InspectionSpecificationStatus = '2'