Assign the User Roles

  • How to create and assign a role collection in the SAP BTP subaccount.

slavipande

Prerequisites

  • You have an enterprise global account in SAP BTP. To use services for free, you can sign up for a CPEA (Cloud Platform Enterprise Agreement) or a Pay-As-You-Go for SAP BTP global account and make use of the free tier services only. See Using Free Service Plans .
  • You have an S-user or P-user. See User and Member Management .
  • You are an administrator of the global account in SAP BTP.
  • You have a subaccount in SAP BTP to deploy the services and applications.
  • Mozilla Firefox
  • Google Chrome
  • Microsoft Edge
  • You have deployed your application in either the SAP BTP, Cloud Foundry runtime or the SAP BTP, Kyma runtime. See Deploy in SAP BTP, Cloud Foundry Runtime for deploying to the SAP BTP, Cloud Foundry runtime and Deploy in SAP BTP, Kyma Runtime for deploying to the SAP BTP, Kyma runtime.

Open the SAP BTP cockpit and navigate to your subaccount.

Choose Security → Role Collections , and then choose Create .

Role Collections

In the Create Role Collection popup, enter Incident Management Support in the Name field and choose Create .

Create Role Collection

Choose the role collection Incident Management Support from the list of role collections and choose Edit on the right.

Edit Role Collection

Open the value help in the Role Name field.

Value Help

Search for the role support , select it, and choose Add .

Add Role

Choose Save .

Choose Security → Users , and then choose a user from the list.

Under Role Collections on the right, choose Assign Role Collection .

role collection

In the Assign Role Collection dialog, select the Incident Management Support role collection and choose Assign Role Collection .

role collection

You have assigned the Incident Management Support role collection to your user.

You might need to log out and log back in to make sure your new role collection is taken into account.

What is the name of the role that's created in your SAP BTP account as part of your application's deployment?

  • Create a role collection and add role
  • Assign a role collection to a user

SAP Logo

2287206 - Using an assignment profile to change user Roles

  • Admin created a user role for all Client users. When Admin Logs in as a Site User, they see that the site users are attached to the Default user role. How can they set the newly created role as a Default for site users?
  • How to create Assignment profile
  • How to change role of all users at once
  • User role changed in Connector Configuration --> User Connectors to default role but this role is not applied for old users user.connector.defaultValue.studentRoleID= USER ROLE

Environment

SAP Success factor: Learning Management System(LMS)

There are 3 general ways of changing the role for multiple users, you can do this using:

  • A user connector (System Admin >> Connectors)
  • Import Data tool (System Admin >> Tools)
  • Assignment Profile: a. Here what you want to do is the third option, add your role to an assignment profile and propogate this down to the desired users. This will replace their default role with your new role. b. You can use  Users >Assignment Profiles>Roles  to change a role for each user who is associated with the assignment profile. Propagating updates the role in  Users>Users>Summary. Propagating can also change a      user's access to the user interface depending on the role's workflows. After you add a role to the assignment profile, the role can have one of the following statuses: Valid (the assignment profile has been propagated) and Add Pending (the assignment profile has not been propagated). c. Be careful to only use one Valid assignment profile and role per user as the danger is they can overwrite each other.

assignment;profiles;role;change;user;default , KBA , LOD-SF-LMS-COR , LMS Core - Items, Catalog, Curricula , How To

Privacy | Terms of use | Legal Disclosure | Copyright | Trademark

Mass user to Role assignment using SECATT

We have already discussed how to create mass users using SECATT. This is one of those issues which Security Consultants always face during their day to day security activities. In this section, we are going to discuss on How to do Mass user to Role assignment using SECATT. It will not be a very tough task if all the users have to be assigned the same roles, which we can easily do using SU10 tcode.

But what if mass users have to be assigned different roles?

We can use SECATT script for this purpose. But the main question is – Can we use SU01 tcode for this script? The answer is a BIG NO . We know that SECATT Scripts are screen dependent and it follows the same steps and inserts data at the same place where we insert during recording of the scripts. Hence, if we use SU01 for role assignment to users, SECATT will try to insert the role at the same position again and again and hence it will fail. Then what is the solution? The solution is using SU10 tcode instead of SU 01. Lets start with SECATT for mass user to role assignment task.

