C_InspLotUnplndInspSpecVH

DDL: C_INSPLOTUNPLNDINSPSPECVH SQL: CUNPLDINSPSPECVH Type: view CONSUMPTION

Insp Spec VH for Unplanned Char

C_InspLotUnplndInspSpecVH is a Consumption CDS View that provides data about "Insp Spec VH for Unplanned Char" in SAP S/4HANA.

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName CUNPLDINSPSPECVH view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Insp Spec VH for Unplanned Char view
VDM.viewType #CONSUMPTION view
Search.searchable true view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.dataCategory #VALUE_HELP view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY InspectionSpecification InspectionSpecification
KEY InspectionSpecificationPlant InspectionSpecificationPlant
KEY InspectionSpecificationVersion InspectionSpecificationVersion
ValidityStartDate ValidityStartDate
InspectionSpecificationSrchTxt InspectionSpecificationSrchTxt
InspectionSpecificationStatus InspectionSpecificationStatus
InspSpecTransferType InspSpecTransferType
InspSpecCharacteristicType InspSpecCharacteristicType
QltyMstrDataAuthorizationGroup QltyMstrDataAuthorizationGroup
InspSpecIsSamplingProcedRqd InspSpecIsSamplingProcedRqd
_InspSpecificationPlant _InspSpecificationPlant
_InspectionSpecification _InspectionSpecification
_InspSpecStatus _InspSpecStatus
_InspSpecTransferType _InspSpecTransferType
_InspSpecCharcType _InspSpecCharcType
_QltyMstrDataAuthznGrp _QltyMstrDataAuthznGrp
@AbapCatalog.sqlViewName: 'CUNPLDINSPSPECVH'
@AbapCatalog.preserveKey: true
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Insp Spec VH for Unplanned Char'
@VDM.viewType: #CONSUMPTION

@Search.searchable: true
@ObjectModel: {
    usageType: {
        dataClass: #MASTER,
        sizeCategory: #M, //expected number of rows < 100.000

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

    },
    dataCategory: #VALUE_HELP
}
//Don't know what it does, so commenting it out for now

//@ObjectModel.representativeKey: 'InspectionSpecificationVersion'

define view C_InspLotUnplndInspSpecVH
  as select distinct from I_InspSpecVersReldVH
{
      @Search: { defaultSearchElement: true, fuzzinessThreshold: 0.8 }
      @UI.selectionField: [{position: 10 }]
  key InspectionSpecification,
      @ObjectModel.foreignKey.association: '_InspSpecificationPlant'
      @Search: { defaultSearchElement: true, fuzzinessThreshold: 0.8 }
      @UI.selectionField: [{position: 20 }]
  key InspectionSpecificationPlant,
      @UI.selectionField: [{position: 30 }]
  key InspectionSpecificationVersion,

      @UI.selectionField: [{position: 40 }]
      ValidityStartDate,
      @Search: { defaultSearchElement: true, fuzzinessThreshold: 0.8 }
      @UI.selectionField: [{position: 50 }]
      InspectionSpecificationSrchTxt,
      @UI.selectionField: [{position: 60 }]
      InspectionSpecificationStatus,
      @Search: { defaultSearchElement: true, fuzzinessThreshold: 0.8 }
      @UI.selectionField: [{position: 70 }]
      InspSpecTransferType,
      @UI.selectionField: [{position: 80 }]
      InspSpecCharacteristicType,
      @UI.selectionField: [{position: 90 }]
      QltyMstrDataAuthorizationGroup,
//    C5314719 - Performance change  

      @Consumption.filter.hidden: true
      @UI.hidden: true
      InspSpecIsSamplingProcedRqd,   
//    End changes - C5314719


      /* Associations */
      @Consumption.filter.hidden: true
      _InspSpecificationPlant,
      @Consumption.filter.hidden: true
      _InspectionSpecification,
      //      @Consumption.filter.hidden: true

      //      I_InspSpecVersReldVH._Text as _InspectionSpecificationText,

      @Consumption.filter.hidden: true
      _InspSpecStatus,
      @Consumption.filter.hidden: true
      _InspSpecTransferType,
      @Consumption.filter.hidden: true
      _InspSpecCharcType,
      @Consumption.filter.hidden: true
      _QltyMstrDataAuthznGrp
//      _InspectionMethod.InspMethIsAssgmtToSpecInactive,

//      @Consumption.filter.hidden: true

//      @UI.hidden: true

//      cast(case

//      when _InspectionMethod.InspectionMethod  is not null then 'X'

//      else '' end as boolean preserving type) as InspMethIsExisting


}
where
      InspectionSpecificationStatus =  '2'
  and InspSpecTransferType          <> ' '