N_InhRepairStatusText

DDL: N_INHREPAIRSTATUSTEXT Type: view

In-House Repair Status - Text

N_InhRepairStatusText is a CDS View that provides data about "In-House Repair Status - Text" in SAP S/4HANA. It reads from 1 data source (I_SrvcLifeCycleSystemStatusT) and exposes 5 fields with key fields InhRepairStatus, Language. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_SrvcLifeCycleSystemStatusT I_SrvcLifeCycleSystemStatusT from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_InhRepairStatus _InhRepairStatus $projection.InhRepairStatus = _InhRepairStatus.InhRepairStatus

Annotations (13)

NameValueLevelField
EndUserText.label In-House Repair Status - Text view
VDM.auxiliaryEntity.for.entity I_InhRepairStatusText view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.dataCategory #TEXT view
ObjectModel.representativeKey InhRepairStatus view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #CUSTOMIZING view
Metadata.ignorePropagatedAnnotations true view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName NIHRSTATUSTEXT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY InhRepairStatus SrvcLifeCycleSystemStatus
KEY Language Language
InhRepairStatusName SrvcLifeCycleSystemStatusName
_InhRepairStatus _InhRepairStatus
_Language _Language
@EndUserText.label: 'In-House Repair Status - Text'
@VDM: {
    auxiliaryEntity.for.entity: 'I_InhRepairStatusText',   
    auxiliaryEntity.usage.type: [#ENTERPRISE_SEARCH]
}
@AccessControl: {
    authorizationCheck: #NOT_REQUIRED
}
@ObjectModel: {
    dataCategory: #TEXT,
    representativeKey: 'InhRepairStatus',
    usageType: {serviceQuality: #C, sizeCategory: #L, dataClass: #CUSTOMIZING}
}
@Metadata: {
    ignorePropagatedAnnotations: true
}
@ClientHandling: {
    algorithm: #SESSION_VARIABLE
}
@AbapCatalog: {
    sqlViewName: 'NIHRSTATUSTEXT',
    compiler.compareFilter: true,
    preserveKey: true
}

/*Enterprise search views do not support use of Unions.
As a workaround, we now show only the lifecycle status and revisit when new hex engine is ready
define view N_InhRepairStatusText
as 
select from I_InhRepairUserStatusText
  association [0..1] to I_InhRepairStatus as _InhRepairStatus on $projection.InhRepairStatus = _InhRepairStatus.InhRepairStatus
{

  key InhRepairUserStatus     as InhRepairStatus,
      @Semantics.language:true
      @ObjectModel.foreignKey.association: '_Language'
  key Language,
      @Semantics.text: true
      InhRepairUserStatusName as InhRepairStatusName,
      _InhRepairStatus,
      _Language
}
union*/
define view N_InhRepairStatusText
as select from I_SrvcLifeCycleSystemStatusT
association [0..1] to I_InhRepairStatus as _InhRepairStatus on $projection.InhRepairStatus = _InhRepairStatus.InhRepairStatus
{
      // $session.client               as mandt,

  key  SrvcLifeCycleSystemStatus     as InhRepairStatus,
       @Semantics.language:true
       @ObjectModel.foreignKey.association: '_Language'
  key  Language,
       @Semantics.text: true
       SrvcLifeCycleSystemStatusName as InhRepairStatusName,
       _InhRepairStatus,
       _Language
}