I_InspectionResultValue

DDL: I_INSPECTIONRESULTVALUE Type: view BASIC

Single Value of an Inspection Charc Rslt

I_InspectionResultValue is a Basic CDS View that provides data about "Single Value of an Inspection Charc Rslt" in SAP S/4HANA. It reads from 1 data source (qase) and exposes 60 fields with key fields InspectionLot, InspPlanOperationInternalID, InspectionCharacteristic, InspResultValueInternalID. It has 10 associations to related views.

Data Sources (1)

SourceAliasJoin Type
qase qase from

Associations (10)

CardinalityTargetAliasCondition
[1..1] I_InspectionLot _InspectionLot $projection.InspectionLot = _InspectionLot.InspectionLot
[1..1] I_InspectionOperation _InspectionOperation $projection.InspectionLot = _InspectionOperation.InspectionLot and $projection.InspPlanOperationInternalID = _InspectionOperation.InspPlanOperationInternalID
[1..1] I_InspectionCharacteristic _InspectionCharacteristic $projection.InspectionLot = _InspectionCharacteristic.InspectionLot and $projection.InspPlanOperationInternalID = _InspectionCharacteristic.InspPlanOperationInternalID and $projection.InspectionCharacteristic = _InspectionCharacteristic.InspectionCharacteristic
[0..1] I_InspSubsetCharacteristic _InspSubsetCharacteristic $projection.InspectionLot = _InspSubsetCharacteristic.InspectionLot and $projection.InspPlanOperationInternalID = _InspSubsetCharacteristic.InspPlanOperationInternalID and $projection.InspectionCharacteristic = _InspSubsetCharacteristic.InspectionCharacteristic and $projection.InspectionSubsetInternalID = _InspSubsetCharacteristic.InspectionSubsetInternalID
[0..*] I_InspResultValueLongText _InspResultValueLongText $projection.InspectionLot = _InspResultValueLongText.InspectionLot and $projection.InspPlanOperationInternalID = _InspResultValueLongText.InspPlanOperationInternalID and $projection.InspectionCharacteristic = _InspResultValueLongText.InspectionCharacteristic and $projection.InspResultValueInternalID = _InspResultValueLongText.InspResultValueInternalID and $projection.Language = _InspResultValueLongText.Language
[0..1] I_CharcAttributeCodeGrp _CharcAttributeCodeGrp $projection.CharacteristicAttributeCodeGrp = _CharcAttributeCodeGrp.CharacteristicAttributeCodeGrp
[0..1] I_CharcAttributeCode _CharcAttributeCode $projection.CharacteristicAttributeCodeGrp = _CharcAttributeCode.CharacteristicAttributeCodeGrp and $projection.CharacteristicAttributeCode = _CharcAttributeCode.CharacteristicAttributeCode
[0..1] I_InspectionResultAttribute _InspectionResultAttribute $projection.InspectionResultAttribute = _InspectionResultAttribute.InspectionResultAttribute
[0..1] I_InspectionValuationResult _InspectionValuationResult $projection.InspectionValuationResult = _InspectionValuationResult.InspectionValuationResult
[1..1] E_InspectionResultValue _Extension $projection.InspectionLot = _Extension.InspectionLot and $projection.InspPlanOperationInternalID = _Extension.InspPlanOperationInternalID and $projection.InspectionCharacteristic = _Extension.InspectionCharacteristic and $projection.InspResultValueInternalID = _Extension.InspResultValueInternalID

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IINSPRESULTVALUE view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Single Value of an Inspection Charc Rslt view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.representativeKey InspResultValueInternalID view
Metadata.ignorePropagatedAnnotations true view

Fields (60)

