cancel
Showing results for 
Search instead for 
Did you mean: 

Attempting to update CUA Role Group using FM BAPI_USER_CHANGE

gary_king2
Participant
0 Kudos
159

Does anyone know if there's any special way of updating, deleting or inserting Role groups into the CUA/SU01 details for a user. I'm using the FM BAPI_USER_CHANGE to do this and seem to have all the details completed and although it reports success it does not make any change if I replace one role group with another, for example.

Ideally I would like to just debug the SU01 transactions having just changed the Role group in the Groups Tab, but I don't have the authorisation required to do this, so Stabbing away in the dark.

Can anyone be of help?.

Gary King

Accepted Solutions (1)

Accepted Solutions (1)

sudheer-tammana
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

After calling the FM BAPI_USER_CHANGE check if you are using the function module 'BAPI_TRANSACTION_COMMIT' to commit the work.

BAPIs need an additional commit to save the data.

Regards,

Sudheer.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Gary,

Try any of these..

RH_USERGROUP_RELATIONS_CHANGE

RSEC_ASSIGN_AUTHS_TO_USERS

RSOD_CHANGE_USER_SETTINGS

SUSR_USER_PROFS_PROFILES_PUT

SUSR_USER_ASSIGNMENTS_AUTH

BAPI_USER_PROFILES_ASSIGN

SUSR_BAPI_USER_PROFILES_ASSIG

SUSR_BAPI_USER_PROFILES_DELET

BAPI_USER_APPLICATION_OBJ_ADD

BAPI_USER_APPLICATION_OBJ_DEL

BAPI_USER_APPLICATION_OBJ_PUT

SUSR_USER_APPL_OBJ_MAINTAIN

Best Regards,

Pratik Patel

<b>Reward with Points!</b>

gary_king2
Participant
0 Kudos

I did have this is but it seems to have been remarked by mistake when I block remarked some code.

Thanks for mentioning this as it forced me to re-check the code.

Regards

Gary King