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 a comment
10|10000 characters needed characters exceeded

Related questions

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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.