(1) Step 1 – Recording the Tcode Execution

Lets name the script as Z_MASS_USER_ROLE_ASSIGNMENT and click create.

role assignment to users in sap

  • Enter the title as “Mass User to Role Assignment”
  • Enter Component as “BC-SEC-USR-ADM”
  • Click Pattern as shown in the figure below

role assignment to users in sap

The system will then prompt “Create Object Directory Entry Box”. Select Local Object.

role assignment to users in sap

  • Now in Insert Statement Dialog window, select UI Control for Group .
  • Select TCD (Record) for Command.
  • Select SU10 for Transaction. Press Enter. The Interface will get populated automatically with SU10_1.
  • Click Continue check mark.

role assignment to users in sap

From this step onwards every step is recorded. So we need to be a little careful not to click any option which is not required. Clicking the continue check mark takes to the User Maintenance (SU10) screen. Follow the steps for assigning a role to a user id and click Save. Lets take the example of a user – ZTEST and assign a role using SU10 as shown below:

  • Execute tcode SU10. Gve user id ZTEST and click “change”
  • In the next screen, go to “Roles” tab. Select the “Add” radio button.
  • Add a role and role validity

role assignment to users in sap

  • In the next screen, Click Save to save the recorded test script.

(2) Step 2 – Creating the Parameters

As already discussed during the earlier discussion on SECATT, the next step after “Recording of tcode execution” is Creating the Parameters . Here, the VALINS (Values that were entered during the recording) are converted to Parameter Values. Lets see how this is done.

  • Double click the interface value SU10_1.

role assignment to users in sap

  • On expanding the dynpro mode, we get various sets of screens numbered [1], [2], [3] etc. Expand the 1st [1] set of screen.
  • Double click on FIELD MODE (as shown in the figure below)

role assignment to users in sap

  • On the right side of the screen, we get certain values for interface SU10_1. Double click on the value that was entered during user to role assignment. For example, we had used user id as ZTEST. Double click on the value (ZTEST here).

role assignment to users in sap

Change ‘ZTEST’ to ZUSERID and click Back button as shown below:

role assignment to users in sap

(3) STEP 3 – Creating Test Configuration

  • Enter Test Configuration Name and click create icon as shown below:

role assignment to users in sap

  • Enter Description of the Test Configuration (Here we have entered configuration as “Test Configuration for User to Role Assignment”)
  • Enter Component as “BC-SEC-USR-ADM”. Click Save.

role assignment to users in sap

  • System will prompt with “Create Object Directory Entry” Dialog window. Click Local Object.
  • Now select “ Configuration ” tab.
  • In the “Test Script” text box, enter the Test script name that we had created in the Step 1. (We had created Test Script Z_MASS_USER_ROLE_ASSIGNMENT )

role assignment to users in sap

  • Select Utilities -> Settings
  • Now select eCATT tab and then External tab
  • Also set the path for eCATT Objects, Variants and WebDynpro . We have set the path to Desktop as shown in the figure below:

role assignment to users in sap

  • Click Continue check mark
  • Now download variants using “Download Variants” button as shown below:

role assignment to users in sap

  • By default it will be downloaded to Desktop as we had set the path for variant download as Desktop in our previous step.
  • The system will prompt with “Download Variant Data” dialog box. Click Yes:

role assignment to users in sap

(4) Step 4 – Updating and Uploading the Variant file

The variant file ( VAR_ECTC_Z_MASS_USER_ROLE_ASSIGNMENT.TXT ) gets downloaded to the desktop.

The file is in .txt format. The values present in this file should not be modified. For mass users to role assignment, we need to update this file with the list of users and roles which need to be assigned. The best way to do that is to open this file in .xls format as already discussed earlier (right click on the file and open with Microsoft excel). Now update this file with the list of mass roles which need to be assigned to mass users.

