2008 Jan 31 10:06 AM
Hi all,
Can any one suggest me any function module to delete user from usergroup.OR any BAPI.
2008 Jan 31 10:11 AM
2008 Jan 31 10:12 AM
2008 Jan 31 10:18 AM
Can this BAPI delete perticular user from usergroup ???
BAPI_USER_PROFILES_DELETE
BAPI_USER_LOCACTGROUPS_DELETE
2008 Jan 31 10:23 AM
BAPI_USER_PROFILES_DELETE
This method deletes all of the profile assignments of the user
USERNAME
2008 Jan 31 10:27 AM
Hi Siddhesh,
Use FM BAPI_USER_CHANGE.
Refer to FM documentation for exact use of the FM.
You want to change a user's user group 'SAMPLE' from 'SUPER' to 'TESTER'.
username = 'MUSTER'.
logondata-class = 'TESTER'.
logondatax-class = 'X'.
call function 'BAPI_USER_CHANGE'
exporting
username = username
LOGONDATA = logondata
LOGONDATAX = logondatax
tables
return = return .
Cheers!!
Lokesh
2008 Jan 31 10:31 AM
Hello Lokesh thanks for your help.
But i dont want to change the group, i want to delete the user from group. like you delete user from SQ03 from perticular group.