cancel
Showing results for 
Search instead for 
Did you mean: 

Fiori elements : App to App navigation using Semantic Object, Action and Parameter

former_member182874
Active Contributor
0 Kudos

Hi All,

I have created Custom List report application and I am trying to navigate to "Worklist template based report" using @DataFieldForIntentBasedNavigation in my CDS , which in turn enables quick link in my app..

I am able to navigate to Worklist app which shows the entire report.

Issue : While navigating if i click on particular userid, the value is passed as key field in the navigation url, but the data is not filtered out, so i get the entire report..

So the url formation is , fioriurl/semanticObject-Action?basicSearch=&semanticObject=1&UserID=XYZ&sap-xapp-state=AS7QFC0U3ULZC54CILDHTSM6MV2AMNM4LINZK3LJ

Can anyone help on how to pass the parameter ? So that I can open my Worklist report with filter on Userid ...Or i need to pass these parameters in my target mapping of 2nd app in launchpad designer.

Thanks !

PS : I have already gone through below documents for navigation, but none talks about how to pass parameter in URL. I understand parameters can be passed in target mapping of Tile configuration, but do we have any supporting documents on the same ?

https://www.youtube.com/watch?v=muQoy213qes

lConfiguring ext navigation

jocelyn.dart jamie.cawley prasita.prabhakaran Hope you can contribute to this discussion 🙂

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member182874
Active Contributor

This requirement was achieved using Consumption.semanticObject: 'SemanticObject' and proper association. I also changed a bit of my design by changing my target from Worklist to List report template, since worklist template doesn't have selection fields.

Thanks all.

Jocelyn_Dart
Product and Topic Expert
Product and Topic Expert
0 Kudos

Well done! Please blog it Tejas. Although there is documentation on all these points having a use case and story that brings it together would be very helpful for others. Let me know if you do and I will include it in the Fiori elements wiki. https://wiki.scn.sap.com/wiki/display/Fiori/Fiori+elements

I think I will, but once I have time 😞

former_member182874
Active Contributor
0 Kudos

I am also following this blog : will update if i get any success.

https://blogs.sap.com/2018/01/18/sap-s4hana-ux-custom-list-report-fiori-functionalities-part-2-outbo...

Update : I followed the blog, and found that author has achieved the functionality using custom code in controller and views and manifest. Though it can be achieved using cds annotations and target mapping. Still searching for best solution.

jamie_cawley
Advisor
Advisor
0 Kudos

Try adding the parameters as an intent parameter on the tile. Make sure it matches exactly the field in the entity set. It could also be that the necessary code in not in the app. Lots of relevant info detailed at

https://wiki.scn.sap.com/wiki/display/Fiori/Fiori+elements

Regards,

Jamie

former_member182874
Active Contributor
0 Kudos

Hi Jamie,

I did add the parameters in my target mapping. The Key field in both my CDS 1 and navigating_to_CDS is same, UserID. This parameter is added in my target mapping of the target application. The app is called by it's Semantic object from my abap cds using consumption.semanticObject annotation.

I also followed standard Fiori app and I am able to navigate to Object page etc. The issue comes when i want to navigate to "Worklist" template.

Regards,
Tejas