P_PPM_AuthorizationByUserRole

DDL: P_PPM_AUTHORIZATIONBYUSERROLE SQL: PPPMAUTHUSRROLE Type: view BASIC

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.

Data Sources (2)

SourceAliasJoin Type
aco_role RoleAuth from
agr_users UserRole inner

Annotations (6)

NameValueLevelField
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

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY ReferencedObjectUUID aco_role object_id Transaction ID
KEY Activity aco_role activity VAT Activity
KEY UserID agr_users uname User Name
ObjectType aco_role type Worklist Type

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view P_PPM_AuthorizationByUserRole.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: PPPMAUTHUSRROLE

CREATE VIEW P_PPM_AuthorizationByUserRole AS
SELECT
  RoleAuth.object_id AS ReferencedObjectUUID,
  RoleAuth.activity AS Activity,
  UserRole.uname AS UserID,
  RoleAuth.type AS ObjectType
FROM aco_role AS RoleAuth
INNER JOIN agr_users AS UserRole ON /* join condition not captured in parsed metadata */
;