on 01-21-2013 9:10 AM
Hello,
I need the below queries to be executed from query Builder
Thanks for your help in advance
Regards,
Laxminarayana
Hi Laxmi,
For
refer here http://scn.sap.com/thread/3295709
select SI_ID,SI_NAME,SI_ADM_PRINCIPAL_RIGHTS from ci_infoobjects where si_kind='Folder' and SI_ANCESTOR=23
This list all the folders and its child folders along with their rights on them for each User role
Regrds,
Mani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Laxmi,
Check out this doc: http://scn.sap.com/docs/DOC-35404
I had used this script a long time back and it worked for me. Check if meets your requirement.
Regards
Animesh
Hi Laxminarayana,
You can use the below query in Query Builder to find out the members of a group-
select si_id, si_name from ci_systemobjects where si_kind = 'Usergroup'
2. Use the below query to get the list of users which are the member of the related group
select si_name from ci_infoobjects,ci_appobjects,ci_systemobjects where(Descendants("si_relation_children_members_property='si_ent_group_members' or si_relation_children_groups_property='si_ent_group_members'", "si_id IN(1)")and not si_parentid in(49))
For the other two requirements, you can use Security Queries in CMC (CMC > Query Results > Security Query)
Regards,
Rahul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your reply Rahul, I have tried all the above options, but I need a query which can get me the list of all users and their groups in single table( I will put that in Excel). Also for the other two requirements I am looking for a query so that I can refresh it on a daily basis. can I export the security query results to Excel. I see an option in the Query tool, but its always grayed out though I am an administrator user.
-Laxmi
Hi Laxmi,
This is not quite possible to fetch all the users and their group membership from Query Builder. You'll have to create your custom code for that.
You can try this macro for that - http://www.forumtopics.com/busobj/viewtopic.php?t=89434
For your ability to export the security query results, I believe it has something to do with licensing. I'll check and that and let you know.
Regards,
Rahul
Hi,
I am new to the world of SDK. I need to write JAVA code to display users associated with a particular group. I have the query builder query with me to get this information. But I am planning to write SDK so that I can build a form and extract the outcome in excel. Can anyone tell me how to get started with SDK?
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
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.