P_PROF
Get Profiles for users
P_PROF is a CDS View that provides data about "Get Profiles for users" in SAP S/4HANA. It reads from 3 data sources (usrefus, ust04, ust04) and exposes 5 fields. Part of development package SUSR.
Data Sources (3)
Annotations (4)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PPROF | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Get Profiles for users | view |
@AbapCatalog.sqlViewName: 'PPROF'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Get Profiles for users'
define view P_PROF
as select distinct from usr02
left outer join ust04 on usr02.bname = ust04.bname
{
usr02.bname,
@Consumption.hidden: true
usr02.class, // Do not export usergroup!
ust04.profile
}
union select distinct from usr02
left outer join usrefus on usr02.bname = usrefus.bname
left outer join ust04 on usrefus.refuser = ust04.bname
{
usr02.bname,
@Consumption.hidden: true
usr02.class, // Do not export usergroup!
ust04.profile
}
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