Skip to Content
author's profile photo Former Member
Former Member

Deactivate unusable business roles

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.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 06, 2011 at 08:58 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 17, 2012 at 12:37 AM

    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 😉

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.