I created an LSMW recording using t-code su10 to update user master records from Central User Administration (CUA). Specifically, adding roles to users in a child system. "Batch input Recording" is the method selected in this recording. There are only 3 fields to work with , the userid, system id and the role name. The objective is to add the designated role to a user in a child system. The recording saves the system id but never saves the role. There are no error messages but still the role is never added to the user master record.
Any ideas, what can be causing this problem?
I just want to mention this. When the transaction is in recording mode the system displays a cua message confirming that the system was added to the record. After I acknowledge the message by hitting the "ENTER" key the recording ends automatically.
If the tcode is run manually, after closing the pop up message window the main screen is redisplayed. At this point I have to click on the "SAVE" icon to save the added roles also.
Hello Jose,
First question is this thing working fine when you are trying to do so through SU01/Su10. If it is not then there is an authorization issue. Check for your authorizations and the authroization of user specified in the RFC destinations of child systems. Check for the activity 22 in authroization object s_user_agr.Also check if the user in RFC destination is not locked or has incorrect password.
If however it goes through well with Su01 then most likely it should be happening because roles are getting locked in child systems. Just check in transaction SCUL if there are any entries for the user to which you done role assignment. Try processing these errors.Once they get successfully processed role assignment will also take place successfully. I think this is going to be most likely scenario becasue roles will get locked in case of mass assignment.
Please award points for useful answers.
Regards.
ruchit.
Message was edited by: Ruchit Khushu
Add a comment