Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Required FM

Former Member
0 Likes
764

Hi all,

Can any one suggest me any function module to delete user from usergroup.OR any BAPI.

Hi all,

Can any one suggest me any function module to delete user from usergroup.OR any BAPI.

6 REPLIES 6
Read only

Former Member
0 Likes
731

Try BAPI_USER_DELETE

Read only

Former Member
0 Likes
731

BAPI_USER_PROFILES_DELETE

BAPI_USER_LOCACTGROUPS_DELETE

Read only

0 Likes
731

Can this BAPI delete perticular user from usergroup ???

BAPI_USER_PROFILES_DELETE

BAPI_USER_LOCACTGROUPS_DELETE

Read only

Former Member
0 Likes
731

BAPI_USER_PROFILES_DELETE

This method deletes all of the profile assignments of the user

USERNAME

Read only

Former Member
0 Likes
731

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

Read only

0 Likes
731

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.