cancel
Showing results for 
Search instead for 
Did you mean: 

Deactivate unusable business roles

Former Member
0 Kudos

Hi, colleagues

How to deactivate unusable business roles in Web UI?

We want to show only some of business roles, not all.

I know about parameter CRM_UI_PROFILE and about pfcg-roles.

But how to deactivate standard business roles, for example?

We need to use only created Z-roles and show only them for all users.

Denis.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I do not think there is any standard configuration for deactivating the roles.

We can achieve it by some enhancement.

You can do as follows.

Create one Z table with Role and ACTIVATE columns.

then create implicit enhancement in Class CL_CRM_UI_PROFILE_DETERM MEthod : LOAD_PROFILES

Where you can read the customizing from Z table and delete the entries from class attributes me->profiles & ME->profiles_nested.

This will not show that business role when you log in to web UI even with CRM_UI_PROFILE = * in User Parameters.

Answers (1)

Answers (1)

monika_suchy2
Explorer
0 Kudos

Please check my document

http://scn.sap.com/people/monika.suchy2/blog/2013/07/25/restrict-access-to-business-roles-in-web-ui

It describes a way to restrict business roles using an own authorization object.

Monika