cancel
Showing results for 
Search instead for 
Did you mean: 

Assigning role/profile

Former Member
0 Kudos

Hi

I have to add profile or remove profile for a user. But the profile is of type generated one. So its giving me a warning while using function module SUSR_BAPI_USER_PROFILES_ASSIGN as to assign the role manually. Is there any function module that i can use in my program to add/remove a role to a user or add/remove a generated profile to a user.

Thanks in advance.

Sujit

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Sujit,

The generated profile shouldn’t be assigned alone (without corresponding role) for consistence reason, because a generated profile is just a technical part of the role.

You can assign role to the user with FM: BAPI_USER_ACTGROUPS_ASSIGN.

Best Regards,

Mikhail