I_InternalOrderUserVH

DDL: I_INTERNALORDERUSERVH Type: view_entity COMPOSITE

Internal order user

I_InternalOrderUserVH is a Composite CDS View that provides data about "Internal order user" in SAP S/4HANA. It reads from 1 data source (I_User) and exposes 4 fields with key field UserID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_User I_User from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_InternalOrder _InternalOrder I_User.UserID = _InternalOrder.CreatedByUser or I_User.UserID = _InternalOrder.LastChangedByUser or I_User.UserID = _InternalOrder.InternalOrderResponsibleUser

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
EndUserText.label Internal order user view
Search.searchable true view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.dataCategory #VALUE_HELP view
Consumption.ranked true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY UserID UserID
UserDescription UserDescription
IsTechnicalUser
_InternalOrder _InternalOrder
@AccessControl: {
  authorizationCheck: #CHECK,
  personalData.blocking: #BLOCKED_DATA_EXCLUDED
}
@EndUserText.label: 'Internal order user'
@Search.searchable: true
@VDM: {
  viewType: #COMPOSITE
}
@ObjectModel:{
  usageType: {
    serviceQuality: #C,
    sizeCategory: #L,
    dataClass: #MIXED
  },
  dataCategory: #VALUE_HELP
}
@Consumption.ranked: true
define view entity I_InternalOrderUserVH
  as select from I_User
  association [0..*] to I_InternalOrder as _InternalOrder on I_User.UserID = _InternalOrder.CreatedByUser
                                                          or I_User.UserID = _InternalOrder.LastChangedByUser
                                                          or I_User.UserID = _InternalOrder.InternalOrderResponsibleUser
{
      @Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.8 }
      @ObjectModel.text.element: ['UserDescription']
      @UI.textArrangement: #TEXT_LAST
  key UserID,
      @Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.8 }
      UserDescription,
      cast (IsTechnicalUser as fco_io_is_technical_user preserving type ) as IsTechnicalUser,

      // For Access control

      _InternalOrder
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_USER"
],
"ASSOCIATED":
[
"I_INTERNALORDER"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/