‎2010 Aug 07 3:29 AM
Hi, is there a bapi to change the user groups?
For the roles and profiles I use BAPI_USER_ACTGROUPS_ASSIGN and BAPI_USER_PROFILES_ASSIGN
but I can't seem to find a bapi to assign groups...
Thanks in advance ,
grtz Dragovian
‎2010 Aug 07 5:47 AM
HI,
Use FM BAPI_USER_CHANGE in the Import Parameters GROUPSX = X For More info go through the FM documentation
CHeerz
Ram
‎2010 Aug 07 5:47 AM
HI,
Use FM BAPI_USER_CHANGE in the Import Parameters GROUPSX = X For More info go through the FM documentation
CHeerz
Ram
‎2010 Aug 09 7:35 PM
‎2014 Apr 24 1:47 PM
But when trying to add User to Group using BAPI_USER_CHANGE in the Import Parameters GROUPSX = X
I'm getting following error :
com.sap.conn.jco.JCoRuntimeException: (127) JCO_ERROR_FIELD_NOT_FOUND : Field GROUPS not a member of INPUT
BAPI_USER_CHANGE function work correctly for other parameters such as ADDRESSX, DEFAULTSX, PASSWORDX, LOGONDATAX, ALIASX
But in case GROUPSX I am getting above error.
Also I could able to add all above attributes including GROUPSX to user using sap logon. so it should be possible from BAPI as well.
Could you please provide your input.