P_UserObjectAuth
Users with Object and Authorization
P_UserObjectAuth is a CDS View that provides data about "Users with Object and Authorization" in SAP S/4HANA. It reads from 4 data sources (usrefus, ust04, ust10s, ust10s) and exposes 7 fields. Part of development package SUSR.
Data Sources (4)
Annotations (4)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PUSEROBJECTAUTH | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Users with Object and Authorization | view |
@AbapCatalog.sqlViewName: 'PUSEROBJECTAUTH'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Users with Object and Authorization'
define view P_UserObjectAuth
as select distinct from ust04
left outer join ust10s on ust04.profile = ust10s.profn
{
ust04.bname,
ust04.profile,
ust10s.objct,
ust10s.auth
}
union all
select distinct from usr02
left outer join usrefus on usr02.bname = usrefus.bname
left outer join ust04 on usrefus.refuser = ust04.bname
left outer join ust10s on ust04.profile = ust10s.profn
{
ust04.bname,
ust04.profile,
ust10s.objct,
ust10s.auth
}
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