Save the file and make sure that we use it in .txt format in SAP since the script reads .txt format.

  • Click Variants tab and select External Variants/Path. Select the Variant file and click execute.

role assignment to users in sap

Make sure that the variant file is not open while execution. When system prompts to save the configuration, save it.

Execute the File. Mass users to Role Assignment process starts and ends with a log file.

Please  Note : Due to Technical changes into SU01/SU10, SECATT no longer works for SU01/SU10 post Netweaver Release 7.3. Please refer to SAP Note 1864062 for more details.

  • Kale by LyraThemes.com.

Managing the User Role

After completing this lesson, you will be able to:

  • Create a User Role in SAP Fieldglass.

Many organizations have users who will need identical access to functions within SAP Fieldglass, but it can be laborious and time-consuming to have to set up those permissions for individual users. Therefore, SAP Fieldglass uses what’s called a User Role to define a set of permissions based upon a particular need. That User Role can then be assigned to users who require that set of permissions.

image depicting functions converging into user role, which is then distributed to users

For instance, Mavis, as a hiring manager at WorkingNet, uses SAP Fieldglass to create job postings and work orders to help her procure and manage workers. Since there are other hiring managers who need identical access, instead of having to define each user’s permissions separately, WorkingNet created a User Role called "Hiring Manager" and associated it to the job postings, work orders, time sheets, and invoices that hiring managers need. That user role, in turn, is then assigned to Mavis and all of the other hiring managers, granting them access to the functions that are associated to that user role.

Navigating the User Role Admin Object

screenshot of the User section of the admin menu, the User Role link is highlighted

1Select from the User section of the admin menu to view the list of user roles assigned to the organization’s tenant.

User Role List Page

Both transactional permissions and administrative permissions can be configured, so virtually every function within SAP Fieldglass can be assigned to a user role.

screenshot of user role list page showing several user roles; the hiring manager link in the name column is highlighted

2The column indicates the number of SAP Fieldglass user in the tenant are assigned to each role. Each number in the column is a link that can access a list of the users associated to the respective roles.
3To review the details of a user role, select the link of the role in the column.

User Role Details Page

The details page is presented as a table indicating the types of permissions that the user has been granted by module or admin object. The page is further divided by User Permissions, which is presented first, and Administrative Permissions, which can be found by scrolling down the page.

Not all functions are present for every module and permissions can have dependencies on other permissions.

Access can be set to include any combination that allows a user to view, submit, manage, approve, close, pay, and even set the financial considerations for an item.

split screenshot of the hiring manager user details page with the user permissions and the administrative permissions sections and the permission type column headings highlighted

4

indicate what access a user has to perform functions on the data object.

5The section indicates the permissions the user has been granted to perform transactions. These are the functions performed by end users, such as viewing or creating job postings, statements of work, or work orders.
6The section indicates what, if any, admin objects the user is able to access.
7If you’re required to create a new user role that has similar permissions to an existing role, you can save time by selecting the Copy button, entering a new Name for the copied role, and then making necessary changes to create a new role.

Create a User Role

WorkingNet requires a new user role for the Finance Department.

They are in the process of onboarding a team that will be responsible for the invoicing portion of the finance process. That includes creating, approving, and managing the invoices.

As the SAP Fieldglass administrator for WorkingNet, you will need to create this new user role.

Log in to track your progress & complete quizzes

IMAGES

  1. List SAP User-Roles Assignments in ABAP Code

    role assignment to users in sap

  2. How to Create Composite Roles in SAP Security

    role assignment to users in sap

  3. List SAP User-Roles Assignments in ABAP Code

    role assignment to users in sap

  4. How to Assign Role(s) to Multiple Users in SAP

    role assignment to users in sap

  5. How to Find SAP Role Users Assigned for Transaction Code

    role assignment to users in sap

  6. How to Find SAP Role Users Assigned for Transaction Code

    role assignment to users in sap

VIDEO

  1. SAP and IdeaScale

  2. SAP CLIENT COPIES (LOCAL & REMOTE)

  3. Setting up user roles & permissions

  4. SAP Assignment 2 Walk Through

  5. Best Tips for handling the role of SAP Support Consultant

  6. How to create a new custom role in Ans?

