‎2009 Jul 24 9:35 AM
Hi Experts,
I want to know the function module to delete the user profile in SU01 transaction.
consider the scenario is like this, i want to delete SAP_ALL profile for a particular user id.
Thanks in advance.
Vijay.R
‎2009 Jul 24 9:41 AM
‎2009 Jul 24 9:52 AM
HI arjun,
Thanks for your reply.
But it is deleting the user itself.
But i want to delete the particular profile only (eg: SAP_ALL) and the other profile should not delete.
do u know any other function modue
Thanks in advance.
Vijay.R
‎2009 Jul 24 9:45 AM
‎2009 Jul 24 9:53 AM
Hi Dzed,
Thanks for your reply.
But it is deleting all the profiles created for the user.
But i want to delete the particular profile only (eg: SAP_ALL) and the other profile should not delete.
do u know any other function modue
Thanks in advance.
Vijay.R
‎2009 Jul 24 9:55 AM
In future, please use a meaningful subject. Your subject has NOTHING to do with the content of your post
Try searching for other BAPIs beginning BAPI_USER... Why is people won't put in a little effort to help themselves?
‎2009 Jul 24 10:01 AM
Hello
Yes, sorry. It deleting all profiles.
For delete one of profiles you may try this scenario:
1. Read users details with BAPI_USER_GET_DETAIL.You will have table PROFILES with all profiles for particular user.
2. Delete from this table particular profile.
3. Use FM BAPI_USER_PROFILES_ASSIGN with user name and table of profiles.
It must be work.
Also refer this:
‎2009 Aug 17 9:50 AM
Hi All,
Sorry for the wrong subject.
I found the solution for this problem.
Thanks for your replies.
‎2009 Jul 24 9:49 AM