P_PPM_AuthorizationByUserRole
P_PPM_AuthorizationByUserRole is a Basic CDS View in SAP S/4HANA. It reads from 2 data sources (aco_role, agr_users) and exposes 4 fields with key fields ReferencedObjectUUID, Activity, UserID.
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PPPMAUTHUSRROLE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
@AbapCatalog.sqlViewName: 'PPPMAUTHUSRROLE'
@AbapCatalog.compiler.compareFilter: true
@VDM.viewType: #BASIC
@VDM.private:true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
// @EndUserText.label: 'PPM Object Authorization for a user by role assignment'
define view P_PPM_AuthorizationByUserRole as
select from aco_role as RoleAuth
inner join agr_users as UserRole on RoleAuth.role_id = UserRole.agr_name
{
key RoleAuth.object_id as ReferencedObjectUUID,
key RoleAuth.activity as Activity,
key UserRole.uname as UserID,
RoleAuth.type as ObjectType
}
where UserRole.exclude = ''
and UserRole.from_dat <= $session.system_date
and UserRole.to_dat >= $session.system_date
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