2007 Sep 12 2:23 PM
Hi Gurus,
I want to compare two users (UNAME) in the table AGR_USERS by roles (AGR_NAME). Let's say User1 has roles A, B, C, D and User2 has role A, F, G. I want the output shows the discrepancy of the roles between users as such
User1 User2
F B
G C
D
Any help would be greatly appreciated.
Hi Gurus,
I want to compare two users (UNAME) in the table AGR_USERS by roles (AGR_NAME). Let's say User1 has roles A, B, C, D and User2 has role A, F, G. I want the output shows the discrepancy of the roles between users as such
User1 User2
F B
G C
D
Any help would be greatly appreciated.
2007 Sep 12 2:25 PM
2007 Sep 12 2:26 PM
HI,
You can use the below function module to get the User roles
ALM_ME_GET_USER_BY_ROLES
then write the code for your requirment
Regards
Sudheer
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |