Assign Roles in CRM

SAP CRM allows role assignment in two basic ways, indirectly through Business Roles in PPOMA_CRM or directly through security roles assigned to user masters in SU01.

Indirecty role assignment is recommended by SAP as for large organisations with many CRM users and business roles it can lead to significant reduction in maintenance effort. For indirect maintenace, the Business Roles are maintained on a position for a user.

Define OM structure - PPOMA_CRM
Define OM structure - PPOMA_CRM

To maintain the business role for an OM object like a position, we select the position in PPOMA_CRM and the menu path goto>detail object>Enhanced Object Description which opens transaction PP01.

PP01 - Initial Screen
PP01 - Initial Screen

From the initial PP01 screen, we can maintain the appropriate value for Business Role for the chosen position.

PP01 - Assigning Business Roles
PP01 - Assigning Business Roles

With the position linked to a user and a business role assigned to the position we are now in a position to assign a security role to the user. While its also possible to directly assign a security role to the user at this stage, SAP provides the report CRMD_UI_ROLE_ASSIGN to make our job easier.

Report CRMD_UI_ROLE_ASSIGN
Report CRMD_UI_ROLE_ASSIGN

The report can be run for both users or user groups. It basically looks up positions linked to the respective users, checks the business roles assigned to these positions and finally assigns the security roles corresponsing to them to the user masters. The report log after role assignment is shown below

Report CRMD_UI_ROLE_ASSIGN - Log
Report CRMD_UI_ROLE_ASSIGN - Log

It is also possible to directly assign a security role to a user rather than go through these intermediate steps outlines above. To make this work, in addition to the security role the user parameter CRM_UI_PROFILE needs to be maintained with the correct business role as part of the user master. This removes the need of maintaining the Business Role on the position. However, since all CRM users need to be part of OM structure, it makes sense to use the indirect assignement rather than the direct one.

3 thoughts on “Assign Roles in CRM

  • July 10, 2012 at 10:39 am
    Permalink

    Hello Aninda,

    How to check missing authorizations in SAP CRM by SU53 or ST01 or any other tool for analysis for SAP CRM Web UI type system.

    Regards:
    Giri.R

    Reply
    • July 11, 2012 at 3:36 pm
      Permalink

      Both SU53 or ST01 work in CRM as they do on ECC. For WebUI type analysis, I find ST01 to be more helpful as even a single UI screen will have multiple webservices and a trace will display the authority checks for all of them.

      Reply
  • December 14, 2012 at 12:26 pm
    Permalink

    good work Aninda, Very Nicely Explained… soon a project is going to kick off here which involves CRM applications on a big level.. the knowledge shared by you would be really helpful. thanks 🙂

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *