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

Assigning role/profile

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

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jul 05, 2004 at 02:46 PM

    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

    Add comment
    10|10000 characters needed characters exceeded