cancel
Showing results for 
Search instead for 
Did you mean: 

Query builder favorite reports by user group

christian_key2
Participant
0 Kudos

Hi experts,

I am struggling to build a Query Builder query for LCM_CLI that will allow me to export favourite folders and the reports in the favourite folders for a specified user group. My query is:

SELECT TOP 10000 static, relationships, SI_PARENT_FOLDER_CUID, SI_OWNER, SI_PATH FROM CI_INFOOBJECTS,CI_APPOBJECTS,CI_SYSTEMOBJECTS WHERE CHILDREN("SI_NAME='User-Favorites'","DESCENDENTS('SI_NAME="UserGroup-User"','SI_NAME="<User Group Name>"')")

Can anyone help me please?

Alternatively what is the best way to export favourite folders and the reports in the favourite folders for a specific group of users?

Thanks,

Chris

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member182521
Active Contributor
0 Kudos

refer my blog here to understand the relationships https://blogs.sap.com/2013/06/10/businessobjects-query-builder-queries-part-iv/

former_member182521
Active Contributor
0 Kudos

Hello Chris,

You cannot achieve the relationship in a single query. You need to go for a SDK code. Because Usergroup-User relationship and User-Favorites relationship are maintained separately and you cannot capture the relationship between all three in a single query.

Thanks

Mani

Joe_Peters
Active Contributor
former_member182521
Active Contributor
0 Kudos

Thanks Joe. I never tried this way. Thanks for sharing again.