COMMENTS

  1. Assigning business roles to a user in SAP FIORI

    In the User Maintenance screen, enter the user ID of the user who you want to assign a role to. Choose Change. In the Maintain User view, choose the Roles. In the Role field, enter the role name. Use the wildcard *BR* to search for all relevant roles. You can assign several roles to a user at this stage if necessary.

  2. table name to find out roles assigned to USER

    It will give you the users in that role. 07-08-2008. User Information System -> Roles -> By User Assignment. Hope it helps you. 07-08-2008. Hi. Go to SU01 or SU01D and enter the user name and display , Go to roles TAB and you can view the roles assigned to the user.

  3. Assigning business roles to a user in SAP S/4HANA On'prem

    In this case, assign all business roles to your user. 1. In the SAP NetWeaver Gateway system, choose one of the following navigation options: 2. In the User Maintenance screen, enter the user ID of the user who you want to assign a role to. 3. Choose Change. 4. In the Maintain User view, choose the Roles tab.

  4. Describing Basic Roles for SAP Fiori

    In the User Maintenance (SU01) of your SAP S/4HANA (S4H) system, create the user FLP_USER_##. Assign the SAP_BR_UX100_RAPID_ACTIVATION role to the user. In the SAP Easy Access menu of your S4H, search for User Maintenance or start transaction SU01. In the User field, enter FLP_USER_##. Choose Create. In the Last name field, enter your name.

  5. Creating Database Users, Roles and Assigning Permissions in SAP H

    The user account allows you, after successful authentication, to log on to the SAP HANA database. To be able to work with the data in the database, your user account needs to be granted the correct privileges. These privileges can be assigned via roles or directly to your user account. SAP HANA Cloud supports two types of user accounts ...

  6. BASIC UNDERSTANDING OF ROLES AND AUTHORIZATION

    BASIS team have a know how about the User Management, Roles Creation, Profile Creation, Roles and Profile assignment, Authorization assignments etc. but main concern in most of the cases arises when the below questions are unanswered by BASIS team: ... Roles and Authorizations allow the users to access SAP Standard as well as custom ...

  7. Assign a Standard Role to a User

    Choose a role or composite role from the displayed list of standard roles by double-click. The user menu for the selected role or composite role (such as SAP_FI_FM_BU_PLANNING) is displayed. This does not create an assignment to your user. 3. To assign the currently displayed role directly to one or more users, choose Assign user.

  8. How to Assign Role(s) to Multiple Users in SAP

    1. Execute transaction code SU10. Locate the 100 users (You can get the users via following Address Data > on the next just click F8 > select the 100 users > Transfer). Now click on Change (Shift+F6). 2. Switch to Roles tab and from here, you can add the desired role (s). Click Save to apply the changes. sap role. Execute transaction code SU10.

  9. Assigning Roles

    Assigning Roles to Users in User Maintenance. 1. Choose Tools → Administration → User Maintenance → Users (transaction SU01). 2. Specify the user to which you want to assign one or more roles. 3. Specify any number of roles on the Roles tab page. 4. To assign a role to a user for a limited time, specify a date in the Valid from or the ...

  10. Listing all User name with respective assigned Roles in SAP system and

    Step2: Run the transaction SE16 - Data Browser and enter table name ' AGR_USERS ' and click on ' Table Contents ' button. Step3: In selection screen, remove the 'Width of Output list ' and 'Maximum No. of hits ' default values to list all. Step4: Click Execute, we can see the list of all users and respective assigned authorization roles.

  11. Assigning Roles to Users and Groups (SAP Library

    The role is added to the list of roles assigned to the user or group. To remove a role, select from the assigned roles and choose Remove. 6. Choose Save. You can also assign users and groups to roles, by searching for a role and from the Details view selecting users and groups in the Assigned Users and Assigned Groups tabs. Result

  12. Role Administration

    These roles form the link between the user and the corresponding authorizations. The actual authorizations and profiles are stored in the SAP system as objects. With the roles, you assign to your users the user menu that is displayed after they log on to the SAP system. Roles also contain the authorizations that users can use to access the ...

  13. Assign the User Roles

    You have an enterprise global account in SAP BTP. To use services for free, you can sign up for a CPEA (Cloud Platform Enterprise Agreement) or a Pay-As-You-Go for SAP BTP global account and make use of the free tier services only. See Using Free Service Plans. You have an S-user or P-user. See User and Member Management.

  14. Creating and Customizing Business Roles

    A business user is an employee, contractor, administrator, or other person who needs access to the SAP S/4HANA Cloud system. They can be assigned one or more business roles.A business role includes one or more business catalogs that grant access to data and/or applications (SAP Fiori or SAP GUI for HTML apps) for the user to complete their job tasks. The user interface a user interacts with in ...

  15. Solved: Re: How to display users with their assigned roles...

    1 Kudo. Open SUIM. =>User => Users by Complex Selection Criteria => By Role. Enter role name Z* (assuming you are not giving default roles to users) Execute. After you get list, press Roles on the list screen, and after that. => List => Export => File => Spreadsheet. Choose a save location for your excel file.

  16. SAP Help Portal

    SAP Help Portal

  17. SAP Help Portal

    SAP Help Portal

  18. Explaining the Provisioning of Users and Roles in SAP Build Work

    Directly assign the roles inside SAP Build Work Zone, using a dedicated API. This presents one of two REST APIs based on the System for Cross-domain Identity Management (SCIM 2.0) specification. ... However, the creation of users and role assignment in the Digital Workplace Service (DWS) is mandatory even for the initial login to SAP Build Work ...

  19. Solved: Business Role Group assignment to Business User

    Accepted Solutions (1) 05-26-2023. Dear Customer, Actually, the Maintain Business Role Groups and Maintain Business User Groups features were created to assign Roles to Role Groups and Users to Users Groups in order to help you to organize your area. However, it's not part of the functionality to assign Role Group to User or User Group to Role.

  20. Function module to get the roles assigned to user

    Below select query is used to get the roles assigned to the user. SELECT agr_name FROM agr_users APPENDING TABLE lt_role_in WHERE uname eq <uname> AND from_dat <= sy-datum AND to_dat >= sy-datum AND exclude EQ space . all the very best. Sreenivasa sarma K.

  21. Establishing Users Roles and Permissions

    By creating roles and assigning them to users, the SAP Business Network Buyer Account administrator controls who can log in to the account and which service or feature each user can access. ... Definitions: Role. A role is defined by the assignment of selected permissions, which grant access to specific Buyer Account tabs, features, and ...

  22. 2508189

    Visit SAP Support Portal's SAP Notes and KBA Search. You want to assign a portal role to multiple users at a time.

  23. 2912912

    Search for additional results. Visit SAP Support Portal's SAP Notes and KBA Search. Users can have multiple roles assigned into Controls, Orgunits, Subprocess. Is there any easy way to track all this information?

  24. 2287206

    How to create Assignment profile. How to change role of all users at once. User role changed in Connector Configuration --> User Connectors to default role but this role is not applied for old users. user.connector.defaultValue.studentRoleID= USER ROLE.

  25. Table to view who has assigned Roles to users

    By using function module SUSR_CHANGE_DOC_ROLES we are able to see who has assigned roles to users. Is there a table where the Assigned By of a User-Role assignment can be seen? SAP Managed Tags: ABAP Development, ABAP Extensibility, NW ABAP User Administration and Authorization. roles and authorizations.

  26. Mass user to Role assignment using SECATT

    Execute tcode SU10. Gve user id ZTEST and click "change". In the next screen, go to "Roles" tab. Select the "Add" radio button. Add a role and role validity. Click save. Once the user id to role assignment process is over and we have clicked the save button, its time to end the recording. To end the recording, click the button in ...

  27. Managing the User Role

    The Users column indicates the number of SAP Fieldglass user in the tenant are assigned to each role. Each number in the column is a link that can access a list of the users associated to the respective roles. 3: To review the details of a user role, select the link of the role in the Name column.