cancel
Showing results for 
Search instead for 
Did you mean: 

How to mass assign Business roles to business users ?

Laurent_BOUVIER
Explorer
0 Kudos

Hello,

is there an apps (or a tool) to assign the business roles to the business users in mass ?

It takes a long time with :

-Apps "Maintain Business Roles", selet a role, then assign the users to this role

-Apps "Maintain Business Users", select a user, then assign the roles one by one

Thanks for your help !

Best Regards,

Laurent

Accepted Solutions (1)

Accepted Solutions (1)

MartyMcCormick
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Laurent

Although it will not be standard in the UI, there is functionality coming in 1805 to mass assign roles to Business Users using an API. Check the What's New Guide section 12.17 https://help.sap.com/doc/15f1680efadc49d1b0b02d2c647dde5e/1805.500/en-US/PRELIM_WN_CE1805.pdf

It will be a synchronous SOAP Service, and based on the information I found when S/4HANA Cloud 1805 is released the documentation can be found in the SAP Help Portal with title "Business User - Create, Update, Delete" (technical name: ManageBusinessUserIn).

Thanks,

Marty

Answers (4)

Answers (4)

Laurent_BOUVIER
Explorer
0 Kudos

I managed to mass assign business roles to users through the API. In the meantime, I created a feature request.

Thanks for your help.

Borja
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Laurent,

On Maintain Business Roles you can add business catalogs to an existing business role and them will be automatically assigned to all assigned business users.

But I don't see a way to massively assign business roles to business users. You shall create a feature request for this.

Best regards, Borja

MartyMcCormick
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Laurent

I just wanted to provide the links for assigning roles to users now that 1805 is released. Here is the API

https://api.sap.com/shell/discover/contentpackage/SAPS4HANACloud/api/MANAGEBUSINESSUSERIN/overview

And here is the business documentation

https://help.sap.com/viewer/c154a4d95870416ea0af012a6ddae2d8/1805.500/en-US/640fb5fa26664a7486de073b...

Thanks,

Marty

0 Kudos

Hi Laurent

You can try this to do mass role/user maintenance.

APP maintain business role

Search for Business Role ID "SAP_BR_PURCHASER" for example

Select the Business Role ("SAP_BR_PURCHASER") to get the detail view of it

Choose Tab "Assigned Business Users"

Now you see all assigned Business Users to this role "SAP_BR_PURCHASER"

Click on Button "Add"

Select all listed Business Users and apply your changes

Close the Pop-Up

Activate your changes

Borja
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Laurent,

On Maintain Business Roles you can add business catalogs to an existing business role and them will be automatically assigned to all assigned business users.

But I don't see a way to massively assign business roles to business users. You shall create a feature request for this.

Best regards, Borja

Laurent_BOUVIER
Explorer
0 Kudos

Thanks Brian.

Your procedure is exactly what I mentioned under "Apps "Maintain Business Roles", selet a role, then assign the users to this role".

Any other idea to do it in mass ? Cause this is not relevant for hundred of users with different roles.