P_USR_AUTH_PROF
User with Profiles or Authorizations
P_USR_AUTH_PROF is a CDS View that provides data about "User with Profiles or Authorizations" in SAP S/4HANA. It reads from 7 data sources and exposes 13 fields.
Data Sources (7)
Annotations (4)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PUSRAUTHPROF | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | User with Profiles or Authorizations | view |
@AbapCatalog.sqlViewName: 'PUSRAUTHPROF'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'User with Profiles or Authorizations'
define view P_USR_AUTH_PROF
as select distinct from ust04
left outer join ust10s on ust10s.profn = ust04.profile
left outer join usr10 on ust04.profile = usr10.profn
left outer join usr11 on usr11.profn = ust04.profile
and usr11.langu = $session.system_language
and usr11.aktps = 'A'
{
ust04.bname,
ust04.profile,
ust10s.objct,
ust10s.auth,
cast( '' as us_refus ) as refuser,
usr10.typ,
usr11.ptext
}
union select distinct from usrefus
inner join ust04 on usrefus.refuser = ust04.bname
inner join ust10s on ust10s.profn = ust04.profile
inner join usr10 on ust04.profile = usr10.profn
left outer join usr11 on usr11.profn = ust04.profile
and usr11.langu = $session.system_language
and usr11.aktps = 'A'
{
usrefus.bname,
ust04.profile,
ust10s.objct,
ust10s.auth,
usrefus.refuser,
usr10.typ,
usr11.ptext
}
where
usrefus.refuser <> ''
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"USR10",
"USR11",
"USREFUS",
"UST04",
"UST10S"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA