I_EHSQuestionPriority

DDL: I_EHSQUESTIONPRIORITY Type: view_entity BASIC Package: EHAIM_BO_QUESTIONNAIRE

EHS Question Priority

I_EHSQuestionPriority is a Basic CDS View that provides data about "EHS Question Priority" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields with key field EHSQnaireQuestionPriorityCode. It has 1 association to related views. Part of development package EHAIM_BO_QUESTIONNAIRE.

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_EHSQuestionPriorityText _Text $projection.EHSQnaireQuestionPriorityCode = _Text.EHSQnaireQuestionPriorityCode

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label EHS Question Priority view
VDM.viewType #BASIC view
ObjectModel.representativeKey EHSQnaireQuestionPriorityCode view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MASTER view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY EHSQnaireQuestionPriorityCode
_Text _Text
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'EHS Question Priority'
@VDM.viewType: #BASIC

@ObjectModel: {
  representativeKey: 'EHSQnaireQuestionPriorityCode',
  usageType:{
  serviceQuality: #A,
  sizeCategory: #S,
  dataClass: #MASTER
}
}

define view entity I_EHSQuestionPriority
  as select from dd07l
  association [0..*] to I_EHSQuestionPriorityText as _Text on $projection.EHSQnaireQuestionPriorityCode = _Text.EHSQnaireQuestionPriorityCode
{
          @ObjectModel.text.association    : '_Text'
  key     cast( domvalue_l as ehfnd_qnaire_ques_priority) as EHSQnaireQuestionPriorityCode,
          _Text
}
where
      domname  = 'EHFND_QNAIRE_QUES_PRIORITY'
  and as4local = 'A'