Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Function Module to remove user a Role

Hi

I'm looking for a functional module that will remove a user from a Role.

I've seen that I can add a user by using PRGN_RFC_ADD_USERS, but not sure how to remove a user.

Thanks

Tags:
replied

Read current user assignment with BAPI_USER_GET_DETAIL remove those no longer required  from table ACTIVITYGROUPS and then update with BAPI_USER_ACTGROUPS_ASSIGN followed by BAPI_TRANSACTION_COMMIT.

Regards,

Raymond

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question