on 10-08-2012 3:05 PM
Hi Experts,
We have a new requirement. We want to check if a particular ABAP role is assigned to a user ID in backend and if it so then we have to chnage the user type from Dialog to Communication. But for implementing this, I think we first need to get all Roles assigned in BackEnd System. Can anyone guide me on this?
Praman,
Have you done the initial load from the back end system. That grabs the roles. Then you can do the searching.
Matt
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Matt,
Thanks for Replying, I want to get all the roles assigned to an Employee in the Backend, which I was able to do by fetching the entries from AGR_USERS Table.
Now after having got the Empno and Roles assigned to it, I am not able to check if a particular role is assigned to the empno or not. If a particular role is assigned to the employee I have to change the UserType to Communication.
For Example:-
Role name that should be assigned to a user in Backend system : Z:ADMIN
If the above role is assigned, then I have to change the usertype to communication user.
Now I am able to get the follwing details in IDM
EMPNO, ROLES(In BackEnd)
Task which Im not able to do :
Check if the role assigned is Z:ADMIN and then change the usertype to Communication.
Thanks in Advance
Hi,
If understand your requirement correctly,
You are going in a right way, first you goto the tcode suim and give the particular role in user complex selection criteria and extract the user list who having that role.
After that we need to change the users as communication, for that 1) we can use su10 for mass change or 2) we can use LSMW to change in a single attempt.
Hope this help and let me know if you have queries.
You are absolutely right in doing it through Backend. But this has to be done through IDM so that we can run the Job at a regular interval say 1 hour. If we do it through backend(using T Codes) it will be time consuming. Kindly specify a method to be done through IDM.
Below is my Requirement and Status.
For Example:-
Role name that should be assigned to a user in Backend system : Z:ADMIN
If the above role is assigned, then I have to change the usertype to communication user.
Now I am able to get the follwing details in IDM
EMPNO, ROLES(In BackEnd)
Task which Im not able to do :
Check if the role assigned is Z:ADMIN and then change the usertype to Communication.
Thanks in Advance
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.