How to Enable the Enterprise Search and reference to Custom Business Objects in Feeds
Hi All,
The aim of this document is to understand how to enable Enterprise Search and Reference to custom Business Objects in Feed functionality within Cloud for Customer .
After looking at section Enterprise Search and Feeds of the blog http://scn.sap.com/docs/DOC-28967 by Thomas Schneider I understood the concept. Thanks again for this wonderful Blog.
Goal:
To be able to search for the Custom Object within the Enterprise Search Option( The Icon below the Home Icon).
To refer to the custom business object by using @
Here I started typing F00 which is the ID of my object and it proposed the object along with its description as well.
Here I started typing “Testing Feed” which is the Description of my object and it proposed the object.
Procedure:
I am taking a very simple BO with below BODL for the Demo Purpose.
businessobject TestFeed {
[Label("Feed ID")] [AlternativeKey] element FID: ID;
[Label("Feed Description")] element FDesc: LANGUAGEINDEPENDENT_SHORT_Description;
[Label("Last Changed")] element FDate: Date;
[Label("Feed Haha")] element FMedium: LANGUAGEINDEPENDENT_MEDIUM_Description;
}
Once the BO is Saved and Activated, create screens using Thing Type as the option, then right click on BO and use Create Query.
This should be done on root node of the BO as other nodes does not have Include in Enterprise Search enabled.
In my example even if I do not have an alternative Key SAP_UUID would be there for Key Field selection.
Query Fields Tab:
Query Parameter Tab:
And then finish the wizard, activate the BO.
Now do the adjustments required for your TI, QC QV etc as suggested by Thomas in the blog and create an entry so that you can refer it later.
Go to Feed workcenter and start typing in the ID or the Description of your BO and you should be able to refer to the entry you created.
You can come back to the OWL of your BO and open it to see that the Feeds you posted in the Feed workcenter appear over here in Overview and Feeds Tab.
Result:
Feed Tab:
TI Feeds Tab:
As of now I get this beautiful popup asking me to contact the key user
That’s all from my end. If you by chance know how to enable this button do post it.
Hope this blog helps you with enabling Enterprise Search and Referring to custom objects( using @ ) with in Feed Tab.
Regards
Vinod
Great blog. Thanks
Nice Blog vinod...Keep Going..
Here are a few extra steps you need to do to enable enterprise search. Once you create/activate the Query, you will need to also "link" the enterprise search results with a Work Center View. Open the Work Center View of the custom BO, and at the bottom you will find RBAM data...
Add the custom BO
Hi Rei,
Thanks for the complementing the blog with your comment.
Regards
Vinod
Great info !
I hope you will shed some light on Enterprise Search secrets with standard SAP BOs also in a future blog posting. I'm struggling with the Account BO (posted in the forum just now).
Thanks for the info again.
Hi Vinod,
Thanks for a wonderful information. But Can you please share how we can automatically get the FEED when the instance of your custom BO gets created in feeds tab?
Regards,
Dhruvin
Hi Dhruvin,
Me and Vlad Laurentiu were trying to find a solution a while ago but left in between as we could not find any concrete solution. Nevertheless you can take the help of this blog here How to make Feeds work in a custom TI to start with. Hope this helps.
Regards
Vinod
yes vinod.. i already tried that! but no success! 🙁