Skip to Content
0

How to add a my team query in owl screen in UI designer with cloud application studio?

Feb 15, 2017 at 10:24 AM

190

avatar image

Hi Expert,

I have a business requirement in which there need to be add a my team query in owl screen for the cloud application studio .

If any one has implemented this scenario kindly tell how to proceed further or have any documentation ,please share.

Thanks,

Abhishek Raj

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Gaurav Prasad Feb 15, 2017 at 06:04 PM
0

Hi Abhishek ,

You can create custom query in the OWL screen for the cloud application studio .

Hope this helps : https://archive.sap.com/discussions/thread/3749466

Thanks

Gaurav

Show 4 Share
10 |10000 characters needed characters left characters exceeded

Hi Gaurav,

Thanks for your reply ,I am not looking for this.

Actually if you take an example of any standard owl screen like opportunity ,quotes you will find one query as My team quote,My team opportunity etc so in my custom owl screen i have created three query My ,All and team.

So My and All is working fine but i want to know what logic should be written in the reusable library for the team query ,so that when we select the team it will show only those record of the employee who are in the team of the user logged in.

Hope you are able to understand it,

Thanks,

Abhishek

0

Hi Abhishek,

you may try to create a reuse library script which returns the logged in user ID from the standard object context.

You have to enable the script for usage on the UI. In the UI you can create an FieldTransformation which uses the script created. Then you could in an eventhandler select the User via an BOOperation and assign the group id to a data field. Now you should be able to compare the group id in an DefaultSet with the group id in the datafield.

Kind Regards,

Johannes

0

Hi Johannes,

Thanks for the reply.

Could you please provide me the steps for this, I have done till the transformation part but not able to understand after that.

If you have any documentation for that ,please share.

Thanks in advance.

Regards,

Abhishek

0

Hi Abhishek,

i would provide you with more informations but i dont know where the team informations are stored in an employee.

I just tried to do some stuff about this but without the info i cant really do something. But I just realised you could also create a FieldTransformation for the TeamID (or sth). Then with a SADL query you can compare the ID to a field in your custom BO. Everything I'm thinking about does not want to succeed so im also srewed up here.

Kind Regards,

Johannes

0