KeyFieldSource TableSource FieldDescription
KEY InspectionLot qase prueflos
KEY InspPlanOperationInternalID qase vorglfnr
KEY InspectionCharacteristic qase merknr
KEY InspResultValueInternalID qase detailerg
InspectionResultAttribute qase attribut
InspResultItemInternalID qase stuecknr
InspectionSubsetInternalID qase probenr
InspectionResultMeasuredValue qase messwert
InspResultHasMeasuredValue
InspectionResultOriginalValue qase original_input
InspectionResultText
InspectionResultHasLongText qase prltextkz
Language qase ltextspr
InspLotSingleUnitNumber qase estuecknr
InspectionResultItem qase serialnr
InspRsltFreeDefinedTestEquip qase maschine
InspectionValuationResult qase mbewertg
CharacteristicAttributeCodeGrp qase gruppe1
InspectionResultCodeGroup2 qase gruppe2
InspectionResultCodeGroup3 qase gruppe3
InspectionResultCodeGroup4 qase gruppe4
InspectionResultCodeGroup5 qase gruppe5
CharacteristicAttributeCode qase code1
InspectionResultCode2 qase code2
InspectionResultCode3 qase code3
InspectionResultCode4 qase code4
InspectionResultCode5 qase code5
CharcAttributeCodeVers qase version1
InspectionResultCode2Vers qase version2
InspectionResultCode3Vers qase version3
InspectionResultCode4Vers qase version4
InspectionResultCode5Vers qase version5
CharacteristicAttributeCatalog qase katalgart1
InspectionResultCatalog2 qase katalgart2
InspectionResultCatalog3 qase katalgart3
InspectionResultCatalog4 qase katalgart4
InspectionResultCatalog5 qase katalgart5
Inspector qase pruefer
InspectionStartDate qase pruefdatuv
InspectionStartTime qase pruefzeitv
InspectionEndDate qase pruefdatub
InspectionEndTime qase pruefzeitb
InspectionNumberOfDefects qase anzfehler
DefectClass qase fehlklas
InspResultNrOfAddlDcmlsPlaces qase diff_dec_places
CreatedByUser qase ersteller
CreationDate qase erstelldat
LastChangedByUser qase aenderer
LastChangeDate qase aenderdat
ChangedTime qase zeitaend
CreationTime qase zeiterstl
_InspectionLot _InspectionLot
_InspectionOperation _InspectionOperation
_InspectionCharacteristic _InspectionCharacteristic
_InspSubsetCharacteristic _InspSubsetCharacteristic
_InspResultValueLongText _InspResultValueLongText
_CharcAttributeCodeGrp _CharcAttributeCodeGrp
_CharcAttributeCode _CharcAttributeCode
_InspectionResultAttribute _InspectionResultAttribute
_InspectionValuationResult _InspectionValuationResult
@AbapCatalog: {
    sqlViewName: 'IINSPRESULTVALUE',
    compiler.compareFilter: true
}
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Single Value of an Inspection Charc Rslt'
@VDM: {
    viewType: #BASIC,
    lifecycle.contract.type: #PUBLIC_LOCAL_API
}
@ObjectModel.supportedCapabilities:
    [ #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET ]
@ObjectModel: {
    usageType: {
        dataClass: #TRANSACTIONAL,
        sizeCategory: #L,
        serviceQuality: #B
    },
    representativeKey: 'InspResultValueInternalID'
}
@Metadata.ignorePropagatedAnnotations: true
define view I_InspectionResultValue
  as select from qase

  association [1..1] to I_InspectionLot             as _InspectionLot             on  $projection.InspectionLot = _InspectionLot.InspectionLot
  association [1..1] to I_InspectionOperation       as _InspectionOperation       on  $projection.InspectionLot               = _InspectionOperation.InspectionLot
                                                                                  and $projection.InspPlanOperationInternalID = _InspectionOperation.InspPlanOperationInternalID
  association [1..1] to I_InspectionCharacteristic  as _InspectionCharacteristic  on  $projection.InspectionLot               = _InspectionCharacteristic.InspectionLot
                                                                                  and $projection.InspPlanOperationInternalID = _InspectionCharacteristic.InspPlanOperationInternalID
                                                                                  and $projection.InspectionCharacteristic    = _InspectionCharacteristic.InspectionCharacteristic
  association [0..1] to I_InspSubsetCharacteristic  as _InspSubsetCharacteristic  on  $projection.InspectionLot               = _InspSubsetCharacteristic.InspectionLot
                                                                                  and $projection.InspPlanOperationInternalID = _InspSubsetCharacteristic.InspPlanOperationInternalID
                                                                                  and $projection.InspectionCharacteristic    = _InspSubsetCharacteristic.InspectionCharacteristic
                                                                                  and $projection.InspectionSubsetInternalID  = _InspSubsetCharacteristic.InspectionSubsetInternalID
  association [0..*] to I_InspResultValueLongText  as _InspResultValueLongText  on  $projection.InspectionLot                 = _InspResultValueLongText.InspectionLot
                                                                                  and $projection.InspPlanOperationInternalID = _InspResultValueLongText.InspPlanOperationInternalID
                                                                                  and $projection.InspectionCharacteristic    = _InspResultValueLongText.InspectionCharacteristic
                                                                                  and $projection.InspResultValueInternalID   = _InspResultValueLongText.InspResultValueInternalID       
                                                                                  and $projection.Language                    = _InspResultValueLongText.Language                                                               
  association [0..1] to I_CharcAttributeCodeGrp     as _CharcAttributeCodeGrp     on  $projection.CharacteristicAttributeCodeGrp = _CharcAttributeCodeGrp.CharacteristicAttributeCodeGrp
  association [0..1] to I_CharcAttributeCode        as _CharcAttributeCode        on  $projection.CharacteristicAttributeCodeGrp = _CharcAttributeCode.CharacteristicAttributeCodeGrp
                                                                                  and $projection.CharacteristicAttributeCode    = _CharcAttributeCode.CharacteristicAttributeCode
  association [0..1] to I_InspectionResultAttribute as _InspectionResultAttribute on  $projection.InspectionResultAttribute = _InspectionResultAttribute.InspectionResultAttribute
  association [0..1] to I_InspectionValuationResult as _InspectionValuationResult on  $projection.InspectionValuationResult = _InspectionValuationResult.InspectionValuationResult
  //Extension

  association [1..1] to E_InspectionResultValue     as _Extension                 on  $projection.InspectionLot               = _Extension.InspectionLot
                                                                                  and $projection.InspPlanOperationInternalID = _Extension.InspPlanOperationInternalID
                                                                                  and $projection.InspectionCharacteristic    = _Extension.InspectionCharacteristic
                                                                                  and $projection.InspResultValueInternalID   = _Extension.InspResultValueInternalID
{
      @ObjectModel.foreignKey.association: '_InspectionLot'
  key qase.prueflos                                                                                        as InspectionLot,
      @ObjectModel.foreignKey.association: '_InspectionOperation'
  key qase.vorglfnr                                                                                        as InspPlanOperationInternalID,
      @ObjectModel.foreignKey.association: '_InspectionCharacteristic'
  key qase.merknr                                                                                          as InspectionCharacteristic,
  key qase.detailerg                                                                                       as InspResultValueInternalID,
      @ObjectModel.foreignKey.association: '_InspectionResultAttribute'
      qase.attribut                                                                                        as InspectionResultAttribute,
      qase.stuecknr                                                                                        as InspResultItemInternalID,
      qase.probenr                                                                                         as InspectionSubsetInternalID,
      qase.messwert                                                                                        as InspectionResultMeasuredValue,
      cast(case qase.messwertni when '*' then 'X' else qase.messwertni end as qmesswrtni preserving type ) as InspResultHasMeasuredValue,
      qase.original_input                                                                                  as InspectionResultOriginalValue,
      cast( qase.pruefbemkt as vdm_qinspectionvalueresultdesc preserving type )                            as InspectionResultText,
      @Semantics.booleanIndicator: true
      qase.prltextkz                                                                                       as InspectionResultHasLongText,
      qase.ltextspr                                                                                        as Language,
      qase.estuecknr                                                                                       as InspLotSingleUnitNumber,
      qase.serialnr                                                                                        as InspectionResultItem,
      qase.maschine                                                                                        as InspRsltFreeDefinedTestEquip,
      @ObjectModel.foreignKey.association: '_InspectionValuationResult'
      qase.mbewertg                                                                                        as InspectionValuationResult,
      @ObjectModel.foreignKey.association: '_CharcAttributeCodeGrp'
      qase.gruppe1                                                                                         as CharacteristicAttributeCodeGrp,
      qase.gruppe2                                                                                         as InspectionResultCodeGroup2,
      qase.gruppe3                                                                                         as InspectionResultCodeGroup3,
      qase.gruppe4                                                                                         as InspectionResultCodeGroup4,
      qase.gruppe5                                                                                         as InspectionResultCodeGroup5,
      @ObjectModel.foreignKey.association: '_CharcAttributeCode'
      qase.code1                                                                                           as CharacteristicAttributeCode,
      qase.code2                                                                                           as InspectionResultCode2,
      qase.code3                                                                                           as InspectionResultCode3,
      qase.code4                                                                                           as InspectionResultCode4,
      qase.code5                                                                                           as InspectionResultCode5,
      qase.version1                                                                                        as CharcAttributeCodeVers,
      qase.version2                                                                                        as InspectionResultCode2Vers,
      qase.version3                                                                                        as InspectionResultCode3Vers,
      qase.version4                                                                                        as InspectionResultCode4Vers,
      qase.version5                                                                                        as InspectionResultCode5Vers,
      qase.katalgart1                                                                                      as CharacteristicAttributeCatalog,
      qase.katalgart2                                                                                      as InspectionResultCatalog2,
      qase.katalgart3                                                                                      as InspectionResultCatalog3,
      qase.katalgart4                                                                                      as InspectionResultCatalog4,
      qase.katalgart5                                                                                      as InspectionResultCatalog5,
      qase.pruefer                                                                                         as Inspector,
      qase.pruefdatuv                                                                                      as InspectionStartDate,
      qase.pruefzeitv                                                                                      as InspectionStartTime,
      qase.pruefdatub                                                                                      as InspectionEndDate,
      qase.pruefzeitb                                                                                      as InspectionEndTime,
      qase.anzfehler                                                                                       as InspectionNumberOfDefects,
      qase.fehlklas                                                                                        as DefectClass,
      qase.diff_dec_places                                                                                 as InspResultNrOfAddlDcmlsPlaces,
      @Semantics.user.createdBy: true
      qase.ersteller                                                                                       as CreatedByUser,
      @Semantics.systemDate.createdAt: true
      qase.erstelldat                                                                                      as CreationDate,
      @Semantics.user.lastChangedBy: true
      qase.aenderer                                                                                        as LastChangedByUser,
      @Semantics.systemDate.lastChangedAt: true
      qase.aenderdat                                                                                       as LastChangeDate,
      qase.zeitaend                                                                                        as ChangedTime,
      qase.zeiterstl                                                                                       as CreationTime,

      // Association

      _InspectionLot,
      _InspectionOperation,
      _InspectionCharacteristic,
      _InspSubsetCharacteristic,
      _InspResultValueLongText,
      _CharcAttributeCodeGrp,
      _CharcAttributeCode,
      _InspectionResultAttribute,
      _InspectionValuationResult
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"QASE"
],
"ASSOCIATED":
[
"E_INSPECTIONRESULTVALUE",
"I_CHARCATTRIBUTECODE",
"I_CHARCATTRIBUTECODEGRP",
"I_INSPECTIONCHARACTERISTIC",
"I_INSPECTIONLOT",
"I_INSPECTIONOPERATION",
"I_INSPECTIONRESULTATTRIBUTE",
"I_INSPECTIONVALUATIONRESULT",
"I_INSPRESULTVALUELONGTEXT",
"I_INSPSUBSETCHARACTERISTIC"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/