SU01 batch program and role contention results in missing role assignment
We have some SU01 batch programs which do a "call transaction SU01..." to automatically create a userid, assign some roles, and then save the userid. We've noticed when the programs are being run simultaneously for two different userids and the userids are getting the same role assignment, a contention issue arises - userid A gets the role and profile assignment whereas userid B gets the profile assignment but not the role assignment. Has anyone seen this issue before, and if so do you know of a solution?
We're on R/3 4.7.