I_RequestOwners

DDL: I_REQUESTOWNERS Type: view_entity

Request Owners

I_RequestOwners is a CDS View that provides data about "Request Owners" in SAP S/4HANA. It reads from 2 data sources (ust12, I_User) and exposes 2 fields with key field TransportRequestOwner.

Data Sources (2)

SourceAliasJoin Type
ust12 Authorization inner
I_User User inner

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Request Owners view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
Search.searchable true view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY TransportRequestOwner I_User UserID
UserDescriptionendasUserDescription
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Request Owners'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
  serviceQuality: #X,
  sizeCategory: #S,
  dataClass: #MIXED
}
@Search.searchable: true
define view entity I_RequestOwners
  as select distinct from P_OBJECT_AUTH as UserAuthorization
    inner join            ust12         as Authorization on  UserAuthorization.objct = Authorization.objct
                                                         and UserAuthorization.auth  = Authorization.auth
    inner join            I_User        as User          on UserAuthorization.bname = User.UserID
{

      @Search.defaultSearchElement : true
      @Search.fuzzinessThreshold : 0.8        
      @Search.ranking : #HIGH 
  key User.UserID as TransportRequestOwner,
      case User.UserDescription
      when '' then User.UserID
      else User.UserDescription
      end as UserDescription
}
where
       UserAuthorization.objct = 'S_TRANSPRT'
  and  Authorization.aktps     = 'A'
  and  Authorization.field     = 'TTYPE'
  and  Authorization.von       = 'CUST'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_USER",
"P_OBJECT_AUTH",
"UST12"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/