S_POAuthUser

DDL: S_POAUTHUSER SQL: SPOAUTHUSER Type: view

User with PO Approval Authorization

S_POAuthUser is a CDS View that provides data about "User with PO Approval Authorization" in SAP S/4HANA. It reads from 3 data sources (S_POAuthProfile, S_POAuthProfile, usrefus) and exposes 1 field.

Data Sources (3)

SourceAliasJoin Type
S_POAuthProfile S_POAuthProfile inner
S_POAuthProfile S_POAuthProfile inner
usrefus usrefus inner

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName SPOAUTHUSER view
AbapCatalog.compiler.compareFilter true view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
EndUserText.label User with PO Approval Authorization view

Fields (1)

KeyFieldSource TableSource FieldDescription
bnameasUserID
@AbapCatalog.sqlViewName: 'SPOAUTHUSER'
@AbapCatalog.compiler.compareFilter: true
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #L
@AccessControl.authorizationCheck: #PRIVILEGED_ONLY
@EndUserText.label: 'User with PO Approval Authorization'
define view S_POAuthUser
  as select distinct from usrbf2 as _User
    inner join            S_POAuthProfile on S_POAuthProfile.Profile = _User.auth

{
  _User.bname as UserID
}
where
  _User.objct like 'M_BEST%'

union select distinct from usrbf2
  inner join               S_POAuthProfile on S_POAuthProfile.Profile = usrbf2.auth
  inner join               usrefus         on usrbf2.bname = usrefus.refuser
{
  usrefus.bname as UserID
}
where
  usrbf2.objct like 'M_BEST%'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"S_POAUTHPROFILE",
"USRBF2",
"USREFUS"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0
}
}*/